✖ Current directory is not a git directory!

Description
✖ Current directory is not a git directory!

// lint-staged/lib/execGit.js
// run
await execa('git', arr, {
      ...options,
      all: true,
      cwd: options.cwd || process.cwd(),
    })
// log
{
  command: 'git -c submodule.recurse=false rev-parse --show-prefix',
  escapedCommand: 'git -c "submodule.recurse=false" rev-parse --show-prefix',
  exitCode: 0,
  stdout: '/Users/ray/Work/Workspace/hl-app',
  stderr: '/Users/ray/Work/Workspace/hl-app',
  all: '/Users/ray/Work/Workspace/hl-app',
  failed: false,
  timedOut: false,
  isCanceled: false,
  killed: false
}

this stdout result caused the error ,if stdout is an empt string, it works !  amazing!!!!
if i run the cmd git -c submodule.recurse=false rev-parse --show-prefix in bash   it return empty
git -c submodule.recurse=false rev-parse --show-prefix
# return empty line;

Environment

OS: macos 12 / win10
Node.js: 16.13.0
lint-staged: 12.3.5

Hello,
what is the error here; sorry I'm not sure I follow...

@iiroj

Are you saying in your case, the return value of execGit going to gitRel here is an empty newline, instead of empty string:
https://github.com/okonet/lint-staged/blob/fa15d686deb90b7ffddfbcf644d56ed05fcd8a38/lib/resolveGitRepo.js#L58
What is your git version? Maybe updating it can help.
In any case, we're not using child_process directly but rather via execa, which should handle trailing newlines together with execGit. If it's not so, it sounds like a bug.

Can you try if some sanitizing can be added here:
https://github.com/okonet/lint-staged/blob/fa15d686deb90b7ffddfbcf644d56ed05fcd8a38/lib/execGit.js#L23

i have this same question.
it will show when npm run lint-staged in windows
Environment
OS:  win10
Node.js: 16.14.2
lint-staged: 10.5.4

My team (@cosnear and I) have encountered a similar issue as described in this thread. We're running WSL2 with Ubuntu 20.04 and we're unable to use lint-staged without commenting out the all: true line in execGit.js.
Here's the line we had to comment out for reference:
export const execGit = async (cmd, options = {}) => {
  debugLog('Running git command', cmd)
  try {
    const { stdout } = await execa('git', GIT_GLOBAL_OPTIONS.concat(cmd), {
      ...options,
      // all: true,
      cwd: options.cwd || process.cwd(),
      stdin: 'ignore',
    })
    return stdout
  } catch ({ all }) {
    throw new Error(all)
  }
}

This seems to be a temporary fix for the issue, but it would be great to have a more permanent solution. We noticed that this issue has been open since 2022 and wanted to bring to your attention that it's still affecting users.
Looking forward to a resolution. Thanks for your hard work on this project!
Below is more detailed info about our case.
Environment
OS: WSL2 Ubuntu 20.04 in Windows 11
Node.js: v21.6.0
git: 2.25.1
lint-staged: 15.2.2
Log
lint-staged:bin Running<EMAIL_ADDRESS>on Node.js v21.6.0 (linux) +0ms
  lint-staged:bin Options parsed from command-line: {
  allowEmpty: false,
  concurrent: true,
  configPath: undefined,
  cwd: undefined,
  debug: true,
  diff: undefined,
  diffFilter: undefined,
  maxArgLength: undefined,
  quiet: false,
  relative: false,
  shell: false,
  stash: true,
  hidePartiallyStaged: true,
  verbose: false
} +0ms
  lint-staged:validateOptions Validating options... +0ms
  lint-staged:validateOptions Validated options! +0ms
  lint-staged Unset GIT_LITERAL_PATHSPECS (was `undefined`) +0ms
  lint-staged:runAll Running all linter scripts... +0ms
  lint-staged:runAll Using working directory `/home/cosnear/dev/dfm/DFM-Device-Streaming/ui` +0ms
  lint-staged:resolveGitRepo Resolving git repo from `/home/cosnear/dev/dfm/DFM-Device-Streaming/ui` +0ms
  lint-staged:resolveGitRepo Unset GIT_DIR (was `undefined`) +0ms
  lint-staged:resolveGitRepo Unset GIT_WORK_TREE (was `undefined`) +0ms
  lint-staged:execGit Running git command [ 'rev-parse', '--show-prefix' ] +0ms
  lint-staged:resolveGitRepo Failed to resolve git repo with error: [ENOENT: No such file or directory] {
  code: 'ENOENT',
  syscall: 'lstat',
  errno: -2
} +9ms
✖ Current directory is not a git directory!
error: "lint-staged" exited with code 1
husky - pre-commit script failed (code 1)

Simplified mono repo structure
.
├── .git
├── server/
└── ui/
    ├── package.json
    └── .husky

lint-staged config in package.json
  "lint-staged": {
    "src/**/*.{tsx,ts,css}": [
      "eslint --cache --fix",
      "prettier --write"
    ],
    ".storybook/**/*.{tsx,ts}": [
      "eslint --cache --fix",
      "prettier --write"
    ],
    "src/**/*.json": "prettier --write",
    "../server/**/*.go": [
      "gofmt -s -w"
    ]
  },


iBooks will not tile

As the title says, Books.app will not tile when opening a book. Even restarting after the book is open does not tile the window.

This has been an issue with chunkwm and kwm as well.
A workaround is to toggle native-fullscreen twice on the book window and then tile it. You need to do this manually currently as the window cannot be interacted with during the custom animation.

This has been an issue with chunkwm and kwm as well.
A workaround is to toggle native-fullscreen twice on the book window and then tile it. You need to do this manually currently as the window cannot be interacted with during the custom animation.

Gave this a try but unfortunately it does not work anymore.

This has been an issue with chunkwm and kwm as well.
A workaround is to toggle native-fullscreen twice on the book window and then tile it. You need to do this manually currently as the window cannot be interacted with during the custom animation.

Gave this a try but unfortunately it does not work.

So something that works is putting the library screen in full screen and opening the book. It then tiles whatever book was opened.

In the latest version everything seems to work fine, except that the book is marked as a floating window when opened. This is likely due to the fact that it responds as non-resizable/movable or something for a short moment in time. You can manually unfloat the window and it will tile properly.

For those curious about how to do this, you can add these lines to your .skhdrc (assuming you have that configured properly) and press the keys when you're focused window is Books (or whatever non-behaving window is)
# toggle tiled mode (used to force Applications (Books, etc) into tiled mode)
alt + cmd + ctrl - f : yabai -m window --toggle float

Anyone got Books to tile in Monterey 12.0.1? It seems that I can't get it to tile anymore

Closing this. Both the main window and books work for me using yabai v4.0.2 and macOS Monterey 12.5.1


⚠ Jenkins Plugins Artifactory has degraded performance

In ee77904, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1218 ms

Resolved: Jenkins Plugins Artifactory performance has improved in a85da3c after 12 minutes.


determine why appackager doesn't work with pipenv 2023.12.1

Setting editable to false in the lock file doesn't seem to have any effect.  Investigation needed.

The most recent "good" version of pipenv is version 2023.7.23; the problem is introduced in version 2023.8.19.
This is a known issue in pipenv: https://github.com/pypa/pipenv/issues/6054
One approach to working around this is to examine the constructed venv to identify any editable installs, remove them, and re-install using the pip from the venv without the editable flag.

Im currently using version 2023.10.24.  However, I'm also not using appackager at the moment, but this is good info to have.

Im currently using version 2023.10.24. However, I'm also not using appackager at the moment, but this is good info to have.

If you're only using pipenv to build locally so you'll be using a copy of your application sources anyway, there's not a problem.  It's only when you're using an appackager-constructed .deb that you care about this (or any other tool that expects non-editable installs).


Error while calling code review

Hi, I'm currently trying to set up local run for PR-Agent, but unfortunately after I installed pr_agent library and copied example from here, every time i try to run the script, I get the following error stack:
Traceback (most recent call last):
  File "/app/pr_agent/cli.py", line 83, in <module>
    run()
  File "/app/pr_agent/cli.py", line 77, in run
    result = asyncio.run(PRAgent().handle_request(args.pr_url, [command] + args.rest))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/asyncio/runners.py", line 194, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/app/pr_agent/agent/pr_agent.py", line 96, in handle_request
    await command2class[action](pr_url, ai_handler=self.ai_handler, args=args).run()
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/pr_agent/tools/pr_reviewer.py", line 44, in __init__
    self.git_provider.get_languages(), self.git_provider.get_files()
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/pr_agent/git_providers/github_provider.py", line 538, in get_languages
    languages = self._get_repo().get_languages()
                ^^^^^^^^^^^^^^^^
  File "/app/pr_agent/git_providers/github_provider.py", line 690, in _get_repo
    self.repo_obj = self.github_client.get_repo(self.repo)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/github/MainClass.py", line 356, in get_repo
    assert isinstance(full_name_or_id, (str, int)), full_name_or_id
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: None

I tried re-creating GitHub token several times with different permissions (including full access to repositories), but it didn't help. Also when I tried running PR-Agent from docker image locally, acorrdingly to the same guide, I got exactly same stack trace.
Any help appreciated, thanks.

my guess is that the pr_url you are giving is wrong
You need to share significantly more details. try first on a public pr. if it fails, share the entire command you ran
pr_url should be in the form of: #1145

you was right, there was an issue in PR link, ty


Game crashes after placing the Charter Stone

The Crash Log is https://pastebin.com/gKSJ0Jpv
The Game will crash trying to render the Charter Stone

And waystone

And maybe a correct geckolib version can fix the problem, as some methods' name is different


[API/Settings] Remote control to edit a profile

Inside a studio where hosts may move at different places, is there any possibility to easily change the shot associated to a mic source without having to edit a profile?
It may be interesting to control this kind of assignations, so it can be controlled by remote devices like Companion or custom Raspberry Pi devices.

Hello ! 👋
In the next release, some controls will be added through OSC :

power on/off
set/edit a profile config
change profile

On the other hand changing the shots associated with a mic is not planned for now, sorry 😢


Fails to build in nodejs environment

Hi! I'm trying to use this library with firebase functions (node 12 environment), but I'm getting a build error from tsc.
It's a newly create firebase functions project (so fairly standard settings). This is my tsconfig file:
{
  "compilerOptions": {
    "module": "commonjs",
    "noImplicitReturns": true,
    "noUnusedLocals": true,
    "outDir": "lib",
    "sourceMap": true,
    "strict": true,
    "target": "es2017",
    "typeRoots": ["node_modules/@types"]
  },
  "compileOnSave": true,
  "include": [
    "src"
  ]
}

This is the output:

node_modules/@master-chief/alpaca/@types/stream.d.ts:1:23 - error TS2688: Cannot find type definition file for 'ws'.

1 /// <reference types="ws" />
                        ~~

node_modules/@master-chief/alpaca/@types/stream.d.ts:2:8 - error TS1259: Module '"/Users/fredrik/github/garagefunds/functions/node_modules/isomorphic-ws/index"' can only be default-imported using the 'esModuleInterop' flag

2 import WebSocket from 'isomorphic-ws';
         ~~~~~~~~~

  node_modules/isomorphic-ws/index.d.ts:8:1
    8 export = WebSocket
      ~~~~~~~~~~~~~~~~~~
    This module is declared with using 'export =', and can only be used with a default import when using the 'esModuleInterop' flag.

node_modules/@master-chief/alpaca/@types/stream.d.ts:3:8 - error TS1259: Module '"/Users/fredrik/github/garagefunds/functions/node_modules/eventemitter3/index"' can only be default-imported using the 'esModuleInterop' flag

3 import EventEmitter from 'eventemitter3';
         ~~~~~~~~~~~~

  node_modules/eventemitter3/index.d.ts:134:1
    134 export = EventEmitter;
        ~~~~~~~~~~~~~~~~~~~~~~
    This module is declared with using 'export =', and can only be used with a default import when using the 'esModuleInterop' flag.

node_modules/isomorphic-ws/index.d.ts:6:28 - error TS7016: Could not find a declaration file for module 'ws'. '/Users/fredrik/github/garagefunds/functions/node_modules/ws/index.js' implicitly has an 'any' type.
  Try `npm install @types/ws` if it exists or add a new declaration (.d.ts) file containing `declare module 'ws';`

6 import WebSocket = require('ws')
                             ~~~~

Found 4 errors.

Any idea what this might be about?

Why don't you try node14, it is supported in firebase.
On Mon, 15 Mar 2021, 15:25 Fredrik Norén, @.***> wrote:

Hi! I'm trying to use this library with firebase functions (node 12
environment), but I'm getting a build error from tsc.
It's a newly create firebase functions project (so fairly standard
settings). This is my tsconfig file:
{
"compilerOptions": {
"module": "commonjs",
"noImplicitReturns": true,
"noUnusedLocals": true,
"outDir": "lib",
"sourceMap": true,
"strict": true,
"target": "es2017",
"typeRoots": @.***"]
},
"compileOnSave": true,
"include": [
"src"
]
}
This is the output:
@.@./stream.d.ts:1:23 - error TS2688: Cannot find type definition file for 'ws'.
1 ///
~~
@.@./stream.d.ts:2:8 - error TS1259: Module '"/Users/fredrik/github/garagefunds/functions/node_modules/isomorphic-ws/index"' can only be default-imported using the 'esModuleInterop' flag
2 import WebSocket from 'isomorphic-ws';
~~~~~~~~~
node_modules/isomorphic-ws/index.d.ts:8:1
8 export = WebSocket
~~~~~~~~~~~~~~~~~~
This module is declared with using 'export =', and can only be used with a default import when using the 'esModuleInterop' flag.
@.@./stream.d.ts:3:8 - error TS1259: Module '"/Users/fredrik/github/garagefunds/functions/node_modules/eventemitter3/index"' can only be default-imported using the 'esModuleInterop' flag
3 import EventEmitter from 'eventemitter3';
~~~~~~~~~~~~
node_modules/eventemitter3/index.d.ts:134:1
134 export = EventEmitter;
~~~~~~~~~~~~~~~~~~~~~~
This module is declared with using 'export =', and can only be used with a default import when using the 'esModuleInterop' flag.
node_modules/isomorphic-ws/index.d.ts:6:28 - error TS7016: Could not find a declaration file for module 'ws'. '/Users/fredrik/github/garagefunds/functions/node_modules/ws/index.js' implicitly has an 'any' type.
Try npm install @types/ws if it exists or add a new declaration (.d.ts) file containing declare module 'ws';
6 import WebSocket = require('ws')
~~~~
Found 4 errors.
Any idea what this might be about?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/117/alpaca/issues/66, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAI5PLE2VTGG7KRRBCNYQEDTDYRGVANCNFSM4ZGYPDNQ
.

@husayt I just tried changing "engine" in package.json to 14, and I'm also running 15 locally, but still getting the same error as above. This error also happens in the typescript compile step so think it shouldn't matter at that point? (Though could be wrong)

Try removing typeRoots from the compilerOptions.

@117 That gave me a whole lot more errors; it's probably because this project is in a subfolder of another project (that's the default way firebase projects are set up; the "app" as the root project and then the firebase functions in a subfolder of that). I think the typeRoots are there to make sure it's not using the parents typeRoots

@FredrikNoren ok, that narrows the problem . Can you try adding esModuleInterop flag to your ts config?

@husayt Hm yeah when I do that it removes the stream and eventemitter3 error (though some others appear, but they're related to my code and I can probably fix them). But the Cannot find type definition file for 'ws'. remains

Looking into a fix.

Try installing the types for ws? npm i --save @types/ws

@117 I don't think there is something to fix on our side. I have a typescript project which works just fine. It has to be smth with they way project configured.
Here is a sample tsconfig, which works for me:
{
  "compilerOptions": {
    "baseUrl": ".",
    "module": "ESNext",
    "target": "es2016",
    "lib": ["DOM", "ESNext"],
    "strict": true,
    "esModuleInterop": true,
    "incremental": true,
    "skipLibCheck": true,
    "moduleResolution": "node",
    "resolveJsonModule": true,
    "noUnusedLocals": true,
    "strictNullChecks": true,
    "forceConsistentCasingInFileNames": true,
  },
  "exclude": ["node_modules"]
}

@117 Doh, yeah installing ws types solved it! Should have tried it but I just assumed they were already included. Thanks!


Problem with libraries

Hi, im using the defaul installation for a project:
Name: test
Framework: react
Language: TypeScript
CSS: Empty CSS
But i'm having this error while i'm trying to import a component from a private library.
ERROR in<EMAIL_ADDRESS>2:10
Module parse failed: Unexpected token (2:10)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders

"name": "@my-library",
"description": "description",
"version": "1.1.6",

Any idea or webpack configuration to solve the issue?

Something is trying to load the package.json as source and the simple webpack configuration created by create-mf-app doesn't support loading JSON. create-mf-app is not meant to be used as a starting point for production applications. it's a helper to create test applications to check out possible remote/host architectures using Module Federation.

@jherr the starter point from my library is the package.json, wich export the index file (library itself).
Is there a way to workaround this error or create-mf-app is not mean to do this kind of stuff?

I don't understand what "starter point from my library is the package.json" means. The "starter point" for a library is defined using the main key and points to an index.js file (usually) or a src/index.js. It sounds like you are trying to do some funky stuff and yeah, create-mf-app is not designed for that.

Yeah, the "main" key is defined by the package.json, so i'm assuming that the default file is package.json and it redirects to the 'src/index.js", defined by the "main" key, but the error itself explains that can't handle the package.json file.

No, some code is trying to import the package.json itself. It's possible it has something to do with the name of your package. The format is usually "library-name" or "@org-name/library-name". Not "@library-name" as you have it. You might try something like "@nercecl/my-library".

Yes, the name is @org-name/components, the other name was an example. But with that i may figure it out what went wrong.

Ok. Reading JSON files using import or require is fine, including package.json. But you need to add the JSON loader to the webpack configuration to do that. No Module Federation example that I created loaded JSON, so I didn't add it.
Please be very aware that Module Federation can NOT import JSON, CSS, images, etc. It can ONLY import JavaScript.

Thank you very much, I was exporting a constant with the current version value package.json, so without a json loader it was failing. The error had nothing to do with create-mf-app.


May I ask if it is possible to drive based on a single image

I want to use images to drive images, but I found that there is no effect in the end. Does it not support inputting a single image

I think in Advanced Liveportrait here's a way for you to use an image as a driver, plus nodes to modify the expression further when needed.
You can also use a program like Capcut to turn the images into short videos (basically the same image every frame for a few frames), use the vid to vid method, then extract the resulting picture with something like VLC ("video" pulldown then "take snapshot". But Advanced Liveportrait might be easier and better since there are nodes to refine the results if needed.

Thank you. I found that the advantage of LivePortraitKJ is that it decouples each module and can perform additional operations in each step. Unfortunately, it can only adapt to videos. Although Advanced Liveportrait can operate on pictures, it is not decoupled, so it is difficult to perform some additional operations.


Working example needed

Greetings!
I'm using your library on an arduino mega with an SD card attached. Receiving a file from the serial port, and writing it to the SD card works just fine. I can transfer and save large files this way.
I can also send a file (based on your example) from memory. That works fine. However, I'm trying to send files larger than memory.
Sending a file from the SD card to the remote computer is my problem. The most I can send is 128 bytes. I'm just not understanding the procedure. I set up a handler, and defined it as follows:
bool download_block(void *blk_id, size_t idSize, byte *send_data, size_t dataSize);
I have a routine that opens the file, and tries to send a block at a time. It (obviously) doesn't work - I won't bother posting it.
Can you provide an working example of sending a file not memory limited?
Kurt

Never mind. No longer an issue for me.

Glad you were able to find a solution


WIP: Splitted it into smaller assemblies and add support for the new SDKs

Added support for the new libraries.
Migrated the queue and subscription purging to the new library.

:x: Build ServiceBusExplorer 4.2.0-PullRequest0381.120.build.591 failed (commit https://github.com/paolosalvatori/ServiceBusExplorer/commit/5d62a1f771 by @ErikMogensen)

:x: Build ServiceBusExplorer 4.2.0-PullRequest0381.121.build.592 failed (commit https://github.com/paolosalvatori/ServiceBusExplorer/commit/32c5844b00 by @ErikMogensen)

Some things not yet fixed:

Build warnings due to dependencies
Copyright
Assembly names
More testing

:white_check_mark: Build ServiceBusExplorer 4.2.0-PullRequest0381.122.build.593 completed (commit https://github.com/paolosalvatori/ServiceBusExplorer/commit/9b786257e1 by @ErikMogensen)

@paolosalvatori ping

Currently, if there's an attempt to do any work, it's under a "freeze" to avoid conflicts that could be as a result of this PR being so different from the develop branch.
@paolosalvatori would it be possible to review this PR and unblock the repo?

:x: Build ServiceBusExplorer 4.2.0-PullRequest0381.126.build.605 failed (commit https://github.com/paolosalvatori/ServiceBusExplorer/commit/1d168afcdd by @ErikMogensen)

:x: Build ServiceBusExplorer 4.2.0-PullRequest0381.128.build.606 failed (commit https://github.com/paolosalvatori/ServiceBusExplorer/commit/39e1a0cef9 by @ErikMogensen)

:x: Build ServiceBusExplorer 4.2.0-PullRequest0381.129.build.607 failed (commit https://github.com/paolosalvatori/ServiceBusExplorer/commit/007f44cbba by @ErikMogensen)

:white_check_mark: Build ServiceBusExplorer 4.2.0-PullRequest0381.130.build.609 completed (commit https://github.com/paolosalvatori/ServiceBusExplorer/commit/021cee3a55 by @ErikMogensen)


TODO: Make code repository link as mandatory in TAVOSS-TR request template.

In the TAVOSS-TR request template, do make  it mandatory to fill  atleast one code repo link from either github /gitlab or public code repo
Please refer to #53 for  "project_repos"  that needs to be populated in the ossp-master.js

Feature is being added.


Mock API Issues

I'm running the mock API to test my custom built case opening site. When sending out /ICaseSite/SendKeyRequest/v1 and then polling the offer with /ICaseSite/GetTradeStatus/v1 It seems to be broken. It switches back and forth between status 2 & 9 over and over infinitely.

https://api-trade.opskins.com/IUser/CreateVCaseUser/v1/?site_url=https://vcase-zjccfeoiqx.now.sh&display_name=vcase
{
"status": 400,
"time":<PHONE_NUMBER>,
"message": "site_url input is required."
}
what am I doing wrong ?


Add JSInterop invocations handlers for , ,  components

Consider adding support for the "head" helper components in the Microsoft.AspNetCore.Components.Web.Extensions package.

As this is currently in preview AND a separate nuget package, it would require bUnit to take a dependency on a "3rd party" package, so for now, I think this should not be part of bUnit.
If the extensions package becomes very commonly used, we can revisit this. It could also be a bUnit.web.extensions package that contains this in future.


Vendor in latest containers/storage and containers/image

Containers/storage brings in support for UserNS ID Mappings
This means we can start experimenting with User NS Support in
podman
Signed-off-by: Daniel J Walsh<EMAIL_ADDRESS>

LGTM pending tests


Add minimal frontend

Add a minimal CLI interface that can be used as an alternative to build.
This clearly isn't complete: I'd like to see whether it's worth doing before I go any further.

I'm still not sure about the -e / --editable. Given we're not actually installing this thing, what value is there is generating them? From PEP-660:

An “editable” wheel uses the wheel format not for distribution but as ephemeral communication between the build system and the front end. This avoids having the build backend install anything directly. This wheel must not be exposed to end users, nor cached, nor distributed.

Should we really be exposing this?

By the way what's your use case for this functionality?


Closes: #1 Updated validations.py python script

Updated validations.py python script.
Fixed the behavior of validate_user function in validations.py.
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

@googlebot I signed it!


Refactor date time with try catch

The alternative for #97

Codecov Report
Base: 73.21% // Head: 74.53% // Increases project coverage by +1.31% :tada:

Coverage data is based on head (c9263ff) compared to base (5ea697a).
Patch coverage: 88.60% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #100      +/-   ##
============================================
+ Coverage     73.21%   74.53%   +1.31%
- Complexity      539      573      +34
============================================
  Files            89       91       +2
  Lines          1643     1759     +116
  Branches        186      213      +27
============================================
+ Hits           1203     1311     +108
- Misses          391      393       +2
- Partials         49       55       +6

Impacted Files
Coverage Δ

...edu/address/logic/commands/event/EventCommand.java
100.00% <ø> (ø)

...address/logic/parser/event/EventCommandParser.java
78.94% <0.00%> (-4.39%)
:arrow_down:

...logic/parser/profile/EditProfileCommandParser.java
92.59% <ø> (ø)

...in/java/seedu/address/logic/parser/ParserUtil.java
89.58% <33.33%> (+0.45%)
:arrow_up:

.../main/java/seedu/address/model/event/DateTime.java
83.56% <83.58%> (-12.81%)
:arrow_down:

...ess/logic/parser/event/EditEventCommandParser.java
92.30% <92.30%> (ø)

...address/logic/commands/event/EditEventCommand.java
96.72% <96.72%> (ø)

...rc/main/java/seedu/address/model/profile/Name.java
71.42% <0.00%> (-8.58%)
:arrow_down:

...main/java/seedu/address/model/profile/Profile.java
95.55% <0.00%> (+0.10%)
:arrow_up:

... and 5 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Remove plan-b support

M96 was released 2021-11-15. All Chrome releases since then have been (largely) without plan-b support.
The SDP used to establish a connection in WebRTC has a non-standard dialect: Plan B. Removal timeline:

M93: Exception thrown in Canary.
M96: Exception thrown in Beta and Stable.

While plan-b removal is a useful data-point I think what's more important is when unified support was added in each browser, since those are the versions that we'll no longer support

@k0nserv AFAIK Safari and Firefox were always unified.

Ah true, so it's only Chromium and various other SFU implementation that are of concern. The fact the Chromium has deprecated plan b should mean that other SFU implementation must support it now


Hey would you mind building a release build for Newest-Windows-10 Pro?

I did try compiling it myself but Visual Studio was having none of it. meson errors -.-
Like the performance is currently really close to Window's native performance in DX11.1,
Also Fullscreen-Exclusive can also break window on minimise,
(My PC doesn't like Windowed-FullScreenMode due to being Exclusive Fullscreen OS, i'm using
__COMPAT_LAYER=DisableDXMaximizedWindowedMode across most the OS)
I would so love to do some more testing if you wouldn't mind & i understand my configuration 100% isn't supported xD
But it would be nice to get a single build with no support on release.
Huge fan of your work,
BF4 looks epic,
You all deserve a pat on the back lol,
Great Job 🥇 :)

Just use release 1.7.2.

If you want to compile it in windows, you can use GIT. I tried and succeeded

The build is patched with https://github.com/Sporif/dxvk-async
dxvk---no-package.tar.gz

The build is patched with https://github.com/Sporif/dxvk-async
dxvk---no-package.tar.gz

Does this patch affect / allow asynchronous shader compilation in Dx9 games such as Guild Wars 2?

Actually, it's very interesting it does work on Windows it self, even tho there's no mention in it and releases come
While I'm not an expert debugger and profiling troubleshooter, so I'm not sure if this is at all helpful in depth, but on the surface DXVK actually has a benefit on Windows that it enables GPU profilers/debuggers which normally don't support a game's GFX API to be able to work on those games. I tried a DX11 game and it worked fine, it didn't crash and things seemed sound, though I mostly had no idea nor experience with most of it so I had no way of knowing how accurate or sensible those profiling results were that would actually be of any use and whether a real devloper could do some actual work with it's help.
Perhap's I'll try this again on that same game and poke around a bit what other's think. Certainly for that game it's not worthwhile, that game is getting a native Vulkan renderer anyway so the devs are rather focused on that, than on jerry-rigging a newer GPU profiler and trying to fix the old renderer.
The benefit may be the modern interface, more tools (filtering, searching), and perhaps some benefit in terms of visualizing the GPU work and timeline, but since it gives false (slower) results because of being another layer ontop then ofcourse everything wouldn't correspond to how it would be without DXVK, however in my case, it surprisingly was kinda even, it did not see a dramatic slowdown, it was pretty much the same, tho not any faster.

Actually, it's very interesting it does work on Windows it self, even tho there's no mention in it and releases come in the non-Windows way of a .tar.gz file.
Oh, BTW, I never built DXVK on Windows, I just used the linux bins. @lowspecchaos should have just tried the existing ones ;)

@altimumdelta
The binaries are your typical dll's and work on windows no matter how you build them.
DXVK is basically the only way to play some games with AMD's drivers on Windows, since it circumvents the drivers overhead,   You  get a fair performance improvement in Witcher 3 and Sekiro for example, not to mention some games have been broken on RDNA since last year and DXVK fixes those,  it even improves GTA4's fps drops somewhat.

Does this patch affect / allow asynchronous shader compilation in Dx9 games such as Guild Wars 2?
@seanmacky Yes

Hi again i've using the default libraries in release for DXVK but i saw them bottom of the DXVK github page says
"For non debian based distros, make sure that your mingw-w64-gcc cross compiler does have --enable-threads=posix enabled during configure. If your distro does ship its mingw-w64-gcc binary with --enable-threads=win32 you might have to recompile locally or open a bug at your distro's bugtracker to ask for it."
& i thought maybe targeting windows rather than linux might fix the issues i'm having with the window crashing on minimize
Currently testing the DXVK-ASync build on Windows, Thank you for all the help :)


Consider making the toggle keybind unbound by default

Will try #76 first and see how that changes things


SSH key not being created

Before submitting your issue, please make sure that you've checked all of the checkboxes below.

[x] You're running the latest release version of Deployer.
[x] Ensure that you're running at least PHP 5.5.9, you can check this by running php -v
[x] You've ran composer install --no-dev from the root of your installation.
[x] You've ran npm install --production from the root of your installation.
[x] You've ran rm -rf bootstrap/cache/* from the root of your installation.
[ ] You have restarted the queue listener and node socket server.

To help us better understand your issue, please answer the following.
Expected behaviour

while creating a project, its not accepting ssh key which is generated for a previous project
in project page, clicking on ssh key, its showing empty key

Actual behaviour

showing error The private key is not a valid passphrase-less key.

empty ssh key

Steps to reproduce
If your issue requires any specific steps to reproduce, please outline them here.
Environment info
Operating System:
PHP Version:
Node Version:
Database System:
Database Version:
Logs (see storage/logs/) or other output that would be helpful
(If logs are large, please upload as attachment).

Investigating now

thanks.... thats quick

Hang on, I've just realised something. How are you using the key created for a previous project? Deployer over ever shows the public key, you have to enter the private key if you want to supply your own. Did you go into the DB and get it?

hi no,
i took it from other project directly by going to that page, click on ssh key and copy the key.

That is a public key, not a private key, you can't use that. You need to generate a private key on your computer and set both projects to use that.

I am fixing situation 2

I have fixed the blank SSH key in master, I will tag a new release later this evening. All you need to do is edit the project and save it

Ok,
thank you

That is a public key, not a private key, you can't use that. You need to generate a private key on your computer and set both projects to use that. The private key is never exposed anywhere as doing so is a big security risk, especially if you aren't on HTTPs.

in that case, how can we make use of this insert ssh key feature for using keys of existing projects.

You could get it directly from the DB, the private_key column in the projects table but I'd recommend you change the for the existing project.
I may see if I can think of a way to share keys between projects in the feature, rather than each having their own copy

updated to latest version still key is not being generated, shall i re-create project?
also in readme, please change version to 0.0.33 instead of 0.0.34 as that tag not yet created.

Glad to hear it fixed it


API usage is ready

@TITAN9389 I pushed a code that serves all API routes with mock data and updated the documentation readme.md
On the repo homepage, please read only the part that starts with: "API usage".
Basically, you can just perform 'npm start' and approach the routes.
Is the documentation detailed enough?
cc @amaliaman

@i0natan Yes its all good thanks.

@i0natan there is the CORS error , not allowing my localhost:3000 , i don't want to change your node code if you can do it later i'm using Chrome extension now to pass it.

@TITAN9389 OK, adding now

@TITAN9389 I added not only CORS but also serving static files from the "UI" folder.
So you can work on a different port, but also try to locate your files within the UI folder, build for production, and try serving from the server port. This would be the real world scenario so I suggest testing it. Kindly pull latest and LMK wether works for you?
Any estimate when you might be able to share a draft?

yes okay Thanks ,i'll see and do the Build files as well , I'll share this later today @i0natan

@i0natan i've connected to web socket ,but i'm getting Null data sometimes is that normal or what ?

@i0natan as i knew the NULL throwing error while rendering the UI , so i catch it now with error so just UI will ignore and just render the data. and the data keeps emitting is it like that in normal ? i mean if i let it open it will still send me data forever 9999...we can have a call tomorrow to explain everything better.

@TITAN9389 Currently there's no real data, it's a mock that throw infinite events, that won't be that way in real-scenario - there won't be more than 10 items. Just ignore it.
Any chance you can share some prtscn, video clip or push code? just want to get a sense of how the UI looks like now

i pushed the code to my Branch , merge it and run npm start from ui folder ( didn't make build yet ).

@i0natan @amaliaman  made some changes in the code (webapp.js) file now just run npm run build from UI folder then just npm start from main folder it will serve the build files.


Link to demo site currently broken

Hi,
The link to the demo site : https://osg.facade-oss.org/ currently gives a 403 Forbidden error.
Any plan to fix it?
Thanks,
Camille

That right there was pure user error when I made a config change on the host. :-)
It's fixed now, thanks for the heads up!


NamedLock executionCall can't work

The code for NamedLock::ExecutionCall doesn't appear to make sense.
In method ExecutionCall we see the following while loop.
 bool locked = false;

    while (!locked) {
      // TODO implement a backoff strategy
      // Exit if the timeout has been exceeded already or if the sleep time is greater than 40% of the timeout
      // TODO subtract sleep from timeout now.subtract(_sleep)
      if (DateTime.now().difference(now) > timeout) {
        // TODO try to clean up the lock here
        // TODO pass in a force option to close & unlink
        // TODO lock..close(force: true)..unlink(force: true);

        // execution.error = Exception('Failed to acquire lock within $timeout.');
        // This will throw because error sets successful to false
        // (execution.completer.isCompleted && execution.successful) || (throw Exception('Failed to execute execution code: ${execution.error}'));
        // TODO Poll the future here if we find one?
        throw Exception('NamedLock.guard has failed to acquire lock within $timeout.');
      }

This while loop can never succeed as no code is called that would change 'locked' to true, the result is that it throws on entry every time.

oops, my bad. I miss read the code and stepping through with a debugger causes the timeout to trip.


wordpress-plugin and wordpress-theme types throw errors with path repositories

I'm trying to use a repository of type path with a local package of type wordpress-plugin.  I get the following error:
[InvalidArgumentException]                                                      $from (web/app/themes/acf-pro/) and $to (/Users/dawsj028/www/tm-plugins/adv     anced-custom-fields-pro) must be absolute paths.
If I remove the type attribute from composer.json it installs to the vendor directory as expected. Any ideas?

Can you paste the entire composer.json file? is there a copy mistake for the ACF plugin since there is a space in 'advanced'?

That was a paste error.  Here's the project composer.json:
`
{
"name": "roots/bedrock",
"type": "project",
"config": {
"preferred-install": "dist"
},
"repositories": [
{
"type": "composer",
"url": "http://wpackagist.org"
},
{
"type": "path",
"url": "/Users/dawsj028/www/tm-plugins/*"
}
],
"require": {
"php": ">=5.5",
"composer/installers": "~1.0.21",
"vlucas/phpdotenv": "^2.0.1",
"johnpbloch/wordpress": "4.3.1",
"wpackagist-plugin/advanced-custom-fields": "dev-trunk",
"tm-plugins/acf-pro": "*@dev"
},
"extra": {
"installer-paths": {
"web/app/mu-plugins/{$name}/": ["type:wordpress-muplugin"],
"web/app/plugins/{$name}/": ["type:wordpress-plugin"],
"web/app/themes/{$name}/": ["type:wordpress-theme"]
},
"wordpress-install-dir": "web/wp"
}
}
`
And here's the package json:
{   "name": "tm-plugins/acf-pro",   "description": "Advanced Custom Fields Pro",   "type": "wordpress-plugin",   "require": {     "php": ">=5.5",     "composer/installers": "~1.0.21"   } }

I tried a few other package types.  It seems to be a universal issue with installers and path repositories.

I've created a pull request to fix this issue.  https://github.com/composer/installers/pull/272

The fix in #272 is wrong. The issue is the trailing slashes in your installer paths. If you remove them, the symlink succeeds.

Closed by https://github.com/composer/composer/pull/5164


Have any parameter changed in the latest version?

I noticed that in the latest version of the software, you guys are using a gif image to show that rimage can make parallel optimizations.
Therefore, I'd like to ask if rimage has updated the parameters used for passing file path, or just use *.jpg arg. If there is an update, I will make my GUI version up-to-dat as soon as possible.

Thanks for your timely answer!


audio example produces no sound, or produces a loud tone.

With this command:
make flash WHAT=audio BOARD=seed_1_1
I get no audio output at all.
With this:
make flash WHAT=audio BOARD=seed
I get a loud tone. I'm a total beginner with embedded programming, but it sounds like it produced one buffer of data and it's just looping that.
I don't know the revision of the Daisy Seed, but I get this from dfu-utils:
Found DFU: [0483:df11] ver=0200, devnum=1, cfg=1, intf=0, path="1-1", alt=1, name="@Option Bytes   /0x5200201C/01*128 e", serial="200364500000"
Found DFU: [0483:df11] ver=0200, devnum=1, cfg=1, intf=0, path="1-1", alt=0, name="@Internal Flash   /0x08000000/16*128Kg", serial="200364500000"

Hey @GregoryTravis, thanks for reporting this.
If you look at your daisy, what is written next to the biggest black chip on top? Is there Seed or Seed 1.1? If you have bought it recently, chances are it is seed_1_1.
The audio example is not producing any tone on its own, it only passes through the input audio and switches left input to the right output and vice versa. In other word - you have to plug in some sound input to get an output. Could you try that?
Let me know if you would have any other issues. Hope you'll have fun with Rust and Daisy!

It looks like 1.2:

I had audio coming in the input port, but I didn't hear it at all, only the loud tone.

Oh interesting. I was not aware that there is a new Daisy release. Would you mind sharing a closer photo of the chip thats on the far side of the photo above? I would like to see what Codec it uses. I suspect it is the same one as used on the Daisy Patch SM. If that's the case, I could add support for that - if you would be willing to test it.

I would be happy to test it.

Cool! I'll try to get a patch ready for tomorrow.
On Mon, Oct 30, 2023, 20:58 GregoryTravis @.***> wrote:

I would be happy to test it.
[image: PXL_20231030_195558124]
https://user-images.githubusercontent.com/24406074/279180177-b8abe529-ac6d-46df-9fa6-92f9cbe8424e.jpg
[image: PXL_20231030_195601136]
https://user-images.githubusercontent.com/24406074/279180181-b37aabe9-f095-443a-9263-bb9ec52ca193.jpg
—
Reply to this email directly, view it on GitHub
https://github.com/zlosynth/daisy/issues/2#issuecomment-1785942137, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AA2U7RUFWRVUXV7YOTVW2NTYCABEVAVCNFSM6AAAAAA6VEACRCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBVHE2DEMJTG4
.
You are receiving this because you commented.Message ID:
@.***>

@GregoryTravis when you find some time, please try this with feature flag seed_1_2.
# Cargo.toml
[dependencies]
daisy = { git = "https://github.com/zlosynth/daisy.git", branch = "seed_1_2" }

I'm working directly in the zlosynth/daisy repo, on branch seed_1_2 -- how do I set the feature flag in this case?
I'm getting:
error: target board must be selected using a feature: "seed_1_2" | "seed_1_1" | "seed" | "patch_sm"
  --> src/lib.rs:92:1
   |
92 | / compile_error!(
93 | |     "target board must be selected using a feature: \"seed_1_2\" | \"seed_1_1\" | \"seed\" | \"patch_sm\""
94 | | );
   | |_^

error[E0432]: unresolved imports `super::codec::Codec`, `super::codec::Pins`
  --> src/audio/interface.rs:3:20
   |
3  | use super::codec::{Codec, Pins as CodecPins};
   |                    ^^^^^  ^^^^^^^^^^^^^^^^^ no `Pins` in `audio::codec`
   |                    |
   |                    no `Codec` in `audio::codec`
   |

You have to specify it when flashing the example:
make flash WHAT=audio BOARD=seed_1_2

I can't build the project on branch seed_1_2. I get the errors shown above.

Could you share the commands you run to build it?

I apologize -- I forgot that you don't need to build it first. I flashed it with make flash WHAT=audio BOARD=seed_1_2, but I'm still getting the loud tone.

Darn. I'll check with the Daisy Discord. Speaking of - I found a mention of a libdaisy-rust that is patched with Daisy Seed 2 DFM support. I suspect that it may also cover Seed 1.2. Give it a shot https://github.com/CorvusPrudens/libdaisy-rust, so I don't block you with my troubleshooting. Plus, knowing that whatever is done on that fork works (or does not) would make my work simpler too. I recommend visiting #rust room on the Discord channel https://discord.com/channels/1037767234803740694/1039305128886403072

Thanks for the tip, I'll try it! I'm actually in that discord, I saw you asking about it :)

Forgive me, I'm a rust beginner. Below is what I got with that fork, running cargo objcopy --example passthru --release -- -O binary passthru.bin. I don't quite understand the results; it mentions 2 errors, but there were no errors.
   Compiling libdaisy v0.1.0 (/Users/gmt/pedal-stuff/rust-libraries/patched-libdaisy-rust/libdaisy-rust)
error: could not compile `libdaisy` (example "passthru") due to 2 previous errors
error: Failed to parse crate metadata

@GregoryTravis it is hit or miss, but I made some changes to the branch and maybe (big maybe) it will work now. If you get to try it, please let me know if it is any better now.

The tone is gone! But I'm still not getting audio through. I tried it unchanged and also with the transfer_config change.

Mmm, too bad. While trying to get to the bottom of this, here is another idea - could you try flashing the original version that produced the beep 6ace8b2? And once you flash it, try restarting the module by clicking the buttons or just power off-on. Sometimes the firmware gets stuck for me after flashing over USB, but after restart it works. If that won't help, try the other combinations of A/B Slave/Master.

I restarted the model after flashing using the two buttons, which made the beep go away. I tried all four combinations; only the original one produced a beep:
            tx_channel: Channel::A,
            rx_channel: Channel::B,
            tx_sync: Sync::Master,
            rx_sync: Sync::Slave,

Is there another way to do a power-on, other than the white buttons? If there is, I didn't try it.
I assume that the two buttons a full reset -- if I am running an LED-blinking patch on it, the blinking stops when I reset with the two buttons.

This is odd; only this one produces a blinking LED:
            tx_channel: Channel::B,
            rx_channel: Channel::A,
            tx_sync: Sync::Slave,
            rx_sync: Sync::Master,

I have finally got Seed 1.2. With 942ae2e it seems to be working. The only issue is that the output is very noisy. While that is not seen much with loud signal, this is what it looks like with 0.7 VPP.
Seed 1.0:

Seed 1.2:

Even with 3 VPP it looks pretty rugged on 1.2:

And it is not any better with the reference bypass example:


Cleanup of buffers and access interfaces

Better setup for the block and biome buffers
Rename WeatherVolume to WeatherUniverse
Add WeatherUniverse to Extent
https://github.com/SpongePowered/Sponge/pull/189

Looks good to me. :thumbsup:


need a sign up button

⚠ Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find similar feature request

🏷 Feature Request Type
UI Feature
🔖 Feature description
i have friends who has websites, and i wanna use uptime with him, but i dont wanna give him my password
✔ Solution
add a signup button
❓ Alternatives
they can signup by themselves from this button
📝 Additional Context
No response

Duplicate of #128

@chakflying
One thing that might be helpful for you (a GitHub feature I recently discovered) is this button:


feature: line continuation block

div
\ for a in listA,
      b in listB
-
  span = a
  span = b

It also require to change the parser behavior of - and -- block.

Alternative:
div
\\ for a in listA,
       b in listB
\
  span = a
  span = b

Use \ for one line continuation, and \\ for line continuation block.


More Notations

Are there any functions to get notations in several formats like the notations at http://en.wikipedia.org/wiki/Chess_notation#Notation_systems_for_humans, except for san.
It would be great to have that.

SAN is the only supported notation at this time.  Descriptive notation might be nice to have, but it's very low priority and would almost certainly bloat the code.


Implement Loading Screen

As this is my first contribution, I focused on adding the loading screen, once i saw the TODO on the repository read.me
Key Features:
Loading Screens and Components:
    Implemented an initial loading splash screen.
    Added a right spinner and loading dots for better visual feedback during loading states.
    Centralized the loading components under a unified structure for easier maintenance and reusability.

Glitch Effect Enhancements:
    Introduced a glitching style effect for a modern and dynamic UI element.
    Applied the glitch effect to the logs and loading screens to create a cohesive design language.

Mobile Responsiveness:
    Added media queries to handle specific mobile view adjustments, making the UI more adaptable and user-friendly.

Thank you for reviewing this pull request! I'm excited to contribute and look forward to any feedback or suggestions for improvement.

Hey, I honestly didn't have any intentions on continuing this project, but you did great on adding loading screen pages, as well as integrating into existing components systems nicely, thank you for your contributions, feel free to open pull request to add more stuff.
best of luck for much more of your upcoming contributions on other repo.


Decide what to do with IV oracle data

DIA is providing Deribit DVOL data now
1) Connect to the RPC at https://rpc.ankr.com/solana_devnet.

2) Initialize the program address() and IDL using the code provided in this gist: https://gist.github.com/nnn-gif/071c11bc4bf4b0703938a8bd79f2b247.

3) Generate the program-derived address of the index whose value you want to get. For example:

let [PDA, bump] = await anchor.web3.PublicKey.findProgramAddressSync(
        [Buffer.from(index_name)],
        program.programId
      );

4) Fetch the value of the volatility index:
let vi = await program.account.volatilityIndex.fetch(PDA.toBase58());

An on-chain client would be necessary before we consider doing anything. Having the client side ability to read what's on chain is nice, but we can already go to deribit for that data.
Currently thinking we dont use this data unless we get it for more volatile tokens where we could sanity check our backstop numbers for DIPs


implement code for vlan trunking

add interface for vlan trunking
test vlan trunking
add vlan trunking to docs

CC @adrianchiris


[BUG] search_result distances may come as strings

While testing GPTCache with PostrgreSQL as cache_base and RedisVectorStore as vector_base, along with SearchDistanceEvaluation as similarity_evaluation an error occurs, because the distance value in cache_dict is a str and then it can't be compared with 0 right from the start.
I added a cast to float in order to fix the Bug.

There is a better way to fix this from the RedisVectorStore side

@andre-meneses-fivestars the bug has fix in the dev branch. And i will publish a new version

@andre-meneses-fivestars the bug has fix in the dev branch. And i will publish a new version

@SimFG I see you also fixed removing the doc_prefix, which I was going to address next ;) Thank you

Thank your attention and support

@SimFG no problem. Will you update the release on PyPI ?

@andre-meneses-fivestars has released, you can try to install the latest version 0.1.34

@SimFG already installed. You're great!


Branch1

Pull Request for DL-Simplified 💡
Issue Title : Railway Track fault Detection

Info about the related issue (Aim of the project) :
Name: Siva Ramana HV
GitHub ID: https://github.com/SivaRamana-H-V
Email ID<EMAIL_ADDRESS>

Closes: #issue number that will be closed through this PR
Describe the add-ons or changes you've made 📃
Give a clear description of what have you added or modifications made
Type of change ☑
What sort of change have you made:

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested? ⚙
Describe how it has been tested
Describe how have you verified the changes made
Checklist: ☑

[ ] My code follows the guidelines of this project.
[ ] I have performed a self-review of my own code.
[ ] I have commented my code, particularly wherever it was hard to understand.
[ ] I have made corresponding changes to the documentation.
[ ] My changes generate no new warnings.
[ ] I have added things that prove my fix is effective or that my feature works.
[ ] Any dependent changes have been merged and published in downstream modules.

Comment out in the issues there to get assigned a particular issue. This is not the correct way you should contribute to any open source projects.


west.yml: update ci-tools to get codeowners renames/deletions fixes

Namely: https://github.com/zephyrproject-rtos/ci-tools/pull/70
Signed-off-by: Marc Herbert<EMAIL_ADDRESS>

Shippable failure https://app.shippable.com/github/zephyrproject-rtos/zephyr/runs/44491/5/console
is unrelated
    Assertion failed at ZEPHYR_BASE/tests/kernel/sched/schedule_api/src/test_sched_timeslice_reset.c:79: thread_tslice:
  (t <= expected_slice_max is false)
timeslice too big, expected 10100000 got 10301168
FAIL - test_slice_reset

Closing/re-opening.

Commit 3f057403cb43 did it.


Activity: Restrict menu options based on permissions

Activity: Restrict menu options based on permissions.
Acceptance Criteria:

Menu items for which user has permissions are displayed
Menu items for which user does not have permissions are not displayed

Estimate (XS, S, M, L, XL): S

Closed by #53


Allow users to define an AG ingress prefix per AKS cluster.

Currently the ingress controller uses a default prefix when adding sub-resources to the AG config.  The ingress controller will use this prefix to keep track of the sub-resources it added in order to not modify resources it had not added.
However, the use of a default prefix allows an AG to be associated with only one AKS cluster. If we allow users to set a prefix per-cluster and automate the selection of the cluster prefix to make unique across different AKS clusters it will allow the same AG to be associated with different AKS clusters.

We are not planning on working on multi-cluster support in the near future. Closing this. (We do have env var APPGW_CONFIG_NAME_PREFIX supporting a custom prefix)


Cloud Scheduler GA

Releasetool should handle replacing the versions although we'll have to fix it as the first release will end up 1.1.0


Qwik UI Styled code examples wrong imports

The import from @qwik-ui/styled are misleading users -

Maybe we can replace them with ~/components/ui or something like that (or just remove the imports?
WDYT @maiieul ?

Yes I agree! I'm working on a PR today :)

@maiieul if you could just let me handle that. I already touch this since I'm switching to dot notation

@thejackshelton we probably should pair on it :)


Cannot access swagger endpoint when using guardrail

👋 team, new to guardrail with swagger. What I observed was that the new resource that is created from guardrail doesn't have @api annotation on it.  So when we try to access the swagger endpoint:
http://{host}:{port}/swagger/#/default it throws this exception
java.lang.NullPointerException: null 	at io.swagger.core.filter.SpecFilter.filter(SpecFilter.java:52) 	at io.swagger.jaxrs.listing.BaseApiListingResource.process(BaseApiListingResource.java:128) 	at io.swagger.jaxrs.listing.BaseApiListingResource.getListingJsonResponse(BaseApiListingResource.java:155) 	at io.swagger.jaxrs.listing.ApiListingResource.getListing(ApiListingResource.java:32) 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 	at java.lang.reflect.Method.invoke(Method.java:498) 	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) 	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)
Am I missing something?

This is intentional; the @Api annotation exists so you can generate a spec file (when you don't already have one) from the resource classes themselves.  With guardrail there's no need for that, because you already have a spec file: the one you've written.  If you want to serve your spec from /swagger.yaml or whatever, just include your spec file in your service and serve the static file.


dead repo ?

Hello,
do you plan to keep this repo active or we should not expect support ?
br,
fas3r.

Hello,
Sorry for not answering anything lately, I'm completely loaded with work +
last semester @ Uni. I plan to keep this updated, as soon as I find enough
free time I'll answer all issues here.
On Sun, Apr 15, 2018, 07:37 fas3r<EMAIL_ADDRESS>wrote:

Hello,
do you plan to keep this repo active or we should not expect support ?
br,
fas3r.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/eduardotkoller/convForm/issues/26, or mute the thread
https://github.com/notifications/unsubscribe-auth/ARnh56l9Z9bHJdcqyUa3LwwvSodkGEMfks5toyLQgaJpZM4TVa9Q
.


Ignored click requests (sometimes)

I'm having trouble for clicking on links - sometimes it looks like no click event happens.
The use case is that I'm clicking on #user-settings > i.settings16 to make a popover appear, containing an element satisfying #current-build-info. Once in while this works. But usually it doesn't.
The scenario works when I'm clicking manually on the links. Invoking jQuery click on the element works also.
Is there something I am missing ?
val $1 = $("#user-settings > i.settings16")
$1.waitWhile(not(exist), 20000)
$1.click()
val $2 = $("#current-build-info") // should appear when clicking on $1
$2.waitWhile(not(exist), 20000) // usually never happens

Scala 2.11.7, Firefox driver, Firefox 42, Linux Mint 17.2 x64

Do you have the same problem with Chrome?
As I know, Chrome and Firefox do click elements differently.
Chrome calculates center point of element and clicks this point (even if another element actually locates there). But Firefox actually clicks given element.
So the question is: to what element you bind click handler - to  or to ?

On 11/17/2015 01:21 PM, Andrei Solntsev wrote:

Do you have the same problem with Chrome?

I've tried to get it working in Chromium, but it doesn't react to the
script. It pops up the browser, but just stays there. But it might have
been a bit ... hacky. How does one chose correctly the Chrome browser ?

As I know, Chrome and Firefox do click elements differently.
Chrome calculates center point of element and clicks this point (even
if another element actually locates there). But Firefox actually
clicks given element.
So the question is: to what element you bind click handler - to ||
or to ||?

It's the  element. I've tried  and  but it's all the same:
sometimes it works, sometimes it doesn't.

—
Reply to this email directly or view it on GitHub
https://github.com/codeborne/selenide/issues/247#issuecomment-157354861.

In order to run chrome browser, you just need to add the following command
line option:
-Dselenide.browser=chrome
See wiki:
https://github.com/codeborne/selenide/wiki/How-Selenide-creates-WebDriver
Andrei Solntsev
2015-11-17 15:24 GMT+02:00 java-artisan<EMAIL_ADDRESS>
On 11/17/2015 01:21 PM, Andrei Solntsev wrote:

Do you have the same problem with Chrome?

I've tried to get it working in Chromium, but it doesn't react to the
script. It pops up the browser, but just stays there. But it might have
been a bit ... hacky. How does one chose correctly the Chrome browser ?

As I know, Chrome and Firefox do click elements differently.
Chrome calculates center point of element and clicks this point (even
if another element actually locates there). But Firefox actually
clicks given element.
So the question is: to what element you bind click handler - to ||
or to ||?

It's the  element. I've tried  and  but it's all the same:
sometimes it works, sometimes it doesn't.

—
Reply to this email directly or view it on GitHub
<https://github.com/codeborne/selenide/issues/247#issuecomment-157354861
.

—
Reply to this email directly or view it on GitHub
https://github.com/codeborne/selenide/issues/247#issuecomment-157369544.

Exception is raised on $1.click() ? which one?
Also try:
 1$.waitUntil(visible, 20000)

as exists is not the same as visible, it could be in DOM but invisible.

And in the most cases you don't need 1$.wait... lines at all. Only if your buttons appear >4 seconds after the page is loaded.

I've added these to the startup arguments
-Dselenide.browser=chrome
-Dwebdriver.chrome.driver=/usr/lib/chromium-browser/chromium-browser
And the same happens as before: Opens a window and sits there. The
addons are loaded too apparently. So maybe there's a conflict somewhere ?
Caused by: org.openqa.selenium.net.UrlChecker$TimeoutException: Timed
out waiting for [http://localhost:31021/status] to be available after
20001 ms
On 11/17/2015 01:21 PM, Andrei Solntsev wrote:

Do you have the same problem with Chrome?
As I know, Chrome and Firefox do click elements differently.
Chrome calculates center point of element and clicks this point (even
if another element actually locates there). But Firefox actually
clicks given element.
So the question is: to what element you bind click handler - to ||
or to ||?
—
Reply to this email directly or view it on GitHub
https://github.com/codeborne/selenide/issues/247#issuecomment-157354861.

For good measure I've installed the real Chrome browser. The browser
starts but nothing happens. On the console I'm getting:
org.openqa.selenium.remote.UnreachableBrowserException: Could not start
a new session. Possible causes are invalid address of the remote server
or browser start-up failure.
The arguments:
-Dselenide.browser=chrome -Dwebdriver.chrome.driver=/usr/bin/google-chrome
On 11/17/2015 02:27 PM, Andrei Solntsev wrote:

In order to run chrome browser, you just need to add the following command
line option:
-Dselenide.browser=chrome
See wiki:
https://github.com/codeborne/selenide/wiki/How-Selenide-creates-WebDriver
Andrei Solntsev
2015-11-17 15:24 GMT+02:00 java-artisan<EMAIL_ADDRESS>
On 11/17/2015 01:21 PM, Andrei Solntsev wrote:

Do you have the same problem with Chrome?

I've tried to get it working in Chromium, but it doesn't react to the
script. It pops up the browser, but just stays there. But it might have
been a bit ... hacky. How does one chose correctly the Chrome browser ?

As I know, Chrome and Firefox do click elements differently.
Chrome calculates center point of element and clicks this point (even
if another element actually locates there). But Firefox actually
clicks given element.
So the question is: to what element you bind click handler - to ||
or to ||?

It's the  element. I've tried  and  but it's all the same:
sometimes it works, sometimes it doesn't.

—
Reply to this email directly or view it on GitHub

<https://github.com/codeborne/selenide/issues/247#issuecomment-157354861

.

—
Reply to this email directly or view it on GitHub

https://github.com/codeborne/selenide/issues/247#issuecomment-157369544.

—
Reply to this email directly or view it on GitHub
https://github.com/codeborne/selenide/issues/247#issuecomment-157370242.

Driver is not your google-chrome executable, but the chrome-driver from
https://sites.google.com/a/chromium.org/chromedriver/downloads https://sites.google.com/a/chromium.org/chromedriver/downloads

Am 17.11.2015 um 15:39 schrieb java-artisan<EMAIL_ADDRESS>For good measure I've installed the real Chrome browser. The browser
starts but nothing happens. On the console I'm getting:
org.openqa.selenium.remote.UnreachableBrowserException: Could not start
a new session. Possible causes are invalid address of the remote server
or browser start-up failure.
The arguments:
-Dselenide.browser=chrome -Dwebdriver.chrome.driver=/usr/bin/google-chrome
On 11/17/2015 02:27 PM, Andrei Solntsev wrote:

In order to run chrome browser, you just need to add the following command
line option:
-Dselenide.browser=chrome
See wiki:
https://github.com/codeborne/selenide/wiki/How-Selenide-creates-WebDriver
Andrei Solntsev
2015-11-17 15:24 GMT+02:00 java-artisan<EMAIL_ADDRESS>
On 11/17/2015 01:21 PM, Andrei Solntsev wrote:

Do you have the same problem with Chrome?

I've tried to get it working in Chromium, but it doesn't react to the
script. It pops up the browser, but just stays there. But it might have
been a bit ... hacky. How does one chose correctly the Chrome browser ?

As I know, Chrome and Firefox do click elements differently.
Chrome calculates center point of element and clicks this point (even
if another element actually locates there). But Firefox actually
clicks given element.
So the question is: to what element you bind click handler - to ||
or to ||?

It's the  element. I've tried  and  but it's all the same:
sometimes it works, sometimes it doesn't.

—
Reply to this email directly or view it on GitHub

<https://github.com/codeborne/selenide/issues/247#issuecomment-157354861

.

—
Reply to this email directly or view it on GitHub

https://github.com/codeborne/selenide/issues/247#issuecomment-157369544.

—
Reply to this email directly or view it on GitHub
https://github.com/codeborne/selenide/issues/247#issuecomment-157370242.

—
Reply to this email directly or view it on GitHub https://github.com/codeborne/selenide/issues/247#issuecomment-157388304.

Okay - sorry for that. You see I'm new to this. :-) Thank you for being
patient. :-)
It works now. But the result is the same as for FireFox; the click is
not happening. I even disabled dual screen to make sure the positioning
wasn't off.
I'll have to dig deeper into the click subscription. Maybe the click
happens before the popover gets assigned to the link ? Can Selenide log
on the browser's console ?
On 11/17/2015 03:43 PM, vinogradoff wrote:

https://sites.google.com/a/chromium.org/chromedriver/downloads
<https://sites.google.com/a/chromium.org/chromedriver/downloads

@java-artisan Yes, it's absolutely possible that click happens before the popover gets assigned to the link. No, as I know, neither Selenium nor Selenide cannot know if click handler has been bound to the element.
I typically recommend to build application so that

The button is disabled at the beginning
JS code binds click handler to the button
JS enables the button
Test waits until button is enabled:
$(".btn").shouldBe(enabled).click();

This is the only valid path. If items 1-3 are not done, it can be considered as bug, because a real user can theoretically click button before it's properly initialized.

I didn't even thought about that ... :-)
I'll try it first thing next morning. Many thanks ! :-)
On 11/24/2015 09:54 PM, Andrei Solntsev wrote:

@java-artisan https://github.com/java-artisan Yes, it's absolutely
possible that click happens before the popover gets assigned to the
link. No, as I know, neither Selenium nor Selenide cannot know if
click handler has been bound to the element.
I typically recommend to build application so that

The button is disabled at the beginning
JS code binds click handler to the button
JS enables the button
Test waits until button is enabled:
|$(".btn").shouldBe(enabled).click();|

This is the only valid path. If items 1-3 are not done, it can be
considered as bug, because a real user can theoretically click button
before it's properly initialized.
—
Reply to this email directly or view it on GitHub
https://github.com/codeborne/selenide/issues/247#issuecomment-159402256.

Closing issue for now. Please re-open if you get new information.

Well... it's with a certain shame I report this was my issue really.  My apologies for wasting your time people. :-/
It's working beautifully now. Many thanks for the help !

No problems, feel free to report other issues if you happen to find some.
Andrei Solntsev
2015-11-25 11:29 GMT+02:00 java-artisan<EMAIL_ADDRESS>
Well... it's with a certain shame I report this was my issue really.  My apologies for
wasting your time people. :-/
It's working beautifully now. Many thanks for the help !
—
Reply to this email directly or view it on GitHub
https://github.com/codeborne/selenide/issues/247#issuecomment-159547602.


Would you accept translation contribution for this cookbook?

Description of the feature request:
I translated full Gemini API Cookbook into Traditional Chinese here: https://github.com/doggy8088/gemini-api-cookbook
I'd like to know that is this repo accept for contribute translations?
If yes, is there any translation guideline I can follow?

We don't have translations as part of this repository at the moment, but if you want, you could send us a PR to link to your repo on  the Awesome Gemini page or the examples README?


delegate command for notary-cli

Adds a notary delegation command to the cli.  There are three commands:

add: adds a delegation using a given gun, X509 cert with public key, role (ex: "targets/delegation"), and paths. Currently we only validate the expiry date on the certificate since there are no restrictions on the signature, but it could be backed by the TUF root key or existing PKI in the future. This command creates a TUF change offline, which will need to be published to take effect.
remove: removes a delegation using a gun, key ID, and role.  Creates a TUF change offline that will require a publish for effect.
list: updates the notary repository online before listing all published delegations in a table format.

Closes #434.

notes on my end after some testing and discussion this evening, marking as WIP and open to discussion:

I'm going to change how notary delegation add behaves from this PR's implementation, so that we add new keys if possible (this PR overwrites).  If the paths conflict between the existing delegation and the one we want to add with the same name, we reject the new delegation -- this check must be done online to avoid race conditions.

I'll also change the notary delegation remove command to remove key IDs one by one, and remove the delegation once no keys remain.  This will probably change RemoveDelegation as well, and also has to be checked online for race conditions (if another client concurrently adds, etc.)

Been thinking for consistency with the other sub-commands, which are plural nouns (keys and certs), we might also want to make it notary delegates ...

@endophage unless I'm missing something, I think all of notary's sub-commands are singular, so maybe leave as notary delegation ... or notary delegate ...?

 I prefer notary delegate. Happy to bow to the consensus though if people disagree, it's only a 2 character difference.

removed WIP -- I had to change the logic in helpers.go to handle adding and removing one key at a time from a delegation:

If the delegation role already exists, delegation add will add to the pre-existing delegation with the new keyID if and only if the paths match.  If paths do not match, this change is rejected on publish.
delegation remove will remove single keys by keyID at a time until the last key, when the delegation is deleted in entirety

When adding a key to an existing delegation, having to duplicate the paths seems like terrible UX. Would it be possible to add a --update flag to the add command that indicates that the key and any new paths should be added to the role, regardless of keys or paths it currently contains?

updating this PR for documentation, after some offline discussion with @endophage, it seems most intuitive to eventually have finer grained flags such as --key and --path to operate on these single items within a delegation add or delegation remove command.

Removing WIP.
I added the ability for multiple keys/paths to add/remove.  Keys are the default argument, paths are specified by a flag --paths which takes a comma-separated list of paths to change: notary delegation add GUN ROLE KEY1 KEY2 --paths=PATH1,PATH2
I also added a force flag to remove, so an admin can easily notary delegation remove GUN ROLE --force to remove all data (there's an accompanying --yes flag to avoid a confirmation)

Do we need --force and --yes? What's the difference in behaviour between notary delegation remove GUN ROLE and notary delegation remove GUN ROLE --force?

I could go either way with having the --force flag but I think we should at least prompt for confirmation ( and have a --yes flag to bypass this like when we remove certs) if you're about to delete all information for a delegation role.
Right now notary delegation remove GUN ROLE is an invalid command unless --force is included.

Haven't tried this since last week, but code LGTM.

@riyazdf rebase please

@diogomonica done!

@riyazdf me and @endophage have a long standing disagreement regarding whether notary should be 100% invocable from the cmd-line without expect scripts (the --yes was added by me a while back).
I think we need @cyli to weigh in and decide.

@diogomonica what is the agreement?  Whether --yes should be included?
Maybe it would be less confusing if --force is changed to --all or --delegation for removing all delegation information?  --force to me already implies that it will just proceed without asking.  Aside from that, I'm mostly indifferent between --force and --yes.

I like --yes for stuff that would ask and won't. I agree with --all.

I also agree with --all (just updated)

@diogomonica I'm fine with having one of --yes and --force, I was just questioning that they appeared to be redundant.
I don't think --all semantically makes sense. If the command is notary delegation remove GUN DELEGATION, what does --all mean? The DELEGATION is singular. I would say we should just have notary delegation remove GUN DELEGATION work with a prompt, and add the --yes flag to preemptively confirm (i.e. no prompt).

Agreed with notary delegation remove GUN DELEGATION + --yes

I think this is good, I was originally thinking that --all made sense to specify multiple parts of a delegation but I think keeping abstracting it to a singular delegation makes sense.  Just updated.

LGTM!


fix(npm audit): Updated all npm dependencies. Showing zero vulns

:tada: This PR is included in version 2.2.3 :tada:
Your semantic-release bot :package::rocket:


Vulnerability roundup 84: bluez-5.53: 1 advisory

search, files

[ ] CVE-2020-0556 CVSSv3=7.1 (nixos-20.03)

Scanned versions: nixos-20.03: 82b5f87fcc7. May contain false positives.

20.03 is frozen and EOL.
Closing.


Added few examples

@prashanth-up the PR's check failed because the output of the LargestAmong3 is wrong

@andrefpoliveira Yeah just checked, my bad


[CP] Correct warning for compatible Java versions range given template AGP & Gradle versions

Issue Link
https://github.com/flutter/flutter/pull/135710 has a description of the problem (I don't have one but I can open one if needed)
Commit Hash
54cf286
Target
stable
PR Link
https://github.com/flutter/flutter/pull/135710
Changelog Description
Corrects the range of Java versions that flutter create will show if your Java version is incompatible with Flutter's template AGP & Gradle versions and/or is too new/old a version to be recognized by Flutter's tooling.
The range currently printed suggests that the upper bound is inclusive, whereas it is exclusive, so it may confuse developers.
Impacted Users
All Flutter devs running flutter create for something running on Android
Impact Description
They will see a range of Java versions that is confusing. It can easily be found out as incorrect by following documentation linked in the warning, but we can't guarantee devs will look there to confirm the range of Java versions that we suggest.
Workaround
Following the documentation linked in the warning to check the Java versions.
Risk
low
Test Coverage
yes
Validation Steps
There are many tests that prove that the range is exclusive (https://github.com/flutter/flutter/blob/a047358c5c8d6cdb395d833fdd365ae1492e7e32/packages/flutter_tools/test/general.shard/android/gradle_utils_test.dart#L945). I just forgot to format the warning appropriately in https://github.com/flutter/flutter/pull/131444, where I added the warning.

@reidbaker could you take a look at this cherry-pick and attach the cp: approved label if you agree?

@camsim99 can you link the cherry-pick PR you created?

Labels added for approval.

@camsim99 can you link the cherry-pick PR you created?

https://github.com/flutter/flutter/pull/135710


add turndown.html file

Combines the work from https://github.com/nthitz/turndownforwhatjs/ and https://codepen.io/bertdida/pen/BqWrqE for something silly.

hehe cool :)


Metadata value restriction map

Description
As a developer, I would like the metadata value and character restrictions to be clear determined so that I can write validation software for the metadata associated spreadsheets.
every column has determined values and character set (if free text). I.E. for  tumour_type  can be "metastasis/recurrent/local relapse"  At the minimum: "any characters, free text". This should include possible missing value entries or "" if allowed to be blank.
More sophisticated rules for the columns can be made if necessary and should be recorded for future implementation into the validator.
Missing values should be considered as well: https://ena-docs.readthedocs.io/en/latest/submit/samples/missing-values.html?highlight=INSDC
A gDoc to host and share these rules internally for tumor type: https://docs.google.com/spreadsheets/d/1VWxvqvJej-Eq1UQirYh2u_VyndQaaTPlEj0keMsKZ88/edit#gid=0
Ongoing exploration and explanation of metadata.xslx rules: https://docs.google.com/document/d/1ieaYamxzO5E71MCXxIQXqD6EohziGvZzLiH3TG3gjVo/edit
Metadata WorkSheet: https://docs.google.com/spreadsheets/d/1qswBH0CztGrIM5OBT8mCQYeQ7ylWjoLIvnm50x2wuFc/edit#gid=0
Acceptance criteria

[x] gDoc is created to mirror metadata.xlsx and linked in ticket
[x] every column has set values

Very basic first pass has been completed the restriction map.

done


the result is reasonable?

thanks for you sharing your work, Now, My test image is 128*128, the result as follow , is reasonable? THX!

result:

How did you give custom labels?

I just run default params, just add my image to the directory of test

custom_label means the label you assign to your image.
That is, your image is "blonde hair, female, young"
So, custom_label = [0, 1, 0, 0, 1]
python main.py --phase test --custom_label 0 1 0 0 1

I got it ,Thanks


Issue with "Visual Studio Code Extension" in @site/docs/concepts/vscode-extension.md

Describe the problem

Page: Visual Studio Code Extension
Source: https://github.com/demisto/content-docs/tree/master/docs/concepts/vscode-extension.md

Customers find it difficult to follow and asked for CS help and we found it a bit difficult to follow as well.  I documented a sequential start to finish process that may be of use. See attached as an example (in my case for Mac OS):
Screenshots

Environment

OS: [e.g. Windows]
Browser: [e.g. chrome, safari, firefox..]
Browser Version:

Suggested fix

CCS-HowToSetUpVisualStudioCodewithXSOAR-121121-0707-130.pdf

Thank you @rurhrlaub for your suggestion, we really appreciate it!
We've considered it and found the setup instructions a little too specific and excessive. However, we decided to add a clarification to how to install the demisto-sdk and the requirement to set up environment variables.


[docker] Add docker with demo file

Add a dockerfile which installs the prereqs.
When built and ran, User will automatically enter a tmux session with FAN predicting the Astronaut sklearn image When built and ran, User will automatically enter a tmux session with FAN predicting the Astronaut sklearn image, this behaviour can be changed in future commits.
Detector used for now is simply the HaarCascade from opencv.
Next steps:

Either build a flask server with UploadImage button, detects the face and draws the landmarks
Or a jupyter notebook with a similar functionality
Script the model, currently I cannot do it because _modules is an issue in HourGlass
I haven't yet tested on GPUs, I believe I need to detect the gpu in bash and pass them using --gpus all

[x] Verify on Windows
[x] Add demo for Jupyter
[ ] Add gpu
[ ] Script the model
[ ] RetinaFace <-- this is the most urgent/useful now


about the label of target domain

hi, I 'm a beginner.
I noticed that in https://github.com/2669531054/CCM/blob/2fcd9cb3b1d2070dd403613f00ca55ef872b3104/trainer/ccm_trainer.py#L203
, you use the label of the train set of target domain to calculate the accuracy of the pseudo label.
I wonder whether this accuracy influence the training process. And if I do not have the label of  the target domain, can I skip this step?

Hello,
The calculated accuracy is just for knowing some necessary statistics. In real world scenario, we could roughly evaluate the model / pseudo labels via validation set.


Where is L_mse?

The paper has three losses for the duration discriminator: $L_{adv}(D)$, $L_{adv}(G)$, and $L_{mse}$. But the code only implemented $L_{adv}(D)$ and $L_{adv}(G)$:
https://github.com/p0p4k/vits2_pytorch/blob/1f4f3790568180f8dec4419d5cad5d0877b034bb/train_ms.py#L418
https://github.com/p0p4k/vits2_pytorch/blob/1f4f3790568180f8dec4419d5cad5d0877b034bb/train_ms.py#L448
$L_{mse}$ should be:
loss_mse = F.mse_loss(logw, logw_)

And add to loss_gen_all.
https://github.com/p0p4k/vits2_pytorch/blob/1f4f3790568180f8dec4419d5cad5d0877b034bb/train_ms.py#L446

Did you find it inside models.py ?

Did you find it inside models.py ?

Yes, I found the l_length👌

I am not very clear about the l_length from SDP, is it a MSE loss?

I am not very clear about the l_length from SDP, is it a MSE loss?

SDP is flow-based and should not trained with DD.

Did you find it inside models.py ?

Yes, I found the l_length👌

What about the l_length for sdp?
should this line put outside the else part?
l_length = torch.sum((logw - logw_) ** 2, [1,2]) / torch.sum(x_mask)

I am not very clear about the l_length from SDP, is it a MSE loss?

SDP is flow-based and should not trained with DD.

Yes, but as the paper said, the MSE loss should be one part of the the SDP loss in training. is the flow loss somewhat a kind of MSE loss?

So, in sdp, we use a normalizing flow to send the discrete frame numbers (durations) to a gaussian. The l_length in sdp is a negative log likelihood that should be minimized in order to make sure that the flown-numbers are a sample of gaussian. During inference, we give it a noise and the text, and it gives out the durations (using reverse flow).

No, we can do that by sending a gaussian noise and text to sdp, get the durations output, and then mse with the real (MAS) durations. I have not added it in the repo, but it is possible to do it easily.

I think vits2 uses sdp in paper. 'z_d' is the noise for sdp.

I think vits2 uses sdp in paper. 'z_d' is the noise for sdp.

Thanks for the help, I will have a try at convenience,  I think evan when we add the MSE to the sdp predicted logw, it will be at the second stage when training SDP with DPD for the last 30K steps.

I think vits2 uses sdp in paper. 'z_d' is the noise for sdp.

Thanks for the help, I will have a try at convenience,  I think evan when we add the MSE to the sdp predicted logw, it will be at the second stage when training SDP with DPD for the last 30K steps.


rtabmap: 0.10.10-1 in 'indigo/distribution.yaml' [bloom]

Increasing version of package(s) in repository rtabmap to 0.10.10-1:

upstream repository: https://github.com/introlab/rtabmap.git
release repository: https://github.com/introlab/rtabmap-release.git
distro file: indigo/distribution.yaml
bloom version: 0.5.21
previous version for package: 0.10.10-0

I see that your patch made it: https://github.com/introlab/rtabmap-release/blob/debian/ros-indigo-rtabmap_0.10.10-1_trusty/debian/rules#L55 +1


Not working on Fedora 39 Gnome 45.

Thank you for the time to make such a nice app. Unfortunately, first time it launched properly and I set the city and other things. After that, I noticed both fans of my laptop are running at nearly 70% of the speed continuously until I restarted and uninstalled the app. I guess something is wrong with the electron GPU renderer.

Assalam Alaykoum,
Sorry for the late answer, I couldn't find the time to reply.
What versions have you tried ? How did you install it ?
Perhaps you can try this https://github.com/DBChoco/Salawat
A small clone I made that is much lighter on resources, but less powerful. Alhamdoulillah.

Alykum Assalam,
Thank you for the reply. No problem. I tried v 2.6.0 from the flathub and installed it using gnome software. I guess my pc (10th gen intel H + Nvidia GTX 1660 Ti) is eligible to run the full version. Not only that, but I also tried Salawat, but there was something wrong with the timezone and method of calculation (I don't exactly remember). Anyway, brother, thanks for everything. May Allah bless you for the good work.


⚠ Samsung has degraded performance

In 09bc21f, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2380 ms

Resolved: Samsung performance has improved in 7418d26.


Ignore some fields in untagged enum varints

I have an enum struct as this :
#[derive(Debug, Deserialize)]
#[serde(untagged)]
pub enum Message {
        Price {
             min: BigDecimal,
             max: BigDecimal,
        }
}

And I have implemented a self-defined serializer for this enum target to insert a new field into the final str. look like this
{
      "inserted": "I'm inserted",
      "max": "0.1",
      "min": "0.1",
}

But in this test case I got an error
fn test_de_after_ser() {
        let message = Message::Price{
                max: BigDecimal::from_str("0.1").unwrap(),
                min: BigDeciaml::from_str("0.1").unwrap(),
        };
        let serialized = serde_json::to_string(&message).unwrap();
        let deserialized: Message = serde_json::from_str(&serialized).unwrap();
}

The runtime complain that could not match any varints in enum, So if there some approach to fix this problem. If not, should we introduce a new attributed like this
#[derive(Debug, Deserialize)]
#[serde(untagged)]
#[serde(ignore = "inserted")]
pub enum Message {
        Price {
             min: BigDecimal,
             max: BigDecimal,
        }
}

The attributed #[serde(ignore = "inserted")] semantic is that this contianer should ignore the fields defined in ignore attributed when deserializing from a serialized item.

Extra fields get ignored and it works with other types instead of BigDecimal. https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=3cf05e785f0184c3556cce87683eba55
BigDecimal probably doesn't support deserialization from strings. You can get better error messages if you remove the untagged attribute.

Extra fields get ignored and it works with other types instead of BigDecimal. https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=3cf05e785f0184c3556cce87683eba55 BigDecimal probably doesn't support deserialization from strings. You can get better error messages if you remove the untagged attribute.

But I found that the BigDecimal implemente the Deserialize trait, please tell me why the bigdecimal::BigDecimal could not be ignored ? thx for your reply

I was not able to reproduce this. It deserialized successfully. Assuming fixed in bigdecimal.


Addon for Edge?

Is there any chance that this extension will also be available for the Edge broswer?

By now im just supporting Chrome but maybe in the future...
If you want can use this source to code yourself the edge extension. :)


The github yaml parser changes big int to float...

omg wtf github this is not ok

Apparently size limit is int32


Bind is crashing

When bind throws an error with socket.bind(), the app will crash. The error is received but even though it is handled in the JS, the package still crashes an app.
It can be replicated by giving it a bad port to bind to.
LOG  socket-0 binding, address: badport port: 0
LOG  socket-0 failed to bind {"message": "Unable to resolve host "badport": No address associated with hostname"}
LOG  createUDPListener - bind error: {"message":"Unable to resolve host "badport": No address associated with hostname"}
ERROR  Error: Unhandled error. (Unable to resolve host "badport": No address associated with hostname), js engine: hermes
It is being passed a function to receive the callback error, as seen on log line 3, which prints it out. Then the package seems to crash it anyway.
This is all wrapped in a try-catch, so it is not trickling up and being caught.
ie
try {
const socket = dgram.createSocket({...});
socket.bind(port, (error) => .... );
} catch (error) { .... }
The project is on all the latest version of all packages.

@Rapsssito
@mvayngrib
any ideas or suggestions?

For anyone who needs this fixed and the maintainers don't seem to be active anymore:
Issue is located in UdpSocket.js at the bind function, line 106.
By changing
return self.emit('error', err)
to
return;
the emitter does not seem to create the overall crash anymore.
the patch-package file looks like this:
diff --git a/node_modules/react-native-udp/src/UdpSocket.js b/node_modules/react-native-udp/src/UdpSocket.js
index 4f65986..1138697 100644
--- a/node_modules/react-native-udp/src/UdpSocket.js
+++ b/node_modules/react-native-udp/src/UdpSocket.js
@@ -103,7 +103,8 @@ export default class UdpSocket extends EventEmitter {
           self._state = STATE.UNBOUND
           self._debug('failed to bind', err)
           if (callback) callback(err)
-          return self.emit('error', err)
+          // return self.emit('error', err)
+          return;
         }
         self._debug('bound to address:', addr.address, 'port:', addr.port)
         self._address = addr.address

this is a work-a-round and not an official fix.

When bind throws an error with socket.bind(), the app will crash. The error is received but even though it is handled in the JS, the package still crashes an app.

afaik (untested) this is consistent with the Node.js core implementation, where the Socket extends an EventEmitter, which requires error events to be handled. See https://nodejs.org/api/events.html#error-events

If an EventEmitter does not have at least one listener registered for the 'error' event, and an 'error' event is emitted, the error is thrown, a stack trace is printed, and the Node.js process exits.

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community attention? This issue may be closed if no further activity occurs.

No.

When bind throws an error with socket.bind(), the app will crash. The error is received but even though it is handled in the JS, the package still crashes an app.

afaik (untested) this is consistent with the Node.js core implementation, where the Socket extends an EventEmitter, which requires error events to be handled. See https://nodejs.org/api/events.html#error-events

If an EventEmitter does not have at least one listener registered for the 'error' event, and an 'error' event is emitted, the error is thrown, a stack trace is printed, and the Node.js process exits.

in other words, you should subscribe to socket 'error' events and handle them

you mean like this part? socket.bind(port, (error) => .... );
i think it has to deal with how the js engine is handling the error. i'm assuming it's since react native is now on the hermes engine and not on the jsc anymore. it's only a hypothesis, i haven't officially tested that, but it aligns with it.

i mean socket.on('error', errorHandler), before you even bind

i mean socket.on('error', errorHandler), before you even bind

that's a fair point. I'll try it out soon and get back to you


reconcile: Set observed gen only when conditions exist

The observed generation must be set only when actual observation is
made. When an actual observation is made, some conditions are set on the
object. Introduce a helper function
addPatchOptionWithStatusObservedGeneration() to set the patcher option
WithStatusObservedGeneration only when there's any condition in the
status.
Updates the existing tests that depended on this behavior.
This fixes the issue where the observed generation is set by the patcher
when a reconciler does an early return for setting the finalizers only.
With this, the observed generation will be updated only when some
observations are made on the object based on the usual rules of success
result, no error, ignore error and stalled condition.
After finalizer setting reconcile -
Before this change:
status:
  observedGeneration: 1

After this change:
status:
  observedGeneration: -1

Ref: https://github.com/fluxcd/flux2/issues/2736

Looks like it's minio again:
*** Test killed with quit: ran too long (11m0s).
FAIL	github.com/fluxcd/source-controller/pkg/minio	660.006s

IMO this is a regression bug fix not an enhancement

I haven't verified that it fixes the CLI issue. Couldn't reproduce it locally by creating a GitRepo and Kustomization rapidly based on the example in https://github.com/fluxcd/flux2-multi-tenancy/blob/50ad87d14542a09249bfe761b441078f12b4053f/.github/workflows/e2e.yaml#L43 . Need to try it in flux2-multi-tenancy CI.
But the CLI code that fails, maybe https://github.com/fluxcd/flux2/blob/938f2570efb05f26ff83b7684f950389b7d3f60b/cmd/flux/create_source_helm.go#L245-L250 , doesn't use the status.observedGeneration, but Ready condition's observedGeneration.
I believe that's very different from what this change does and may not be directly related.

This is indeed a bug and not an enhancement as it was not working as intended, even if this would not pose an issue to the CLI.


FIX: add right module reference to avoid breaking failure for lower version (3.7)

The method references would handle breaking failures to other lower version of python

Hi can anyone merge this please?
thank you

As this PR had requested changes to be applied but has been inactive for a while, it's now going to be closed. But if there's anyone interested, feel free to create a new PR.


add SSH to GitHub check and a note about it in the README

closes #43
According to GitHub docs, ssh -T<EMAIL_ADDRESS>seems to be the proper way to test if the current user is able to connect to GitHub using SSH authentication, which at the moment is a requirement for this script to work. After some experimentation, I determined that ssh -T<EMAIL_ADDRESS>will return 1 if it's successful, and probably some other positive integer if it is not.
Based on that, I added a test early on in the script to fail early with a message if the current user cannot connect to GitHub with SSH, and I also added a note to the README that SSH is necessary to use this tool.

In the context of what we want to achieve, I do think that 1 means success for us.

yeah, super weird... I don't understand why that's the case, but that's what experimentation tells me


Kill updateVersion.sh and release/

This is no longer used
Fixes https://github.com/istio/istio/issues/4340
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[x] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

@howardjohn: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-mixer-k8s-tests_istio
9422a9d586d84bcd6723518e8d289eaad2d15266
link
/test integ-mixer-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


[#27] | Add expand (+) button to card headers next to the website button

Fixed #27

Thanks. The only issue is the look in small devices. iPhone SE, 375px width below:


Update _index.md

Maintained should be maintained -- fixed typo

This is an automated message:
You can preview this docs PR at http://394.docs-pr.validatedpatterns.io
Note that they get generated every five minutes, so please wait a bit.