variable not updating in debug pane when using debug console

Environment data

VS Code version: 1.33.3
Extension version (available under the Extensions sidebar): 2019.3.6558
OS and version: linux ubuntu 16.04
Python version (& distribution if applicable, e.g. Anaconda): python 3.6
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv
Relevant/affected Python packages and their versions: all

Expected behavior
in debug mode on breakpoint, when changing a var in debug console- automatically show change in watch and variable
Actual behavior
no change is shown until at least one step in code is made.
Steps to reproduce:

breakpoint on line after 'a=1'
change in debug console a=8
see no change in vars and watches

This is a issue with VSC not refreshing after expression evals. see comment for more details: https://github.com/Microsoft/ptvsd/issues/1356#issuecomment-483781467

is there any updates with that?

@YoniChechik Apologies for the delay. I've re-opened the upstream issue, hopefully we'll get to the bottom of this.

@DonJayamanne this issue is now fixed. please update about what you think

Closing as the upstream issue has been resolved in VS Code.


Team Dashboard : Inside team dashboard the name of the Application is not seen.

When we enter inside a team dashboard , the name of the Application is not seen anywhere.
I see that this can be added in splitview.html. I wanted to know how to retrieve the app name from here.

There is not a way to see the application name in the Dashboard view. However, changes are in the works to allow this.


Next 13 - Attempted import error: 'useRef' is not exported from 'react' (imported as 'React').

Describe the bug
I've come across a bug where I'm getting the below error. Not sure if it's a Next issue or React 18 issue
Expected behavior
Error is not displayed
How to reproduce
New Next 13 project, add <PhotoAlbum /> component to app/page.tsx
Screenshots / Logs
./node_modules/react-photo-album/dist/index.mjs
Attempted import error: 'useRef' is not exported from 'react' (imported as 'React').

Import trace for requested module:
./node_modules/react-photo-album/dist/index.mjs
./app/art/page.tsx

tsconfig.ts
{
  "compilerOptions": {
    "target": "es5",
    "lib": ["dom", "dom.iterable", "esnext"],
    "allowJs": true,
    "skipLibCheck": true,
    "strict": true,
    "forceConsistentCasingInFileNames": true,
    "noEmit": true,
    "esModuleInterop": true,
    "module": "esnext",
    "moduleResolution": "node",
    "resolveJsonModule": true,
    "isolatedModules": true,
    "jsx": "preserve",
    "incremental": true,
    "plugins": [
      {
        "name": "next"
      }
    ],
    "baseUrl": ".",
    "paths": {
      "@/*": ["./*"]
    }
  },
  "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
  "exclude": ["node_modules"]
}

package.json
{
  "name": "test",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "dev": "next dev",
    "build": "next build",
    "start": "next start",
    "lint": "next lint"
  },
  "dependencies": {
    "@contentful/rich-text-react-renderer": "^15.16.2",
    "@headlessui/react": "^1.7.10",
    "@heroicons/react": "^2.0.15",
    "@next/font": "13.1.5",
    "clsx": "^1.2.1",
    "contentful": "^10.0.0-beta-v10.10",
    "date-fns": "^2.29.3",
    "eslint": "8.32.0",
    "eslint-config-next": "13.1.5",
    "graphql-request": "^5.1.0",
    "next": "13.1.5",
    "next-sitemap": "^3.1.47",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "react-photo-album": "^2.0.1",
    "yet-another-react-lightbox": "^2.3.1"
  },
  "devDependencies": {
    "@svgr/webpack": "^6.5.1",
    "@types/node": "18.11.18",
    "@types/react": "18.0.27",
    "@types/react-dom": "18.0.10",
    "autoprefixer": "^10.4.13",
    "postcss": "^8.4.21",
    "prettier": "2.8.3",
    "prettier-plugin-tailwindcss": "^0.2.2",
    "tailwindcss": "^3.2.4",
    "typescript": "4.9.4"
  }
}

Additional context
No response

Classic, move the PhotoAlbum to a client component.
"use client";

import { PhotoAlbum } from "react-photo-album";

export default function ArtGallery({ photos }) {
  return (
      <PhotoAlbum
        photos={photos}
        layout="columns"
      />
  );
}

I was about to ask whether you are trying to render RPA in a server component since I noticed the "app" directory :)


Add: Binh Duong TV 4

Channel Name
Binh Duong TV 4
Alternative Names (optional)
Bình Dương TV 4
Network (optional)
No response
Owners (optional)
Binh Duong Radio and Television Station
Country
VN
Subdivision (optional)
VN-57
City (optional)
No response
Broadcast Area
c/VN
Languages
vie
Categories (optional)
series,entertainment
NSFW
FALSE
Launched (optional)
2005-04-15
Closed (optional)
No response
Replaced By (optional)
No response
Website (optional)
http://www.btv.org.vn/
Logo
https://i.postimg.cc/HnxYFHtK/BTV4-logo.png
Notes
No response

Please update your request:

category ids must be separated by ;

https://github.com/iptv-org/database/blob/master/CONTRIBUTING.md#channels


Contribute to README.md

Hi Said,
are you ok with me contributing to the README file (e.g. adding support for content negotiation to the benefits section) and fixing some small typos?

Hi Annika,
Sure, you're very welcome

Hi Annika,
Sure, you're very welcome


Fixed #22640 -- Raised TypeError when instantiating model with conflicting keyword and positional args.

ticket-22640

@jacobtylerwalls Thanks for this patch :+1: , however IMO ticket-22640 hasn't been accepted to add a more descriptive error message (__init__() got multiple values for argument 'headline' is clear enough.), but rather to merge *args and **kwargs somehow. Preferring *args or **kwargs would be misleading and it's worth complexity, so I'm going to close this ticket.

@jacobtylerwalls Thanks for this patch +1 , however IMO ticket-22640 hasn't been accepted to add a more descriptive error message (__init__() got multiple values for argument 'headline' is clear enough.), but rather to merge *args and **kwargs somehow. Preferring *args or **kwargs would be misleading and it's worth complexity, so I'm going to close this ticket.

Sorry, I misread the ticket description :facepalm: .

@jacobtylerwalls Thanks for updates :+1: I pushed small edits.


BitOrder is not defined in all plaforms

https://github.com/simplefoc/Ardunio-FOC-drivers/blob/fc74bae6a996e1c556d79dee22d4386bcd85175f/src/encoders/as5048a/AS5048A.h#L52
BitOrder is not defined in all plaforms.  See: https://github.com/adafruit/Adafruit_BusIO/blob/13bd6906a62b5f2e8cbe8529f55ad13880ffd730/Adafruit_SPIDevice.h#L6
Currently this does not compile on the ESP32 platform.
In file included from .pio\libdeps\pico32\Simple FOC drivers\src\encoders\as5048a\AS5048A.cpp:8:0:
.pio\libdeps\pico32\Simple FOC drivers\src\encoders\as5048a\AS5048A.h:52:47: error: 'BitOrder' has not been declared
static SPISettings AS5048SPISettings(1000000, BitOrder::MSBFIRST, SPI_MODE1);
^

Thanks, I'll replace it by its numeric value or see if there's a #define like for SPI_MODE1

This was a big pain, but I believe it is now fixed and compiling clean for all our platforms. I will close this ticket, please re-open if you still experience the issue.


Fix deprecated method delegation in tracer.rb for Ruby 3.0

Use ruby2_keywords to support Ruby 2.6, 2.7, and 3.0.
See the "compatible delegation" section in this blog post for more information about this solution: https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/
Essentially, Ruby changed the way it handles arguments in method definitions, and this was causing deprecation warnings in Ruby 2.7.2, which became an error with the release of Ruby 3.
I don't love that this defines ruby2_keywords in the main namespace like this, so I'd be open to feedback as to how this should be implemented. We could use the ruby2_keywords gem, but I'm hesitant to add an extra dependency to Sorbet.
Sorbet still fails to generate the hidden definitions on Ruby 3.0 with this change, but it makes it farther into the process (it hits an error about sorted_set since it was extracted into a separate gem? Need to look into that more)
Motivation
Fixes #3849 so that Ruby 3.0 can be used (well, partially).
Test plan
This should be covered by the existing hidden-definitions tests. I've run the hidden definitions generator for my Rails app vglist on Ruby 2.6, and 2.7 and verified that it works for both, and resolves the deprecation warning in Ruby 2.7. For 3.0, it fixes the initial problem, but another issue occurs later in the hidden definitions generation process that seems unrelated, so it still doesn't fully work.

Before this change on Ruby 3:
Connors-MacBook-Pro-2:vglist connorshea$ CI=true bundle exec srb rbi hidden-definitions
Running command: hidden-definitions
Generating: sorbet/rbi/hidden-definitions/
Requiring all of your code
/Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/cache.rb:10:in `initialize': wrong number of arguments (given 3, expected 2) (ArgumentError)
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/lib/gem-generator-tracepoint/tracer.rb:40:in `new'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/lib/gem-generator-tracepoint/tracer.rb:40:in `new'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache.rb:45:in `setup'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bootsnap-1.5.1/lib/bootsnap.rb:26:in `setup'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bootsnap-1.5.1/lib/bootsnap/setup.rb:31:in `<top (required)>'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/activesupport-6.1.0/lib/active_support/dependencies.rb:332:in `require'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/activesupport-6.1.0/lib/active_support/dependencies.rb:332:in `block in require'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/activesupport-6.1.0/lib/active_support/dependencies.rb:299:in `load_dependency'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/activesupport-6.1.0/lib/active_support/dependencies.rb:332:in `require'
	from /Users/connorshea/Programming/vglist/config/boot.rb:5:in `<top (required)>'
	from /Users/connorshea/Programming/vglist/config/application.rb:2:in `require_relative'
	from /Users/connorshea/Programming/vglist/config/application.rb:2:in `<top (required)>'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/activesupport-6.1.0/lib/active_support/dependencies.rb:332:in `require'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/activesupport-6.1.0/lib/active_support/dependencies.rb:332:in `block in require'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/activesupport-6.1.0/lib/active_support/dependencies.rb:299:in `load_dependency'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/activesupport-6.1.0/lib/active_support/dependencies.rb:332:in `require'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/lib/require_everything.rb:25:in `load_rails'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/lib/require_everything.rb:18:in `require_everything'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/lib/hidden-definition-finder.rb:64:in `require_everything'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/lib/hidden-definition-finder.rb:43:in `main'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/lib/hidden-definition-finder.rb:38:in `main'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/bin/srb-rbi:232:in `block in make_step'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/bin/srb-rbi:224:in `main'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/bin/srb-rbi:237:in `<main>'

With this change on Ruby 3:
Connors-MacBook-Pro-2:vglist connorshea$ CI=true bundle exec srb rbi hidden-definitions
Running command: hidden-definitions
Generating: sorbet/rbi/hidden-definitions/
Requiring all of your code
NameError: uninitialized constant ActionController::Middleware
Did you mean?
Naming all Modules
Naming Object/Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/3.0.0/set/sorted_set.rb:4:in `rescue in <top (required)>': The `SortedSet` class has been extracted from the `set` library.You must use the `sorted_set` gem or other alternatives. (RuntimeError)
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/3.0.0/set/sorted_set.rb:1:in `<top (required)>'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:in `require'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/lib/real_stdlib.rb:77:in `const_get'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/lib/real_stdlib.rb:77:in `call'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/lib/real_stdlib.rb:77:in `real_const_get'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/lib/constant_cache.rb:157:in `block in dfs_module'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/lib/constant_cache.rb:145:in `each'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/lib/constant_cache.rb:145:in `dfs_module'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/lib/constant_cache.rb:70:in `initialize'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/lib/gem-generator-tracepoint/tracer.rb:54:in `new'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/lib/gem-generator-tracepoint/tracer.rb:54:in `new'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/lib/hidden-definition-finder.rb:68:in `constant_cache'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/lib/hidden-definition-finder.rb:75:in `all_modules_and_aliases'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/lib/hidden-definition-finder.rb:44:in `main'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/lib/hidden-definition-finder.rb:38:in `main'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/bin/srb-rbi:232:in `block in make_step'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/bin/srb-rbi:224:in `main'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/bin/srb-rbi:237:in `<main>'
/Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require': cannot load such file -- sorted_set (LoadError)
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/loaded_features_index.rb:89:in `register'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:44:in `require'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:in `require'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/3.0.0/set/sorted_set.rb:2:in `<top (required)>'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:in `require'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/lib/real_stdlib.rb:77:in `const_get'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/lib/real_stdlib.rb:77:in `call'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/lib/real_stdlib.rb:77:in `real_const_get'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/lib/constant_cache.rb:157:in `block in dfs_module'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/lib/constant_cache.rb:145:in `each'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/lib/constant_cache.rb:145:in `dfs_module'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/lib/constant_cache.rb:70:in `initialize'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/lib/gem-generator-tracepoint/tracer.rb:54:in `new'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/lib/gem-generator-tracepoint/tracer.rb:54:in `new'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/lib/hidden-definition-finder.rb:68:in `constant_cache'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/lib/hidden-definition-finder.rb:75:in `all_modules_and_aliases'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/lib/hidden-definition-finder.rb:44:in `main'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/lib/hidden-definition-finder.rb:38:in `main'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/bin/srb-rbi:232:in `block in make_step'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/bin/srb-rbi:224:in `main'
	from /Users/connorshea/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/sorbet-0.5.6164/bin/srb-rbi:237:in `<main>'

Progress!


DOWO  and RWBL missing in ML model (?)

When addressing the inconsistencies in 4-letter codes between ML and PC datasets, I noticed that the following birds in the PC dataset do not have corresponding entries in birds.txt (which I assume is an index of all the birds in the ML output/species the model is trained on):
DOWO (Downy Woodpecker)
RWBL (Red-winged Blackbird)
Both are rare on the landscape but have been detected in point count surveys. Not a huge deal, but just wanted to document the observation here so that we avoid confusion/frustration when interpreting occumodel output for those two species.

If we have to retrain the model to add these species let's also do the following:

Add Pine Grosbeak (PIGR)
Brewer's Sparrow has a lot of false positives
It might be nice to be able to see the breakdown of random noises generated by humans and airplanes. This could be useful if we use H4N recordings.


MATT still has a few problems

          > ![CleanShot 2023-11-11 at 20 38 18@2x](https://user-images.githubusercontent.com/1561190/282262256-62939586-8c82-413c-bbc6-68a2fcfedaaa.png) Will be using the same colors I picked for the foundry 2 theme in the next release

One of the fonts is still hard to read. Arguably 2 if you include the dark turquoise
Originally posted by @Peach774 in https://github.com/Dorako/pf2e-dorako-ui/issues/266#issuecomment-1807182680
Wanted to post this in a new issue since its like 90% perfect but still needs a few changes

Also seems to be an issue with the core rulebook theme that has been; cream colored text on the parchment is difficult to read.

Foundry 11.315
MATT 11.26
Dorako UI 3.4.6
Dorako UX 1.3.6


Issues with chromium edge browser

I'm having issues to load the dashboard page and proxy hosts. I'm using Microsoft Edge Version 86.0.622.61 (Official build) (64-bit).
After inspecting the console I get those errors
main.bundle.js?v=2.6.1:1 TypeError: Cannot read property 'call' of undefined
    at r (main.bundle.js?v=2.6.1:1)
    at main.bundle.js?v=2.6.1:27

Uncaught (in promise) TypeError: Cannot read property 'call' of undefined
    at r (main.bundle.js?v=2.6.1:1)
    at main.bundle.js?v=2.6.1:27

TypeError: n is not a constructor
    at main.bundle.js?v=2.6.1:27
    at main.bundle.js?v=2.6.1:27

Uncaught (in promise) TypeError: n is not a constructor
    at main.bundle.js?v=2.6.1:27
    at main.bundle.js?v=2.6.1:27

It seems it only affect those 2 pages.
This works as intended with google chrome
Any Ideas?

Did you try to clear the browser's cache ?

Oh, never mind, I tried to clear directly the cache as I thought it might be the problem, but doing it quickly I didn't pay attention it was only the last hour cache.
After checking carefully it was the problem, sorry to bother for that


Fixes #291 : Hamburger menu and footer padding in contributors page

Fixes Issue🛠
Closes #291
Description👨💻

The Hamburger menu was not working on the contributor's page on small devices. Made fixes to the contributors.html file.
The footer was still overlapping in some cases, fixed it via this commit.

Type of change📄

[x] Bug fix (non-breaking change which fixes an issue)

How this has been tested✅

The hamburger menu has been tested on small devices.
The footer has been checked and verified on all media screens via Chrome Developers Tool.

Checklist✅

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have added demonstration in the form of GIF/video file
[x] I am an Open Source Contributor

Screenshots/GIF📷:

Merged 🎉 @pb0126


Update to zig 0.10.0-dev.4476+0f0076666

Based on #37
I removed the align(@alignOf(u32)) from the first bool in a generated bitset. From my reading of the zig documentation, it seems that packed structs now do this by default? I haven't run any extensive tests to see if it works, other than getting a hello world running.
This PR also removes support for stage1 at the moment, though that could be remedied by using std.meta.FnPtr instead of *const fn.

Hello and thanks for the pull request. I've actually already got a branch compatible with zig master that I will merge once 0.10.0 has been released. See https://github.com/ifreund/zig-wayland/tree/next-zig


Is there any source code for ICS3Fuzzer?

I've rencently read your thesis on ACSAC, I would like to test it on TIA portal and simatic manager.

Thanks for your interest, I will upload the code these days and along with some tutorials.

Thanks, for doing me a great favor.

Hello, I went through the code but couldn't understand the fuzzing algorithm. Is the fuzzing mechanism based on the Boofuzz, or after extracting the semantics using dispatcher, you are running your own algorithm?
I want to Fuzz the IEC-104 (non-proprietary) protocol. Is there any way to do this?

Hi, ICS3Fuzzer is designed to fuzz protocol implementated in supervisory software, who plays on a client role in the communication, and equipped with heavy GUIs. The fuzzing mechanism is in dispather.
For IEC-104, it can be implementated in the sever role (provide with service) or the client role (equipped with GUI).
What are you going to fuzz?
For server role, you can dirrectly use Boofuzz or Sulley to write some fuzzing templates, which is not the scope of ICS3Fuzzer.

Hello, I went through the code but couldn't understand the fuzzing algorithm. Is the fuzzing mechanism based on the Boofuzz, or after extracting the semantics using dispatcher, you are running your own algorithm?
I want to Fuzz the IEC-104 (non-proprietary) protocol. Is there any way to do this?

Hi, ICS3Fuzzer is designed to fuzz protocol implementated in supervisory software, who plays on a client role in the communication, and equipped with heavy GUIs. The fuzzing mechanism is in dispather.
For IEC-104, it can be implementated in the sever role (provide with service) or the client role (equipped with GUI).
What are you going to fuzz?
For server role, you can dirrectly use Boofuzz or Sulley to write some fuzzing templates, which is not the scope of ICS3Fuzzer.

I'm trying to fuzz basic protocols like Modbus/TCP, CIP, etc.

I'm trying to fuzz basic protocols like Modbus/TCP, CIP, etc.
In my understanding, generally fuzzing Modbus/TCP, CIP service is not the scope of ICS3Fuzzer.
There are many existing work covering Modbus/TCP, e.g., Boofuzz,  Polar: Function code aware fuzz testing of ics protocol, ICS protocol fuzzing: Coverage guided packet crack and generation.

What do you mean by heavy GUIs?
Heavy GUIs means the protocol implementation coupled with many GUIs, e.g., Buttons, Menus, Checkboxs, etc.


Enable DevOPs Starter for ML Applications

Doc

@pulkitaggarwl - Can you give me access to this doc? I cant access it

Cannot access the file.


Support python3

Use django's six module to support python3

[x] add python 2.7 specific tox requirement.
[x] drop 3.2 and 3.3
[x] fix code
[ ] refactoring (next PR)

Any word on this? I would love to see this get merged in, I have been using this library for a few months at my company and had to do all the py3 conversions already, and would love to get us on the master branch rather than our own internal one.

Just on my way home right now, then I'll take a look! If you have any other
feedback on the package, I'd love to hear it.
On Wed, Apr 20, 2016, 8:28 PM Titus Peterson<EMAIL_ADDRESS>wrote:

Any word on this? I would love to see this get merged in, I have been
using this library for a few months at my company and had to do all the py3
conversions already, and would love to get us on the master branch rather
than our own internal one.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/JBKahn/django-sharding/pull/23#issuecomment-212665985

Ya this looks great!

thank you so much :)


SSML tags processing bug

I want to add a pause to the speech. According to this article one may use ssml tag break. The problem is that it does not work if I add a closing tag to the request.
Namely, when I send a request with the following text (with a closing tag), there is no pause.
'Hello <break time="2s"></break> world'

However, if I use a self-closing tag (like in example in the article), it works just fine.
'Hello <break time="2s"/> world'

The first case should be supported on your side as well, since it is completely identical to the second one from XML perspective.

It happens to me also when ever I tried to add intonations. It never
Generate Audio with intonations
On Fri, Feb 2, 2024, 5:31 PM matyushinleonid @.***>
wrote:

I want to add a pause to the speech. According to this article
https://help.elevenlabs.io/hc/en-us/articles/13416374683665-How-can-I-add-pauses
one may use ssml tag break. The problem is that it does not work if I add
a closing tag to the request.
Namely, when I send a request with the following text (with a closing
tag), there is no pause.
'Hello  world'
However, if I use a self-closing tag (like in example in the article), it
works just fine.
'Hello  world'
The first case should be supported on your side as well, since it is
completely identical to the second one from XML perspective.
—
Reply to this email directly, view it on GitHub
https://github.com/elevenlabs/elevenlabs-python/issues/175, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/A5KL2FWQPPVACTG5X3WRYQTYRTMC5AVCNFSM6AAAAABCWTKFZ6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGEYTIOBSGY3DSNI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Hey thanks for submitting the issue! Since there is a workaround that works, I'll be closing this for now!


Infrastructure

Adopts the workspace and CI from bevy.

I wish we had a better way of keeping these things synced :(


Gradient editor: clicking inside handle area (and even a little outside) to select handle moves it to exact cursor position

Godot version
v4.0.2.stable.official [7a0977ce2]
System information
Linux Ubuntu 22.04 with Unity desktop
Issue description
Also tested on: v3.5.2.stable.official [170ba337a]
When clicking on a gradient handle to select it (generally just to change color), the gradient handle moves to the exact click position (the handle rectangle centers around it on X). This happens even if you don't drag the mouse at all before release. You can click anywhere in a small rectangle surrounding the whole handle (including the thin segment at the top) to trigger it.
This makes it very hard to change a color without messing up handle positions, except when they are on the edges (in which case you can still snap them to the edge later).
The handles should (1) move move on simple click, and ideally I'd say they should (2) not move when accidentally moving the mouse by a few pixels too, but that part would be more complex to design (how to define a simple click: a click that is a. short enough in time, or b. that doesn't move a lot? a. would prevent users who do a quick long drag to move handles, b. would prevent users who very slowly try to move the handle by a few pixels on purpose to make it move; maybe a combination of time and distance check would work)
I would have to try the gradient editor a little once (1) is fixed and see if I still accidentally move the handle and we need (2).
For now, consider that this issue is about (1) only.
Steps to reproduce

Create any node with Gradient Color, such as CPUParticles2D > Color > Color Ramp
Create a new gradient
Click on a handle at different places inside and near the handle rectangle at the bottom and also the thin segment at the top
Note that when you click near enough but not on exact center, the handle moves slightly to match exact click position, even if you don't release the mouse

Minimal reproduction project
N/A

Note that https://github.com/godotengine/godot-proposals/issues/6555 and its PR https://github.com/godotengine/godot/pull/71915 can solve part of the issue with snapping; but if user doesn't use snapping at all, I fear it won't work (unless dev also fixes this issue on the go, didn't check the code changes but if someone wants to work on a PR for my issue, they may want to have a look at their PR just in case)

I can't reproduce it at all, even though I'm also on Ubuntu 22.04, thus my PR probably doesn't fix it. My assumption would be that whatever problem you're having, it runs deeper than just the gradient editor. For example, does this also happen in the Curve editor?

4.0.2 still has the issue.
4.1: I cannot repro with perfect (non-moving) click indeed.
Slightly moving the mouse as mentioned in point (2) will indeed move the gradient to new cursor position center. However, the threshold before a significant mouse motion is detected (basically 1px on screen) is now high enough that I don't accidentally move a gradient key. We'd have to see if other users have troubles with this, but as I said in point (2), it's a more complicated issue because some users may want pixel precise displacement to a nearby position.
I don't know what changed between 4.0.2 and 4.1, but since issue point (1) is fixed, I consider this closed.


OSD mode (--psm 0) always returns dummy results when language (-l eng, -l pol, etc.) is specified

Environment

Tesseract Version: 4.1.1 and 5.0.0-alpha-635-g90405
Platform: macOS 10.15.3 (tested with v4) and Ubuntu 18.04 (tested with v4 and v5)

Current Behavior:
Invocations with options --psm 0 -l eng always return the same dummy results for all valid images:
Orientation in degrees: 0
Rotate: 0
Orientation confidence: 0.00
Script: Latin
Script confidence: 2.00

Expected Behavior:
Results should contain actual Orientation degrees, Rotate and Orientation confidence values.

Solution: do not use language specification when you for osd.

I thought it should work with language specification? https://github.com/tesseract-ocr/tesseract/issues/1926#issuecomment-423932013

It looks like a duplicate of #2062.

https://github.com/tesseract-ocr/tesseract/issues/2062#issuecomment-490974756
You need to:

Download eng.traineddata from the tessdata repo,
Create new tessdata directory somewhere.
Add --tessdata-dir /path/to/your/tessdata to the the tesseract command.


the HTML5 player looks super old, possible to redesign it?

Description
<Detail your problem here as clearly and concisely as possible 🙂. Help us help you by saying why and giving some context!>
Steps to reproduce issue
Details

Are you nativefying a public website?
Feature request? Have you looked at nativefier --help to see if an existing option could fit your needs?
Full nativefier command used to build your app: <command here>
Version of Nativefier (run nativefier --version): v0.0.0
Version of node.js (run node --version): v0.0.0
OS: <OS here>
Error message / stack trace (if any):

<Error message / Stack trace here>

You could possibly make your video player, but nativefier uses electron which uses chromium. maybe go ask somewhere on the chromium projects?


Scratch 3 Support?

Will you update this for 3.0?

We are looking forward but this repository is not having any update for long time


relax trading212 validation, allow missing columns

It seems that when a column is empty Trading212 might remove it entirely from the csv, causing the parser to fail. This relaxes the validation to fail only on unknown columns and can also handle the conversion fee which can sometimes appear.

Thanks!


Request for Additional blueprints options

Hi team,
Thanks to check the feasibility to include configurations other than AS3 only, for example loading ucs or tmsh configuration lines.
and the added configurations option to be included in the base VEs (with the option to be left empty).

Hi @mahdymo,
In the upcoming version 2.0.1 and later, the additional ability to set/change configurations using: tmsh and bash syntax will be added.
Example of usage:
additional_commands:

echo date F5 Virtual Network Functions Manager > /config/vnfm_command
cat vnfm_command
tmsh show sys soft > /config/bigip_software
cat bigip_software

Thanks,
Krzysztof

Many thanks Krzysztof ^^

Version 2.0.1 has been released you can find the documentation on how to use this feature here:
https://clouddocs.f5.com/cloud/nfv/latest/inputs-def.html#common-vnfm-inputs


Added 'to satisfy' assertion

Per advice from @papandreou I have added this assertion.

Solves #1.

I have another set of changes adding type support for Map and List, plus a couple of assertions. Let me know if I should roll them into this PR or open another later. (They depend some on this one.)

Thanks for the PR. I'd appreciate having the other ones in separate PRs.

@gertsonderby can you elaborate on why you switched object for any? and could you maybe provide a test? Then I'm glad to merge this (and any other addition you have ;)

<any> means that it can then satisfy against, well, any subject, not just objects. Otherwise, you would rather confusingly get errors when e.g. satisfying an Immutable.List against an array, for example. As well, the assertion also allows matching against a function as in { foo: expect.it('to be a number') }.

ah 💡  right, especially the last example makes sense 👍

@gertsonderby I was just trying out your PR when I realized that the unexpected-react plugin throws some weird errors.
considering this small example:

it.only('tests', function () {
  const Foo = function ({data}) {
    return

  };
  const renderer = TestUtils.createRenderer();
  const data = Immutable.fromJS({foo: 'bar'});

  renderer.render(<Foo data={data}/>);

  expect(renderer, 'to have rendered',
);
});

the to have rendered assertion yields
+expected

-to have rendered

currently checking the implementation of @bruderstein (maybe he knows why) if I'm doing sth wrong in the react tests or if we missed sth here.

I think this is down to this implementation. So it's actually checking an Immutable against an Immutable, but the to satisfy assertion is only calling .toJS() on the left hand side, which means expect(someImmutable, 'to satisfy', someImmutable) will always fail.
I think simply adding a <Immutable> to [exhaustively] satisfy <Immutable> assertion should be enough.
(for reference, the to have rendered assertion uses to satisfy on all props - to have exactly rendered uses to equal).
It might be nice to add to equal assertions in a similar fashion here :)

Thanks for clarifying. Thought we find the issue much faster when I ping you ;)

The <Immutable> to satisfy <Immutable> assertion is also one I ended up coming up with, as described by @bruderstein.

Ok, but without that I cannot merge this PR since it breaks unexpected-react

It might make more sense for me to make a different PR, containing the code I've built up over a while of testing with Immutable. It's rather a lot more, but it also covers more cases. I'll need to find time to write a test suite for it, though - which I don't have right now. I'll get back to you soonest though. Hopefully next week? Otherwise in the start of the New Year.

If you look at my fork, I've copied over the code, and made the existing tests run. I'll see when I can add tests to cover the new cases. Hopefully soon.
I'll close this PR for now, open a new one when I'm ready.

sounds awesome, thanks for contributing 👍


Sensor Clustering

Rough implementation of sensor clustering. As discussed, switched the mapping library to dash-leaflet. When a group of sensors are almost touching on the map, cluster them together. Click on the cluster to zoom in. I can do a second pass later to make this look more aesthetic.
Also added scroll lock for the map to help with #45
Closes #39

Wow this looks great @brianstrauch ! Thanks 10000000!


AllNeededItems: specify in tooltip that "Highlight missing items" behavior is a Quest Helper config setting

This tooltip has definitely cut back of the number of messages in RuneLite support related to "Highlight missing items" being enabled, but there is still occasional traffic about it.
This PR changes the message to say that it's specifically a Quest Helper setting, rather than just saying it's a config setting.

Already implemented with https://github.com/Zoinkwiz/quest-helper/commit/cebd56c41852a420671422f0a44128c87ffb99fa


chore(main): release 1.8.0

:robot: I have created a release beep boop
1.8.0 (2024-10-03)
Features

add create trigger methods to md (78a2d9b)
add create_trigger to init and user_commands (bd3ab9e)
allow extra params in several common functionalities (#253) (479e083)
change how tables are converted to strings (730d6ee)
create util methods for system calls (219eefa)
make test signs enabled by default (2d81c89)
reduce from 6 regex to 4 (4a923c7)

Bug Fixes

don't return boolean if there's no coverage (f69f8e5)
dont fail validate cmd for local only (969ef64)
only default enable code signs if in project (1501684)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.8.0
:sunflower:


haskellPackages.shellFor: improve documentation

Motivation for this change
I was trying to figure out a problem with benchmarks not being included in shellFor (per https://github.com/NixOS/nixpkgs/pull/102323 from @harendra-kumar).
It took me a while to just figure out how shellFor works.  I did a small refactoring, and I added some documentation to make it easier to understand.  I think this would be an improvement on the current state of the code.
None of the functionality should be changed.
cc @maralorn and @peti
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

I also have a local commit that adds support for benchmark stuff (which will fix #102323):
diff --git a/pkgs/development/haskell-modules/make-package-set.nix b/pkgs/development/haskell-modules/make-package-set.nix
index c5604aa4196..8201f0d3aff 100644
--- a/pkgs/development/haskell-modules/make-package-set.nix
+++ b/pkgs/development/haskell-modules/make-package-set.nix
@@ -293,6 +293,10 @@ in package-set { inherit pkgs stdenv callPackage; } self // {
       , # Whether or not to generated a Hoogle database for all the
         # dependencies.
         withHoogle ? false
+      , # Whether or not to include benchmark dependencies of your local
+        # packages.  You should set this to true if you have benchmarks defined
+        # in your local packages that you want to be able to run with cabal benchmark
+        doBenchmark ? false
       , ...
       } @ args:
       let
@@ -398,7 +402,11 @@ in package-set { inherit pkgs stdenv callPackage; } self // {
           version = "0";
           license = null;
         }
-        // packageInputs;
+        // packageInputs
+        // pkgs.lib.optionalAttrs doBenchmark {
+          # `doBenchmark` needs to explicitly be set here because haskellPackages.mkDerivation defaults it to `false`.  If the user wants benchmark dependencies included in their development shell, it has to be explicitly enabled here.
+          doBenchmark = true;
+        };

         # This is a pseudo Haskell package derivation that contains all the
         # dependencies for the packages in `selected`.
@@ -418,9 +426,11 @@ in package-set { inherit pkgs stdenv callPackage; } self // {
         # `haskellPackages.mkDerivation`).
         #
         # pkgWithCombinedDepsDevDrv :: Derivation
         pkgWithCombinedDepsDevDrv = pkgWithCombinedDeps.envFunc { inherit withHoogle; };

-        mkDerivationArgs = builtins.removeAttrs args [ "packages" "withHoogle" ];
+        mkDerivationArgs = builtins.removeAttrs args [ "packages" "withHoogle" "doBenchmark" ];

       in pkgWithCombinedDepsDevDrv.overrideAttrs (old: mkDerivationArgs // {
         nativeBuildInputs = old.nativeBuildInputs ++ mkDerivationArgs.nativeBuildInputs or [];

@GrahamcOfBorg build tests.haskell-shellFor

I get the same hash when building tests.haskell-shellFor on both this branch and haskell-updates, so that is a strong indicator that I didn't actually change any of the functionality in shellFor in this PR.

@cdepillabout my first change was exactly the same change as the one you wrote in https://github.com/NixOS/nixpkgs/pull/102598#issuecomment-720963892 . But then I later changed it to what posted in https://github.com/NixOS/nixpkgs/pull/102323 . I thought that made it simpler. Any reasons for preferring one over the other?

Thanks for the review!

@harendra-kumar

Any reasons for preferring one over the other?

The only reason is that I wanted to explicitly document it.
Also, those args are passed to envFrom, which is just a stdenv.mkDerivation, not haskellPackages.mkDerivation.  stdenv.mkDerivation doesn't know anything about doBenchmark (that's a `haskellPackages.mkDerivation thing).


Job-table options column

"info" -> just shows all attributes of a given job
"logs" should be available for jobs with status "done" or "failed" (EDIT: "running" is not relevant, for the moment)
"download logs"

What do we actually expect when the user will press a "download" button?

What do we actually expect when the user will press a "download" button?

On a higher level: The user would expect to get a zipped folder containing the logs for the relevant job

~"info" -> just shows all attributes of a given job~
~"logs" should be available for jobs with status "done" or "failed" (EDIT: "running" is not relevant, for the moment)~
"download logs"

I think we should track the last point in a dedicated issue.

Super cool! Being able to see the error log when a job failed enables a very important usability loop in the web frontend now, making it easy to see where a workflow failed, correct the parameters and then try again :)

For the record, I ran a "wrong" workflow (I provided an array argument where an integer was expected), I saw it "failed" on the job-table page, I clicked the "Logs" button in "Options", and I saw
Workflow Job logs

TASK ERROR:Task id: 4 (prepare_metadata), e.workflow_task_order=0
TRACEBACK:
Traceback (most recent call last):
  File "/tmp/FRACTAL_TASKS_DIR/.fractal/fractal_tasks_stresstest1.0.0/venv/lib/python3.10/site-packages/fractal_tasks_stresstest/prepare_metadata.py", line 37, in <module>
    run_fractal_task(
  File "/tmp/FRACTAL_TASKS_DIR/.fractal/fractal_tasks_stresstest1.0.0/venv/lib/python3.10/site-packages/fractal_tasks_stresstest/_utils.py", line 86, in run_fractal_task
    task_args = TaskArgsModel(**pars)
  File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for TaskArguments
num_components
  value is not a valid integer (type=type_error.integer)

This is perfectly aligned with the expected behavior, thanks @rkpasia

(this was all in branch v0.3)


Publish snapshot versions of Jolokia to Maven Central

We aren't yet ready for publishing a new milestone version of Jolokia 2.0 to Maven Central, while downstream projects are waiting for them to be available from Maven Central in order to start running CI workflows on their GitHub repos.
So, we should release snapshot versions of Jolokia 2.0 as part of our CI workflow.

Is it still needed @tadayosi?

It's probably still nice to have, but really not necessary. Let's close it for now.

I'm simply not sure if we can publish to https://repository.apache.org/snapshots/ through https://oss.sonatype.org/...


Release json-formatter as Docker image

This will remove some of the portability problems using the standalone formatter

I just created an image myself and documented it here:
https://stackoverflow.com/a/72868618/1948252

Hey @iomedico-beyer
Nice to see that you figured out a simple solution by yourself.
I would like to ask: why do you need the cucumber-json-formatter? I understood that you need it to convert NDJSON messages into the "legacy" JSON format.
What don't you generate the JSON directly from cucumber itself?
I know, at some point we have deprecated the JSON formatter. But it is not the case anymore, you will be able to rely on it in future version, as usual


Fixes #9

Fixes #9
Introduces new matcher and directory names for reference screenshots

Nice!  So much better than what I had before!!
I added a few small notes in in the commits for some minor things -- a typo, and no need i think to keep "(expectation images)" in the README section headings.  Want to see if those look OK to you?

Some inline comments, else looks really good to me.

Thanks for looking through it. I updated it using reference instead of ref. See https://github.com/jekuno/rspec-page-regression/commit/072c6b2ed8e39696c233d54912e352fa2157ebf7

All in all this looks good to me. About the README, we will anyway tidy it up once we are about to do the final release. I'll leave the merge to you guys. :+1:
I'll resume work on supporting a cleaner multiple viewports support.

I don't want (my) quibbling over the README to stand in the way of progress.  Merged


Automated PRs should have labels

Dependabot and updatelcli PRs should have labels.
Dependabot should have "kind/dependabot" and Updatecli should have "kind/updatecli".

Repos:

https://github.com/k3s-io/kine
https://github.com/k3s-io/k3s-upgade
https://github.com/k3s-io/klipper-lb
https://github.com/k3s-io/klipper-helm
https://github.com/k3s-io/helm-controller
https://github.com/rancher/system-agent-installer-k3s


Added Kajal Jaiswal

Related issue

What changes does this PR do?
Screenshots (If any)
Questions

Hey @shivam-sharma7, Please give proper information or suggestions.


Using 2 or more images for training

I am working on a multispectral problem where i want to use the Faster R-CNN for pedestrian detection. I have been working with deep learning models now for a few months in PyTorch so I have a basic understanding of the architecture of deep learning models. What I would like to do is feed 2 images (e.g. RGB and thermal) with their annotations. So the output of my dataset class is visual_image, thermal_image, target, where target has the label and bounding box information. However, I am struggling to understand how to adjust the Faster R-CNN model so that I can feed in the 2 images and annotations.  This is is how I would do it for a basic model: https://discuss.pytorch.org/t/halfway-fusion-with-two-datasets/42181 .
Any advice would be greatly appreciated and thank you in advance.

One basic approach would be to concatenate the thermal image and the RGB image together, yielding an image with 4 channels, and change the first layer of resnet to take 4 channels instead of 3.
Other solutions are possible, but would require more changes.
Given that this is a modeling problem, it might be better suited for the discussion forums at http://discuss.pytorch.org

Thank you very much for your advice. I was actually looking into using halfway fusion, but I believe I may have come up with a solution.

I have managed to get it working using AlexNet. I have added a model (nn.Module) to concatenate the features from particular convoultional layers of AlexNet. However, I am having issues doing something similar for BackboneWithFPN for fasterrcnn_resnet50_fpn. This is what I did for AlexNet:
`class FusionModel(nn.Module):
def init(self, net):
super(FusionModel, self).init()
self.net = net
self.features1 = nn.Sequential(*list(self.net.children())[:4])
self.features2 = nn.Sequential(*list(self.net.children())[4:])
# self.conv = nn.Conv2d(1024, 512, kernel_size=1)
self.conv = nn.Conv2d(384, 192, kernel_size=1)
def forward(self, x, y):
    x = self.features1(x)
    y = self.features1(y)
    concat_features = torch.cat((x, y), dim=1)
    concat_features = self.conv(concat_features)
    output = self.features2(concat_features)
    return output

Although this could be applied to any model really. However, I would like to implement the FeaturePyramidNetwork as it seems to get me better results. Again, any advice would be greatly appreciated. Thank you in advance.

@17sarf if you want to implement FPN, I'd recommend you modify the forward of your model to return an OrderedDict with the different activations for your model, and then use the FeaturePyramidNetwork module on top of that.

Thank you so much for your reply. I have attempted to adjust the forward function of ResNet in torchvision.models.resnet file. But it doesn't seem to be using that forward function. I'll continue to have a play around with it, but if you have any other suggestions, then that would be great.  I am still relatively new to implementing deep learning on pytorch, so perhaps I may be overlooking something simple.

@fmassa Thank you for advice. I now have the model working.


Crash when trying to generate a report

Issue
When I try to run chaos report I got the following error:
Warning: entry point could not be loaded. Contact its author for help.

Traceback (most recent call last):
  File "/Users/joaorosa/.venvs/chaostk/lib/python3.7/site-packages/click_plugins/core.py", line 37, in decorator
    group.add_command(entry_point.load())
  File "/Users/joaorosa/.venvs/chaostk/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2411, in load
    return self.resolve()
  File "/Users/joaorosa/.venvs/chaostk/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2417, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/Users/joaorosa/.venvs/chaostk/lib/python3.7/site-packages/chaosreport/__init__.py", line 16, in <module>
    import cairosvg
  File "/Users/joaorosa/.venvs/chaostk/lib/python3.7/site-packages/cairosvg/__init__.py", line 42, in <module>
    from . import surface  # noqa isort:skip
  File "/Users/joaorosa/.venvs/chaostk/lib/python3.7/site-packages/cairosvg/surface.py", line 25, in <module>
    import cairocffi as cairo
  File "/Users/joaorosa/.venvs/chaostk/lib/python3.7/site-packages/cairocffi/__init__.py", line 50, in <module>
    ('libcairo.so', 'libcairo.2.dylib', 'libcairo-2.dll'))
  File "/Users/joaorosa/.venvs/chaostk/lib/python3.7/site-packages/cairocffi/__init__.py", line 45, in dlopen
    raise OSError(error_message)  # pragma: no cover
OSError: no library called "cairo" was found
no library called "libcairo-2" was found
cannot load library 'libcairo.so': dlopen(libcairo.so, 2): image not found
cannot load library 'libcairo.2.dylib': dlopen(libcairo.2.dylib, 2): image not found
cannot load library 'libcairo-2.dll': dlopen(libcairo-2.dll, 2): image not found

Environment

Chaostoolkit

Version: 1.3.0

OS: macOs Catalina

This is a RTFM case.
Closing the issue.

I am still getting the same error. How can this be fixed?

Can you confirm you installed the cairo libraries?


Remove allocated snapshots / vm snapshots on start

Description
This PR removes allocated snapshots / vm snapshots on start.
Fixes #8424

Types of changes

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

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[x] Minor

Bug Severity

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

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

How did you try to break this feature and the system with this change?

@blueorangutan package

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

@sureshanaparti
would it be better to clean the snapshots by storage garbage collector which run periodically ?

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 8207

@sureshanaparti would it be better to clean the snapshots by storage garbage collector which run periodically ?

@weizhouapache issue is some active snapshots / vm snapshots are left in allocated when MS is stopped, no point in keeping them and wait until storage garbage collector cleans up (what if storage cleanup is disabled?) as these are listed / shown in UI as well (which are not allowed to delete). So, I think, it's better remove them on start itself. Any other thoughts / suggestions?

@sureshanaparti would it be better to clean the snapshots by storage garbage collector which run periodically ?

@weizhouapache issue is some active snapshots / vm snapshots are left in allocated when MS is stopped, no point in keeping them and wait until storage garbage collector cleans up (what if storage cleanup is disabled?) as these are listed / shown in UI as well (which are not allowed to delete). So, I think, it's better remove them on start itself. Any other thoughts / suggestions?

@sureshanaparti
the storage garbage collector cleans up the primary and secondary storage, including the snapshot/volumes/templates
                    // remove snapshots in Error state
                    List<SnapshotVO> snapshots = _snapshotDao.listAllByStatus(Snapshot.State.Error);

We could add the cleanup of Allocated snapshot and Allocated/Error vm snapshots in the process
IMHO, it is not the right place to cleanup during mgmt server start, as mgmt server might be running for several days.

@sureshanaparti would it be better to clean the snapshots by storage garbage collector which run periodically ?

@weizhouapache issue is some active snapshots / vm snapshots are left in allocated when MS is stopped, no point in keeping them and wait until storage garbage collector cleans up (what if storage cleanup is disabled?) as these are listed / shown in UI as well (which are not allowed to delete). So, I think, it's better remove them on start itself. Any other thoughts / suggestions?

@sureshanaparti the storage garbage collector cleans up the primary and secondary storage, including the snapshot/volumes/templates
                    // remove snapshots in Error state
                    List<SnapshotVO> snapshots = _snapshotDao.listAllByStatus(Snapshot.State.Error);

We could add the cleanup of Allocated snapshot and Allocated/Error vm snapshots in the process
IMHO, it is not the right place to cleanup during mgmt server start, as mgmt server might be running for several days.

@weizhouapache Agreed for the resources in error state (as there might be things to reset / cleanup) and MS is running. snapshot / vm snapshots are in Allocated, mostly for the very recent active snapshot / vm snapshots before MS is stopped, so no need for any cleanup, better to set them as removed (Any event through state transition would still keep it in Allocated). Otherwise, at least have to not list them on UI, or allow explicit deletion from the UI.

@weizhouapache issue is some active snapshots / vm snapshots are left in allocated when MS is stopped, no point in keeping them and wait until storage garbage collector cleans up (what if storage cleanup is disabled?) as these are listed / shown in UI as well (which are not allowed to delete). So, I think, it's better remove them on start itself. Any other thoughts / suggestions?

@sureshanaparti the storage garbage collector cleans up the primary and secondary storage, including the snapshot/volumes/templates
                    // remove snapshots in Error state
                    List<SnapshotVO> snapshots = _snapshotDao.listAllByStatus(Snapshot.State.Error);

We could add the cleanup of Allocated snapshot and Allocated/Error vm snapshots in the process
IMHO, it is not the right place to cleanup during mgmt server start, as mgmt server might be running for several days.

@weizhouapache Agreed for the resources in error state (as there might be things to reset / cleanup) and MS is running. snapshot / vm snapshots are in Allocated, mostly for the very recent active snapshot / vm snapshots before MS is stopped, so no need for any cleanup, better to set them as removed (Any event through state transition would still keep it in Allocated). Otherwise, at least have to not list them on UI, or allow explicit deletion from the UI.
Snapshots in destroying state are deleted here. So, I thought, it's better to remove there on MS start.
https://github.com/apache/cloudstack/blob/3f9dd4dc07ff40a4e0216014715e4fe37fc46d28/server/src/main/java/com/cloud/storage/snapshot/SnapshotManagerImpl.java#L1519-L1523

@sureshanaparti
the mgmt service is a key service for some users, especially on production.
the service is running for several days without stopping.
IMHO it is not good to cleanup resource during start ...
(OK with cleaning up resource in both start process and garbage collector)

@weizhouapache issue is some active snapshots / vm snapshots are left in allocated when MS is stopped, no point in keeping them and wait until storage garbage collector cleans up (what if storage cleanup is disabled?) as these are listed / shown in UI as well (which are not allowed to delete). So, I think, it's better remove them on start itself. Any other thoughts / suggestions?

@sureshanaparti the storage garbage collector cleans up the primary and secondary storage, including the snapshot/volumes/templates
                    // remove snapshots in Error state
                    List<SnapshotVO> snapshots = _snapshotDao.listAllByStatus(Snapshot.State.Error);

We could add the cleanup of Allocated snapshot and Allocated/Error vm snapshots in the process
IMHO, it is not the right place to cleanup during mgmt server start, as mgmt server might be running for several days.

@weizhouapache Agreed for the resources in error state (as there might be things to reset / cleanup) and MS is running. snapshot / vm snapshots are in Allocated, mostly for the very recent active snapshot / vm snapshots before MS is stopped, so no need for any cleanup, better to set them as removed (Any event through state transition would still keep it in Allocated). Otherwise, at least have to not list them on UI, or allow explicit deletion from the UI.
Snapshots in destroying state are deleted here. So, I thought, it's better to remove there on MS start.
https://github.com/apache/cloudstack/blob/3f9dd4dc07ff40a4e0216014715e4fe37fc46d28/server/src/main/java/com/cloud/storage/snapshot/SnapshotManagerImpl.java#L1519-L1523

@sureshanaparti the mgmt service is a key service for some users, especially on production. the service is running for several days without stopping. IMHO it is not good to cleanup resource during start ...
(OK with cleaning up resource in both start process and garbage collector)

ok, will check & update. thanks @weizhouapache

@sureshanaparti , does this need rebasing?


fix for Streetview enabled / disabled not working

Streetview is always enabled... found that the variable name is wrong in the template. Should be SiteConfig.GMapsEnableStreetView.

@tomstgeorge Which version of SilverStripe & which version of this module are you experiencing this with? There was a slight behavioural change in core (see this comment) which caused the issue you described, but that was fixed in 1.0.4 (f1fc709d26eebc4fdd8321506490bd8942cfccc4)

Ok that's weird because I'm using same version of Silverstripe (3.1.13) and SilverStripe-GMapsObject -> dev-master f1fc709 also.

I've just tested and on my setup at least undoing the fix

  	$data = array('EnableStreetView' => $config->GMapsEnableStreetView);

  	$data = array('EnableStreetView' => $config->obj('GMapsEnableStreetView'));

i.e. using $config->GMapsEnableStreetView works for me
but using $config->obj('GMapsEnableStreetView') does not

Oops, I was using 3.1.14-rc1 instead of 3.1.13 - turns out my original “fix” fixed 3.1.14, but broke everything before it! I’ve pushed a new fix that should work for all versions - tagged as 1.0.5. Thanks @tomstgeorge


Auth IP range

Is there anyway to authorize an IP range? My ISP keeps changing IPs on a regular basis, and the new IPs are only different in the last 2 subsets.

Doesn't your browser redirect you to the web interface when your IP changes?

Yes it does. But this happens almost every other day, and its a pain to keep logging in and adding new IP. I guess a workaround would be to keep me logged in, so then I would just have to add new IP.

https://github.com/ab77/netflix-proxy#automatic-ip-authorization

Yes, I am aware of that, but I wanted to try an IP range to be more secure rather than allowing everything. I'll just use that if it really becomes too much of a hassle.


Depth zip download error

OneDrive keeps throwing an error when downloading about 75%.
Could you please verify whether the error is on my end or on the server's end ?
Thank you

Hi, thanks for pointing out. I've updated the dropbox link and included a google drive alternative link.


4.0.stable rejects ContrlllerIcons.gd:195

When grabbing the current version of controller icons from asset lib in godot 4.0.stable, I get the error "Error at (195, 19): Identifier "KEY_SUPER_L" not declared in the current scope." as well as a similar error message for KEY_SUPER_R. When I delete this code that seems to fix the problem.

This should be fixed by https://github.com/rsubtil/controller_icons/commit/d64fde3ed8dc65b7d1b7bacebb20bf3c294c30dd. I've been waiting to see if there are more errors cropping up before making a release, but it's been some time, so I'll bump it shortly.

The addon has been updated on the asset lib to 1.1.4, please let me know if this issue still occurs.

It works great now, thank you!


Cannot run Emulator with react-native run-android if Spaces in Path

Description
I cannot get npx react-native run-android to open the Android emulator if there is a space in the username folder and the Android SDK is installed in the default %USERPROFILE%\AppData\Local\Android\Sdk directory.  So for example if my username is That Guy and I run npx react-native run-android I get several lines with 'C:\Users\That' is not recognized as an internal or external command etc.  What is going on under the hood is run-android attempting to start the emulator, but it is not very clear that this is what is failing.
React Native version:
info Fetching system and libraries information...
System:
    OS: Windows 10 10.0.19041
    CPU: (4) x64 Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
    Memory: 2.85 GB / 11.87 GB
  Binaries:
    Node: 15.3.0 - C:\Program Files\nodejs\node.EXE
    Yarn: Not Found
    npm: 7.0.14 - C:\Program Files\nodejs\npm.CMD
    Watchman: Not Found
  SDKs:
    Android SDK:
      API Levels: 27, 28, 29, 30
      Build Tools: 28.0.3, 29.0.2, 30.0.2
      System Images: android-30 | Google APIs Intel x86 Atom
      Android NDK: 21.3.6528147
    Windows SDK: Not Found
  IDEs:
    Android Studio: Version  <IP_ADDRESS> AI-201.87<IP_ADDRESS>53283
    Visual Studio: 16.7.30503.244 (Visual Studio Community 2019)
  Languages:
    Java: Not Found
    Python: Not Found
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.13.1 => 16.13.1
    react-native: 0.63.3 => 0.63.3
    react-native-windows: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps To Reproduce

Log into Windows account with space in username folder, e.g. C:\Users\That Guy
Install Android SDK in standard location, %USERPROFILE%\AppData\Local\Android\Sdk
npx react-native init AwesomeProject
cd AwesomeProject
npx react-native run-android

Expected Results
Emulator starts without space in Windows username folder causing react-native run-android to fail.  This would simply be a matter of surrounding the emulator path with spaces in the call site.
Temporary Workaround
I moved the Android folder from %USERPROFILE%\AppData\Local to C:\ and updated my ANDROID_HOME environment variable accordingly.  This causes react-native run-android to work as expected, but I would think having spaces in the username folder is a fairly common situation (e.g. first and last name), it is not exactly a trivial change to remove the spaces (nor desirable when it is only for the sake of a single build tool), and it would be ideal to have the Android SDK in the standard location (e.g. not need to modify environment instructions for this case).

Still an issue for Windows users

Closing as stale + this is a CLI issue so should eventually be opened against the CLI issue tracker


Pass file name as part of options hash to vm.runInThisContext

What kind of change does this PR introduce?
Refactor

Did you add tests for your changes?
No

If relevant, link to documentation update:
N/A

Summary
Existing code is technically correct. The API has changed in Node 8 and higher to accept an option hash but kept backward compatibility. Using the new API will make TypeScript happy at #6862 and make it easier to add more options in the future.

Does this PR introduce a breaking change?
No

Other information
At the same time I'm trying to update DT to understand old API usages as well:
https://github.com/DefinitelyTyped/DefinitelyTyped/pull/24798

Thanks