0% compiling and 10% building modules (rc5)

- [x ] bug report -> please search issues before submitting

Because of AoT By Default
Versions.
Angular CLI: 1.5.0-rc.5
Node: 6.11.0
OS: win32 x64
Angular: 5.0.0-rc.7
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
@angular/cli: 1.5.0-rc.5
@angular-devkit/build-optimizer: 0.0.31
@angular-devkit/core: 0.0.20
@angular-devkit/schematics: 0.0.34
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.8.0-rc.5
@schematics/angular: 0.0.48
typescript: 2.5.3
webpack: 3.8.1

Repro steps.
update cli from rc3 to rc5 (and angular from rc5 to rc7)
The log given by the failure.
when launch ng serve first time it block on 0% compiling step
then when edit file it block at 10% building modules step
otherwise it compile  BUT on browser  we can see errors on console a lot template not found

and  I fixed  this by export bootstrap module export const bootstrap = () => platformBrowserDynamic().bootstrapModule(AppModule);  for AoT can I consider to export this ?  becasue otherwise not works ng s with aot
so problem here is it takes a while on 0% and 10%
Desired functionality.
tell me in console if this errors happends and how fix it
Mention any other details that might be useful.

was working in rc3
I just want to specify if I want create new project with cli like : ng new ok I get Cannot find module '@angular-devkit/schematics'
my components looks like :

@Component({
  selector: 'tsab-aaaa',
  templateUrl: './aaaa.component.html',
  styleUrls: ['./aaaa.component.css']
})

RESULT IN GIF
Juste removing one space in file I wait so:

Hey, you mention that that happened because of AOT by default. Can you test if using ng serve --no-aot makes it faster? There was also a bug in rc.7 where more files than needed we're being marked for recompilation so it might be related.

Regarding the errors you get on the console, are those templates yours? autocomplete-langue.component.html etc. Or are they from a library?

@filipesilva thanks it seems I don't have this with "--no-aot" BUT I can't confirm because I can't build withng s --no-aot because of error at end https://gist.github.com/istiti/f5213f4b9a0e92c4664bf9069bb7b990
is this known issue if yes how can I fix these "module build failed" then will see if happens without aot
ps: yes autocomplete.component.html is my template (it block at 10% in each file I edited) on GIF I just edited this file and save

@istiti I think I have an idea of what's breaking. Can you show me your tsconfig.json please? Your lazy routes are not included in the tsconfig so you those those errors:
bail.module.ts is not part of the compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.

@filipesilva I'm having a similar issue with --no-aot (aot works fine). Worth submitting a separate issue?

@filipesilva
U uodated cli from 1.4.7 to rc5 how I can lnow this ?!? And whats is the syntax to add lazylod module inside tcsonfig ? Can’t cli do this alone like before?  What i need todo please? Thx
Tsconfig.app : https://gist.github.com/istiti/0696f6ff8454c4138c9b2f987dbdb0d5
Tsconfig : https://gist.github.com/istiti/c533f83a227cf74e681938adc0c052cb

Having same issue as @istiti 's

We have a couple of changes in 1.5 that only happen when you also update to Angular 5. We'll put out a migration guide for those cases.
I think the errors on loading .html files are because of https://github.com/angular/angular-cli/issues/8234. HMR doesn't seem to support AOT so if you are using --hmr on serve you need to turn off aot via --no-aot.
Your tsconfigs don't see to be excluding the lazy modules so not sure why they are showing an error. @istiti @asadsahi @karptonite if you can get me a reproduction that shows those errors I'd really like to look into it, without it I'm just trying to guess your setup.
@karptonite is your issue #8216? I'm investigating that one separately.

Heya @istiti @asadsahi @karptonite I'm going to close this in favor of https://github.com/angular/angular-cli/issues/8234. I'm pretty sure it's the same root problem and I have been investigating it much more in depth here. Please subscribe to that issue for updates.
Also, thanks a lot for helping me debug this, these bugs are sometimes really hard to find.

Hope you sure what you do, donno if its same,  because i dont use hmr.
Will try tomorrow to give you zip of cleaned project but with almost 100modules 50-60 lazylod won’t be easy this will lost me a lot time :(
New green project it works and it very very fast but with mine lot error cant run without ait and with aot i need wait 50seconds before cli compile file I changed !

I'm still investigating but it seems like it's about the bootstrap replacement like I mentioned in https://github.com/angular/angular-cli/issues/8234#issuecomment-340202362:
// doesn't work
const bootstrap = () => platformBrowserDynamic().bootstrapModule(AppModule);

// works
function bootstrap () {
  return platformBrowserDynamic().bootstrapModule(AppModule);
}

Give me one or two days to see if I can fix that before taking the time to send your project @istiti. It might not be needed if I can get a fix from this.

I'm able to build, but with default AOT, the build also hangs for me on "building modules" for over a minute. --not-aot doesn't hang here. FWIW, I removed HMR from this project to test this.

@filipesilva
can yo please tell me what I need put in "files or "include" to avoid this error
Module build failed: Error: C:\...societe\societe.module.ts is not part of the compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
    at AngularCompilerPlugin.getCompiledFile (C:\...@ngtools\webpack\src\angular_compiler_plugin.js:693:23)
    at plugin.done.then (C:\...@ngtools\webpack\src\loader.js:467:39)
 @ ./src/$$_lazy_route_resource lazy
<EMAIL_ADDRESS> @ ./src/main.ts
 @ multi webpack-dev-server/client?http://<IP_ADDRESS>:0 ./src/main.ts

Just to remember my tsconfig:
{
  "compileOnSave": false,
  "compilerOptions": {
    "outDir": "./dist/out-tsc",
    "sourceMap": true,
    "declaration": false,
    "moduleResolution": "node",
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "target": "es5",
    "typeRoots": [
      "node_modules/@types"
    ],
    "lib": [
      "es2017",
      "dom"
    ]
  }
}

and tsconfig.app
{
  "extends": "../tsconfig.json",
  "compilerOptions": {
    "outDir": "../out-tsc/app",
    "baseUrl": "./",
    "module": "es2015",
    "types": ["iban"]
  },
  "exclude": [
    "test.ts",
    "**/*.spec.ts"
  ]
}

@istiti you shouldn't have to change anything, I think #8215 will fix those issues you're seeing. I'll keep the updates coming in https://github.com/angular/angular-cli/issues/8234.

@bmayen #8215 should also address the hang ups by making the initial step faster.

@istiti @karptonite @bmayen the fix for this is coming out as<EMAIL_ADDRESS>Please try it together with<EMAIL_ADDRESS>(and other Angular packages) and let me know if you're still seeing this.

@filipesilva I never saw the exact AOT bug described in this issue. However, rc.8 does seem to fix the bug with AOT that I described in #8216. That is, When I make a change when serving in dev mode with AOT, I no longer get the Cannot read property 'text' of undefined.
I'm not sure if your fix was intended to fix the issue with --no-aot, described here https://github.com/angular/angular-cli/issues/8207#issuecomment-339984163 --that was the bug I mentioned above that I was able to reproduce. However, that bug is not fixed. My repro herehttps://github.com/angular/angular-cli/issues/8216#issuecomment-340198636 will still fail on serving with --no-aot. It seems to be specific to cases where I use external packages that are imported directly as directives rather than as modules.

@filipesilva And by the way, great work on the AoT bug. Thanks for your hard work on this!

Will test ASAP. Thanks!

@karptonite I couldn't take a real look at #8216 before those other problems were taken care of, but I will now. Will post updates there.
BTW if you're having bad performance in ng serve with Angular 5 and the new CLI, please let me know inhttps://github.com/angular/angular-cli/issues/8259. There are instructions there on how you can take CPU profiles which will help me see what's being slow in your project.

@filipesilva thanks, most of the issues have resolved. However, I am having one issue which is confusing.
I am using angular2-notifications in my project and that fails with AOT mode with following error, but it works without aot. Confusion lies in this error being same before fix and this time round this is the only remaining issue. Error:
[0] ERROR in ./node_modules/angular2-notifications/src/simple-notifications/components/simple-notifications.component.ngfactory.ts
[0] Module build failed: Error: c:\Users\Asad\ngnode-fullstack\node_modules\angular2-notifications\src\simple-notifications\components\simple-notifications.component.ngfactory.ts is not part of the compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
[0]     at AngularCompilerPlugin.getCompiledFile (c:\Users\Asad\ngnode-fullstack\node_modules\@angular\cli\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:624:23)
[0]     at plugin.done.then (c:\Users\Asad\ngnode-fullstack\node_modules\@angular\cli\node_modules\@ngtools\webpack\src\loader.js:467:39)
[0]     at <anonymous>
[0]     at process._tickCallback (internal/process/next_tick.js:188:7)
[0]  @ ./src/app/core/components/header/header.component.ngfactory.js 20:0-150
[0]  @ ./src/app/app.component.ngfactory.js
[0]  @ ./src/app/app.module.ngfactory.js
[0]  @ ./src/main.ts
[0]  @ multi webpack-dev-server/client?http://<IP_ADDRESS>:0 ./src/main.ts

@asadsahi would love to look at it. Definitely looks related to the lib. Can you open a new issue with a reproduction please?

will do thanks.


Fetch dependencies and interfaces

Implements two functions on the client.
client.getDependencies(uri, options) returns a list of dependencies given a uri. Options can be used to filter results by module, type, and whether a dependency is an interface.
client.getImplementedInterfaces(uri, options) returns a list of objects and queries that implement interfaces, along with information about the interfaces they implement. Options can be used to filter results to include only objects or only queries.
Closes #432. Closes #433.

The client exposes a getManifest(uri) method, which can then be used to extract information from the abi field. I think we should recommend users use this to extract type information about the wrapper, instead of providing these additional helper methods. I'll close the associated issues for now, since they've become very stale.


Custom Siri Shortcuts

First off,
Your app is truly flawless and well through out. It’s polishes off the entire seamless idea that octoprint encompasses. I’ve searched around the net but can’t seem to find if it’s possible to create custom Siri Shortcuts? I’d like to be able to “switch lights off/on” through the Enclosure plugin and the likes.
Thanks
Joe

Hi Joe,
Thanks for suggesting this improvement. Is this only about being able to ask for enclosure status of INPUt and OUTPUT and to be able to turn on/off an OUTPUT of the Enclosure plugin? I can explore adding support for those things. Let me know if you had other Siri shortcuts in mind.
Thanks,
Gaston


Feature Request: Color Customization

This is purely aesthetical I know, but I would REALLY love a way to do this...
Would it be possible to change color/theme in addition to transparency?
I'm currently using this with Rainmeter and Fences and everything else on the desktop is dark.
The functionality of Outlook On The Desktop is amazing but it really contrasts with darker backgrounds and surroundings and is quite rough on the eyes. Maybe I'm missing something and this is already a feature, but if not would this be something that you would consider adding?
Thanks a bunch!
Love the application!

I fully admit I'm not the best at making things pretty :)  I figured the transparency coupled with the colors of your background would be enough, but it sounds like you'd want a color overlay that you specify independently?

Exactly! Instead of the light blues and whites, would it be possible to get some more color variety? ;)

Oh you're talking about the actual colors on the calendar.  Unfortunately, I don't have much control over that and Outlook doesn't really let you customize it all that much either.  However, you can change the default blue to something else.  Follow these instructions:

Click the File tab.
Click Options.
Click Calendar.
Under Display Options, click Default calendar color, click the color that you want, and then select the Use this color on all calendars check box.


Build process tweaks

Hey there,
First off, thanks for your work on this, it's a pretty exciting idea to be able to use MRuby in browsers.
I did have a few issues getting started with it, especially when it was installed using gem install, which doesn't checkout the mruby submodule. I did find the current instructions a bit confusing as to which parts of the building/using/examples instructions needed to happen in the gem dir vs. my own project dir, and was not able to get it to recompile with different gems.
I also found it desirable to use a vendored version of mruby for each project, instead of having the gem provide it. This allows for different mruby-gems and build settings per-project.
I've made a few tweaks to allow using a vendored, easily-tweakable mruby install for each project, and updated the readme to reflect the instructions that got me started properly with it. Let me know how this looks, or if you'd like any changes made. Thanks again!

Hi @lmc, thanks for the ideas and contribution! I just got back from some travel and checking it out now.


Command to compile F# files to JS/TS

WebSharper Library projects (websharper-lib) transpile F# code to JavaScript or TypeScript, and store the output as embedded resources in the resulting .dll file. To save the transpiled output into the file system as well, as often desired, users need to set jsOutput in wsconfig.json. While this works, one would often like an easier way to produce JS/TS from a single F# file.
This ticket adds the ability to translate F# files into JS/TS without a containing project or extra configuration setting. This is accomplished by providing a convenient way to use the WebSharper CLI (dotnet ws compile) to talk to the matching WebSharper Booster, which in turn will manage one or more compilation instances for single-file translation, as described below.
As a result, the following variants will be available:
dotnet ws compile MyApp.fs
dotnet ws compile MyApp.fsx
dotnet ws compile MyApp.fs[x] [-o|--output MyApp.[js|ts]] [-v|--version <IP_ADDRESS>8-beta1]

Note the new command arguments, all optional:

-o or --output to specify the output file. The output type (JavaScript/TypeScript) is inferred from the extension of the given output file, for simplicity (JavaScript for ".js", TypeScript for ".ts", and an error otherwise.) If not specified, assume the same file name as the input file without an extension + .js, and JavaScript as output type.
-v- or --version to specify the NuGet version of the core package dependencies. If omitted, use latest packages, as noted below.

We assume a well-defined set of references (REFS: those of a standard websharper-lib template: currently, the contents of the WebSharper and WebSharper.FSharp NuGet packages) and that the input file is self-contained and needs no other source files, otherwise a compiler error will be reported, as we only pass a single source file to the compiler. In .fsx files, compiler directives to include additional source files and/or reference dlls, other than a specific form of #r (see below) are ignored.
By default, a WebSharper Booster is fired up by the WebSharper compiler (wsfsc.exe), which itself is triggered by msbuild. Since msbuild needs a project file to build, there are some complexities that need to be handled for this ticket:

Downloading into the local NuGet cache the latest stable NuGet packages for REFS, or those with the optional version specified (via -v|--version, here we assume that the same version applies to all NuGet packages for REFS), if not present on the local system already.

Computing the actual assembly reference set from REFS ourselves. We can deal with extending this for .fsx input files via #r on a separate ticket (reference it here when it's created).

Booster compilation instances are currently identified by the path of a project file, so we have to invent an extension of that (say, "P1+...+Pn+R1+...+Rn", where P's are sorted package references and R's are sorted additional assembly references, ignoring P0=WebSharper, or a longer "R1+...+Rn", where R's are the resolved and sorted assembly references, with versions included) in such a way that dotnet compile uses the same compilation instance for all input files with the same computed references. (dotnet ws stop should work as before, as it stops a given version of a Booster, or all, with all of its/their compilation instances).

If an .fsx input file is given, all .fsx-specific compiler directives in it (#r, #I, etc. - but not those that are valid in .fs files as well) will be commented out (prefixing the affected lines with //) before passing it to the compilation pipeline.

On a second though, no need to reinvent the wheel, we can rely on msbuild+nuget to do their job for this. Let's drop 0)+1) above, and instead create a project+wsconfig.json file in 2) in a well-defined temp folder (say, ${TEMP}\ws-compile\*) for a WebSharper Library project with the given source file, the dependencies we inferred from it, and with the output redirected to the original source folder (suffixed with the arg value we get from -o|--output).

Another low-hanging fruit would be to add:

-d|--debug to turn on debug-level output, as opposed to the default release mode one.

Latest version has the following issue:

I stop all running Booster instances:

dotnet ws stop

I then compile a given .fs file:

dotnet ws compile MyApp.fs

At this point, the prompt is stuck and nothing seems to be happening. After checking the generated folder, it's there - so things didn't get echoed on the screen, nor the completion status.

Latest still can't process dotnet ws compile App.fs[x] correctly - output is generated in the temp folder. The -p argument should be defaulted to ./.


Suggestion: Integration with Levelz

Would be nice if this mod also integrated with your Levelz mod so skill points or levelz XP could also be quest rewards.
I.e. do a quest for a Farmer and get Farming lessons (increase Levelz farming skill).

Would be awesome I agree


Update @sentry dependencies to v7

See v7 release info

Even though that PR is merged it's still behind the current v7.6.0 version. I'm asking due to Angular v14 support

Even though that PR is merged it's still behind the current v7.6.0 version. I'm asking due to Angular v14 support

Agreed, got all excited about seeing this published but I need Angular v14 support!

We released 0.7.0: https://github.com/getsentry/sentry-capacitor/releases/tag/0.7.0 with JS 7.1.1
You need 7.6.0? Could you please open a PR? We can get this merged and shipped quickly

Close as completed


Move sc-client into sc-service

see #4452

EXPECTED:
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
error: Error type can not change between runtime apis
  --> $DIR/mock_only_one_error_type.rs:23:3
   |
23 |         type Error = u64;
   |         ^^^^
error[E0277]: the trait bound `u32: std::convert::From<std::string::String>` is not satisfied
  --> $DIR/mock_only_one_error_type.rs:15:1
   |
15 | / sp_api::mock_impl_runtime_apis! {
16 | |     impl Api<Block> for MockApi {
17 | |         type Error = u32;
18 | |
...  |
26 | |     }
27 | | }
   | | ^
   | | |
   | |_the trait `std::convert::From<std::string::String>` is not implemented for `u32`
   |   in this macro invocation
   |
   = help: the following implementations were found:
             <u32 as std::convert::From<bool>>
             <u32 as std::convert::From<char>>
             <u32 as std::convert::From<h2::frame::reason::Reason>>
             <u32 as std::convert::From<h2::frame::stream_id::StreamId>>
           and 16 others
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
ACTUAL OUTPUT:
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
error: Error type can not change between runtime apis
  --> $DIR/mock_only_one_error_type.rs:23:3
   |
23 |         type Error = u64;
   |         ^^^^
error[E0277]: the trait bound `u32: std::convert::From<std::string::String>` is not satisfied
  --> $DIR/mock_only_one_error_type.rs:15:1
   |
15 | / sp_api::mock_impl_runtime_apis! {
16 | |     impl Api<Block> for MockApi {
17 | |         type Error = u32;
18 | |
...  |
26 | |     }
27 | | }
   | | ^
   | | |
   | |_the trait `std::convert::From<std::string::String>` is not implemented for `u32`
   |   in this macro invocation
   |
   = help: the following implementations were found:
             <u32 as std::convert::From<bool>>
             <u32 as std::convert::From<char>>
             <u32 as std::convert::From<h2::frame::reason::Reason>>
             <u32 as std::convert::From<h2::frame::reason::Reason>>
           and 18 others
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
note: If the actual output is the correct output you can bless it by rerunning
      your test with the environment variable TRYBUILD=overwrite

note: If the actual output is the correct output you can bless it by rerunning
your test with the environment variable TRYBUILD=overwrite

So the library was updated and the stack frame has changed as a result, not sure how to go about this though.

Also this:

thread 'main' panicked at 'unable to generate rocksdb bindings: ()', /ci-cache/substrate/cargo/check-web-wasm/registry/src/github.com-1ecc6299db9ec823/librocksdb-sys-6.6.4/build.rs:30:20

Impressive work. @seunlanlege Are there still any pending issues with this PR? If not, let's rebase and merge.
@svyatonik Could you please check if there are any potential issues with the light client changes?

@svyatonik Could you please check if there are any potential issues with the light client changes?

Looking at the PR, I haven't found any actual changes to the client logic. Moving the code around also shouldn't break it (at least I assume that). So I have nothing against this PR :)

som'n weird going on in gitlab, will retry the jobs in an hr

Polkadot companion PR is green :confetti_ball: :partying_face:

Please make sure your polkadot changes work with cumulus.

@gnunicorn is this eligible for a mergeoncegreen tag?

bot merge

So this works with cumulus?

So this works with cumulus?

Will have a PR for cumulus ready soon.


Vite server crash

Describe the bug
When a vue file is modified, vite server crashes
I tried to locate the problem, but couldn't find the cause
All I know at the moment
Remove the following code and everything is fine
import type { HTMLAttributes } from 'vue'

defineProps<{ class? : HTMLAttributes['class'] }>()

Reproduction
https://github.com/robin-dongbin/laravel-skeleton
Steps to reproduce
Clone repository
Installing dependencies
npm run dev
The file is located in /resources/layouts/default.vue
try modify content of  console.log()
System information
System:
    OS: macOS 14.5
    CPU: (10) arm64 Apple M1 Max
    Memory: 348.61 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.4.0 - /opt/homebrew/bin/node
    Yarn: 1.22.22 - /opt/homebrew/bin/yarn
    npm: 10.8.1 - /opt/homebrew/bin/npm
    pnpm: 9.5.0 - /opt/homebrew/bin/pnpm
    bun: 1.1.18 - /opt/homebrew/bin/bun
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 126.0.6478.127
    Edge: 126.0.2592.102
    Safari: 17.5
  npmPackages:
    hybridly: ^0.7.10 => 0.7.10

Used package manager
pnpm
Logs
No response
Validations

[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Hybridly issue and not an issue related to something else (Vite, Vue...). For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A, join our Discord server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Once I looked into it, this seems to be a vite-plugin-vue issue. #428


Expo pusher podFile

As it seems in the readme, pusher-websocket-swift pod should be added.
"The Pusher Channels React Native plugin adds the pusher-websocket-swift cocoapod to your project".
I'm running expo prebuild, expo run:ios, pod install etc.., but even tho the package is in my package.json, yarn.lock etc, it's not gets added to the podfile, which means I can't use the package with Expo, maybe there's a bug which should be fixed?
Anyway, even if I install pusher-websocket-swift pod manually, I keep getting the same error: "The package 'pusher-websocket-react-native' doesn't seem to be linked"

I am having the same issue with Expo
I keep getting The package 'pusher-websocket-react-native' doesn't seem to be linked
"react-native": "0.74.5",
"expo": "~51.0.28",
"@pusher/pusher-websocket-react-native": "^1.3.1",
Although I have not ran pod install but it doesnt even work on my android simulator.
Any solution to this?

I am having the same issue with Expo
I keep getting The package 'pusher-websocket-react-native' doesn't seem to be linked
"react-native": "0.74.5", "expo": "~51.0.28", "@pusher/pusher-websocket-react-native": "^1.3.1",
Although I have not ran pod install but it doesnt even work on my android simulator.
Any solution to this?

I'm facing the same issue now, were you able to find a work around?

I am having the same issue with Expo
I keep getting The package 'pusher-websocket-react-native' doesn't seem to be linked
"react-native": "0.74.5", "expo": "~51.0.28", "@pusher/pusher-websocket-react-native": "^1.3.1",
Although I have not ran pod install but it doesnt even work on my android simulator.
Any solution to this?

I'm facing the same issue now, were you able to find a work around?

From your root directory run npx pod-install

I am having the same issue with Expo
I keep getting The package 'pusher-websocket-react-native' doesn't seem to be linked
"react-native": "0.74.5", "expo": "~51.0.28", "@pusher/pusher-websocket-react-native": "^1.3.1",
Although I have not ran pod install but it doesnt even work on my android simulator.
Any solution to this?

I'm facing the same issue now, were you able to find a work around?

From your root directory run npx pod-install

So my issue now is, I'm building an android app and not ios.
`Warning: Error: The package 'pusher-websocket-react-native' doesn't seem to be linked. Make sure:

You rebuilt the app after installing the package
You are not using Expo managed workflow`

I am having the same issue with Expo
I keep getting The package 'pusher-websocket-react-native' doesn't seem to be linked
"react-native": "0.74.5", "expo": "~51.0.28", "@pusher/pusher-websocket-react-native": "^1.3.1",
Although I have not ran pod install but it doesnt even work on my android simulator.
Any solution to this?

I'm facing the same issue now, were you able to find a work around?

From your root directory run npx pod-install

So my issue now is, I'm building an android app and not ios.
`Warning: Error: The package 'pusher-websocket-react-native' doesn't seem to be linked. Make sure:

You rebuilt the app after installing the package
You are not using Expo managed workflow`

If it is android run npx expo run:android
make sure you are not using Expo Go, use the development build

I am having the same issue with Expo
I keep getting The package 'pusher-websocket-react-native' doesn't seem to be linked
"react-native": "0.74.5", "expo": "~51.0.28", "@pusher/pusher-websocket-react-native": "^1.3.1",
Although I have not ran pod install but it doesnt even work on my android simulator.
Any solution to this?

I'm facing the same issue now, were you able to find a work around?

From your root directory run npx pod-install

So my issue now is, I'm building an android app and not ios.
`Warning: Error: The package 'pusher-websocket-react-native' doesn't seem to be linked. Make sure:

You rebuilt the app after installing the package
You are not using Expo managed workflow`

If it is android run npx expo run:android make sure you are not using Expo Go, use the development build

Thanks for this, it's working fine now.

Hey, I created a new expo app and installed @pusher/pusher-websocket-react-native to test the issue.
It seems to be running out of the box; I didn't need to do something special. For example:

for iOS: I could run npx pod-install and npx expo run:ios to run the ios app.
for Android: npx expo run:android.

I'll consider this ticket resolved and close it for now. Thanks everyone.


Drop support for Python 3.5 and 3.6

What was wrong?
Drops support for python 3.5 and 3.6.
Issue #37
How was it fixed?
Removed Python 3.5 and 3.6 CI runs, and updates tox.ini and setup.py.
To-Do

[x] Clean up commit history

[x] Add entry to the release notes

Cute Animal Picture

good catch! I'll switch in #40. Thanks!


fonts not loading in pattern library

Fixing the font path in fonts.less didn't work.
Uninstall your fonts and see what happens.


watcher does not fire when readonly is used in parent object

Reproduction
https://codesandbox.io/s/pinia-readonly-f3jzwm?file=/src/components/Users.vue
Steps to reproduce the bug

Visit the CodeSandbox example here. You'll be presented with a list of users that comes from an API.
This list of users is wrapped with a readonly and fed to the template.
Click on a user, this updates the store with the selected user.
There is a watcher attached to the user object inside the store, you'll notice that this watcher does not fire although the data seems to update ok.

Expected behavior
The expected behavior should be that the watcher should fire when the user object changes inside the store as it fires when the users list is not wrapped with readonly.
In order to see the expected behavior you can comment line 31 and uncomment line 34 in the Users.vue file.
You'll notice that everytime a user is selected, the watcher fires as expected (there's a console log with the user info).
Actual behavior
When a property of a readonly object is referenced as data inside a Pinia store, a watcher attached to that data is not firing when the data changes.
Additional information
No response

This seems to happen without pinia too SFC Playground.
I don't think this is a Vue bug though because watching a readonly source is pointless (as it cannot be written) and therefor leaves the watcher unusable. I think you likely need to create a copy of the readonly user or use toRaw() like this to get a raw copy that can be made reactive.


[Tracking Issue] Upgrade Design

As product owner
we want to implement new colors and icons to give 100eyes a more unique style.
Please use SVG Files from @drjakob 's folder >> @mattwr18

[x] Logo https://github.com/tactilenews/100eyes/issues/1570
[x] Favicon
[x] Settings wheel > for menu https://github.com/tactilenews/100eyes/issues/1570
[x] Profile icon > for account
[x] ticket > for Onboarding Link #1579
[x] messenger logos > for onboarding page #1579
[x] Please change color of menu bar to blueish - color code is in the design doc. https://github.com/tactilenews/100eyes/issues/1570
[x] Please change tag colors to tag colors from the design doc.

Do we want to add more to the list @FrauCsu @drjakob?
I know that we have redesigned pages, but I'm not sure if we will implement all the changes the design team came up with and how we will prioritize them.
I would suggest keeping this open and creating new issues for each page that we want to apply the redesign for and prioritize them here. Maybe, we could even use the issues I created for responsive design to feed two birds with one seed?
I can imagine that if we apply a redesign, we would want to make sure that it is responsive, no?


[Cosmos] Use repo's general tox.ini

This removes the tox.ini file in azure-cosmos to instead use the repo-general tox.ini under /eng/tox.
@scbedd, you're more familiar with tox than I am. Live tests are passing -- does this change look like it won't cause any issues?

/azp run python - cosmos - tests

API changes have been detected in azure-cosmos. You can review API changes here

@mccoyp I have no issue with this. If the cosmos folks are ok with it?


Working version

This PR is working in local Geth still needed to check in Red-T.
Testing: The proxy account of "firstIdentityWallet" 0x9CAe91E2a8E322Dd5c2604124DA1a7b9BE6d64d1 is issuer and Service provider, but its EOA (0x643266eb3105f4bf8b4f4fec50886e453f0da9ad) is neither issuer nor Service Provider.

This PR is working in local Geth still needed to check in Red-T.
Testing: The proxy account of "firstIdentityWallet" 0x9CAe91E2a8E322Dd5c2604124DA1a7b9BE6d64d1 is issuer and Service provider, but its EOA (0x643266eb3105f4bf8b4f4fec50886e453f0da9ad) is neither issuer nor Service Provider.

Also tested this for the Red-T. :rocket:


Fix intermittent failure in CPU test

Closes #104

I'm not sure we just want to switch everything over to predict_proba since we want to explicitly exercise the code paths and configurations for both class output and probability output. No need to rush a fix since this is an extremely intermittent issue; let's just follow the strategy used in cuML and demand that 99% (or pick your threshold) of class outputs match. Alternatively (and maybe even better), we could compare directly to a local run of GTIL rather than FIL in order to (theoretically) guarantee a match.

@wphicks I was quite nervous about allowing a mismatch in class outputs, because then we can't differentiate between tiny difference (49.6% vs 50.4%) and significant difference (80% vs 20%). However, running GTIL locally seems like a reasonable path.

As it turns out, running GTIL inside test_model.py is proving to be quite tricky. This is because how the flags differ between FIL (predict_proba) and GTIL (pred_transform). The difference is resolved with sophisticated glue logic in src/gtil_utils.cu, but it's hard to do that in a Python script.
For now, let's settle with checking 99% match in the class outputs. In the long term, we should add a new API to Treelite that exposes the predict_proba flag that behaves the same way as predict_proba in FIL.

@hcho3 If you approve of #115, I think we should be able to close this in favor of that, right?

Closing in favor of #115


How to set ros controller to control a real arm?

Hi! I am new to ROS and Open Manipulator. I just learned a bit from Moveit tutorials and want to control a real arm using Moveit. However, I found that making connection to a real arm needs to use ros controller. This information should be written to the ros_controller.yaml file under open_manipulator_moveit/config folder. I edited the arm setting using Moveit setup assistant and it automatically created a ros controller, shown as below. But later I checked the ros topic and service, there is actually no topic or service named follow_joint_trajectory or anything similar. I also tried to launch the open_manipulator_controller.launch with use_moveit option being true, the errors showed that there was no action coming up.
So, I would like to know how to fix this problem. Or, may I ask if there are other easier ways that can be used to control the real arm by coding?
The related Moveit tutorial is here: http://docs.ros.org/kinetic/api/moveit_tutorials/html/doc/controller_configuration/controller_configuration_tutorial.html
Thank you very much!

Hi, @Jiang765
OpenManipulator supports moveit, but it can run without moveit.
We recommend using e-manual to run without moveit.
http://emanual.robotis.com/docs/en/platform/openmanipulator_x/ros_operation/#ros-operation
Nevertheless, if you want to use moveit to control, we recommend to use following command.
$ roslaunch open_manipulator_controller open_manipulator_controller.launch use_moveit: = true
Since moveit can not directly give the command value to the motor (dynamixel), we have to create a node for it.
The open_manipulator_controller node can also support this function.
About how can you use moveit, please refer the e-manual and other closed issues.

I see. Thank you so much!


 Even the evict count is larger than the number of pods, and the timeout is set, the new started pods will not be deleted.
Expect: When I start a kill pod test, Chaosblade can delete the pods randomly in a period. For example, the timeout is 100s and the count is 10, it can delete 10 pods in 100s randomly. Furthermore, it will be even better than I can set the count of pods for each time. For example, the replica is 3, I can let Chaosblade kill 2 pods together for each time in 100s, and 10 pods in total.
Describe what you expected to happen
How to reproduce it (as minimally and precisely as possible)

Tell us your environment
Anything else we need to know?

Thanks for your advice.


adherence report UI on patient list - export error display fix

Adherence report UI on patient list:
Issue:  Currently, the UI doesn't display error detail and dialog disappears promptly when error happens in the process of exporting.
Fix: display and persist more discrete error detail from the ajax call to export adherence report data when it fails.

Thank you @achen2401


Preparing for the workshop

Fixed typos and navigation in the workshop files.
Added scripts for pre-configuring workshop environments.

Fixing typos, adding navigation to workshop units, adding workshop setup instructions and helper scripts.


How to add vgg16 to the backbone of Faster R-cnn?

In order to compare the data in the graduation thesis, I need to use vgg16 as the Faster R-CNN model of the backbone, but the default in mmdetection is only resnet and ssdvgg. How can I add vgg to successfully train?

Add vgg.py to mmdet/models/backbones/vgg.py.
# vgg.py
# Copyright (c) Open-MMLab. All rights reserved.

import torch.nn as nn
from mmcv.cnn.utils import constant_init, kaiming_init, normal_init
from mmcv.utils.parrots_wrapper import _BatchNorm
from mmdet.models.builder import BACKBONES

def conv3x3(in_planes, out_planes, dilation=1):
    """3x3 convolution with padding."""
    return nn.Conv2d(
        in_planes,
        out_planes,
        kernel_size=3,
        padding=dilation,
        dilation=dilation)

def make_vgg_layer(inplanes,
                   planes,
                   num_blocks,
                   dilation=1,
                   with_bn=False,
                   ceil_mode=False):
    layers = []
    for _ in range(num_blocks):
        layers.append(conv3x3(inplanes, planes, dilation))
        if with_bn:
            layers.append(nn.BatchNorm2d(planes))
        layers.append(nn.ReLU(inplace=True))
        inplanes = planes
    layers.append(nn.MaxPool2d(kernel_size=2, stride=2, ceil_mode=ceil_mode))

    return layers

@BACKBONES.register_module()
class VGG(nn.Module):
    """VGG backbone.

    Args:
        depth (int): Depth of vgg, from {11, 13, 16, 19}.
        with_bn (bool): Use BatchNorm or not.
        num_classes (int): number of classes for classification.
        num_stages (int): VGG stages, normally 5.
        dilations (Sequence[int]): Dilation of each stage.
        out_indices (Sequence[int]): Output from which stages.
        frozen_stages (int): Stages to be frozen (all param fixed). -1 means
            not freezing any parameters.
        bn_eval (bool): Whether to set BN layers as eval mode, namely, freeze
            running stats (mean and var).
        bn_frozen (bool): Whether to freeze weight and bias of BN layers.
    """

    arch_settings = {
        11: (1, 1, 2, 2, 2),
        13: (2, 2, 2, 2, 2),
        16: (2, 2, 3, 3, 3),
        19: (2, 2, 4, 4, 4)
    }

    def __init__(self,
                 depth,
                 with_bn=False,
                 num_stages=5,
                 dilations=(1, 1, 1, 1, 1),
                 out_indices=(0, 1, 2, 3),
                 frozen_stages=-1,
                 bn_eval=True,
                 norm_eval=False,
                 bn_frozen=False,
                 ceil_mode=False,
                 with_last_pool=True):
        super(VGG, self).__init__()
        if depth not in self.arch_settings:
            raise KeyError(f'invalid depth {depth} for vgg')
        assert 1 <= num_stages <= 5
        stage_blocks = self.arch_settings[depth]
        self.stage_blocks = stage_blocks[:num_stages]
        assert len(dilations) == num_stages
        assert max(out_indices) <= num_stages

        self.out_indices = out_indices
        self.frozen_stages = frozen_stages
        self.bn_eval = bn_eval
        self.bn_frozen = bn_frozen
        self.norm_eval = norm_eval

        self.inplanes = 3
        start_idx = 0
        vgg_layers = []
        self.range_sub_modules = []
        for i, num_blocks in enumerate(self.stage_blocks):
            num_modules = num_blocks * (2 + with_bn) + 1
            end_idx = start_idx + num_modules
            dilation = dilations[i]
            planes = 64 * 2 ** i if i < 4 else 512
            vgg_layer = make_vgg_layer(
                self.inplanes,
                planes,
                num_blocks,
                dilation=dilation,
                with_bn=with_bn,
                ceil_mode=ceil_mode)
            vgg_layers.extend(vgg_layer)
            self.inplanes = planes
            self.range_sub_modules.append([start_idx, end_idx])
            start_idx = end_idx
        if not with_last_pool:
            vgg_layers.pop(-1)
            self.range_sub_modules[-1][1] -= 1
        self.module_name = 'features'
        self.add_module(self.module_name, nn.Sequential(*vgg_layers))

    def init_weights(self, pretrained=None):
        if pretrained is None:
            for m in self.features:
                if isinstance(m, nn.Conv2d):
                    kaiming_init(m)
                elif isinstance(m, _BatchNorm):
                    constant_init(m, 1)
                elif isinstance(m, nn.Linear):
                    normal_init(m, std=0.01)

    def forward(self, x):
        outs = []
        vgg_layers = getattr(self, self.module_name)
        for i in range(len(self.stage_blocks)):
            for j in range(*self.range_sub_modules[i]):
                vgg_layer = vgg_layers[j]
                x = vgg_layer(x)
            if i in self.out_indices:
                outs.append(x)

        return tuple(outs)

    def _freeze_stages(self):
        vgg_layers = getattr(self, self.module_name)
        for i in range(self.frozen_stages):
            for j in range(*self.range_sub_modules[i]):
                m = vgg_layers[j]
                m.eval()
                for param in m.parameters():
                    param.requires_grad = False

    def train(self, mode=True):
        super(VGG, self).train(mode)
        self._freeze_stages()
        if mode and self.norm_eval:
            for m in self.modules():
                # trick: eval have effect on BatchNorm only
                if isinstance(m, _BatchNorm):
                    m.eval()

Change model/models/backbone/__init__.py

add from .vgg import VGG
add "VGG" into __all__

Change config you use( original FasterRCNN config)
model = dict(
    type='FasterRCNN',
    pretrained=None,
    backbone=dict(
        type='VGG',
        depth=19,
        with_bn=False,
        num_stages=5,
        dilations=(1, 1, 1, 1, 1),
        out_indices=(1, 2, 3, 4),
        frozen_stages=-1,
        bn_eval=False,
        bn_frozen=False,
        ceil_mode=False,
        with_last_pool=False,
    ),
    neck=dict(
        in_channels=[128, 256, 512, 512],),
)

Only modifications are displayed
PS: Not support pretrain model yet

Thank you very much for your answer , but i still meet some questions:
1、At the beginning,i used the colab to train this backbone，and i have followed your prompts to complete,but  it showed that mmcv-full 1.3.0 is not compatible and needs to be reduced to 1.2.4, so I reinstalled mmcv.Run again,it shows"VGG is not in the backbone registry"
2、I want to confirm once again that your modification to the config above directly replaces the original part?
Traceback (most recent call last):
File "tools/train.py", line 187, in
main()
File "tools/train.py", line 161, in main
test_cfg=cfg.get('test_cfg'))
File "/usr/local/lib/python3.7/dist-packages/mmdet/models/builder.py", line 77, in build_detector
return build(cfg, DETECTORS, dict(train_cfg=train_cfg, test_cfg=test_cfg))
File "/usr/local/lib/python3.7/dist-packages/mmdet/models/builder.py", line 34, in build
return build_from_cfg(cfg, registry, default_args)
File "/usr/local/lib/python3.7/dist-packages/mmcv/utils/registry.py", line 181, in build_from_cfg
return obj_cls(**args)
File "/usr/local/lib/python3.7/dist-packages/mmdet/models/detectors/faster_rcnn.py", line 24, in init
pretrained=pretrained)
File "/usr/local/lib/python3.7/dist-packages/mmdet/models/detectors/two_stage.py", line 26, in init
self.backbone = build_backbone(backbone)
File "/usr/local/lib/python3.7/dist-packages/mmdet/models/builder.py", line 39, in build_backbone
return build(cfg, BACKBONES)
File "/usr/local/lib/python3.7/dist-packages/mmdet/models/builder.py", line 34, in build
return build_from_cfg(cfg, registry, default_args)
File "/usr/local/lib/python3.7/dist-packages/mmcv/utils/registry.py", line 174, in build_from_cfg
f'{obj_type} is not in the {registry.name} registry')
KeyError: 'VGG is not in the backbone registry'

Add vgg.py to mmdet/models/backbones/vgg.py.
# vgg.py
# Copyright (c) Open-MMLab. All rights reserved.

import torch.nn as nn
from mmcv.cnn.utils import constant_init, kaiming_init, normal_init
from mmcv.utils.parrots_wrapper import _BatchNorm
from mmdet.models.builder import BACKBONES

def conv3x3(in_planes, out_planes, dilation=1):
    """3x3 convolution with padding."""
    return nn.Conv2d(
        in_planes,
        out_planes,
        kernel_size=3,
        padding=dilation,
        dilation=dilation)

def make_vgg_layer(inplanes,
                   planes,
                   num_blocks,
                   dilation=1,
                   with_bn=False,
                   ceil_mode=False):
    layers = []
    for _ in range(num_blocks):
        layers.append(conv3x3(inplanes, planes, dilation))
        if with_bn:
            layers.append(nn.BatchNorm2d(planes))
        layers.append(nn.ReLU(inplace=True))
        inplanes = planes
    layers.append(nn.MaxPool2d(kernel_size=2, stride=2, ceil_mode=ceil_mode))

    return layers

@BACKBONES.register_module()
class VGG(nn.Module):
    """VGG backbone.

    Args:
        depth (int): Depth of vgg, from {11, 13, 16, 19}.
        with_bn (bool): Use BatchNorm or not.
        num_classes (int): number of classes for classification.
        num_stages (int): VGG stages, normally 5.
        dilations (Sequence[int]): Dilation of each stage.
        out_indices (Sequence[int]): Output from which stages.
        frozen_stages (int): Stages to be frozen (all param fixed). -1 means
            not freezing any parameters.
        bn_eval (bool): Whether to set BN layers as eval mode, namely, freeze
            running stats (mean and var).
        bn_frozen (bool): Whether to freeze weight and bias of BN layers.
    """

    arch_settings = {
        11: (1, 1, 2, 2, 2),
        13: (2, 2, 2, 2, 2),
        16: (2, 2, 3, 3, 3),
        19: (2, 2, 4, 4, 4)
    }

    def __init__(self,
                 depth,
                 with_bn=False,
                 num_stages=5,
                 dilations=(1, 1, 1, 1, 1),
                 out_indices=(0, 1, 2, 3),
                 frozen_stages=-1,
                 bn_eval=True,
                 norm_eval=False,
                 bn_frozen=False,
                 ceil_mode=False,
                 with_last_pool=True):
        super(VGG, self).__init__()
        if depth not in self.arch_settings:
            raise KeyError(f'invalid depth {depth} for vgg')
        assert 1 <= num_stages <= 5
        stage_blocks = self.arch_settings[depth]
        self.stage_blocks = stage_blocks[:num_stages]
        assert len(dilations) == num_stages
        assert max(out_indices) <= num_stages

        self.out_indices = out_indices
        self.frozen_stages = frozen_stages
        self.bn_eval = bn_eval
        self.bn_frozen = bn_frozen
        self.norm_eval = norm_eval

        self.inplanes = 3
        start_idx = 0
        vgg_layers = []
        self.range_sub_modules = []
        for i, num_blocks in enumerate(self.stage_blocks):
            num_modules = num_blocks * (2 + with_bn) + 1
            end_idx = start_idx + num_modules
            dilation = dilations[i]
            planes = 64 * 2 ** i if i < 4 else 512
            vgg_layer = make_vgg_layer(
                self.inplanes,
                planes,
                num_blocks,
                dilation=dilation,
                with_bn=with_bn,
                ceil_mode=ceil_mode)
            vgg_layers.extend(vgg_layer)
            self.inplanes = planes
            self.range_sub_modules.append([start_idx, end_idx])
            start_idx = end_idx
        if not with_last_pool:
            vgg_layers.pop(-1)
            self.range_sub_modules[-1][1] -= 1
        self.module_name = 'features'
        self.add_module(self.module_name, nn.Sequential(*vgg_layers))

    def init_weights(self, pretrained=None):
        if pretrained is None:
            for m in self.features:
                if isinstance(m, nn.Conv2d):
                    kaiming_init(m)
                elif isinstance(m, _BatchNorm):
                    constant_init(m, 1)
                elif isinstance(m, nn.Linear):
                    normal_init(m, std=0.01)

    def forward(self, x):
        outs = []
        vgg_layers = getattr(self, self.module_name)
        for i in range(len(self.stage_blocks)):
            for j in range(*self.range_sub_modules[i]):
                vgg_layer = vgg_layers[j]
                x = vgg_layer(x)
            if i in self.out_indices:
                outs.append(x)

        return tuple(outs)

    def _freeze_stages(self):
        vgg_layers = getattr(self, self.module_name)
        for i in range(self.frozen_stages):
            for j in range(*self.range_sub_modules[i]):
                m = vgg_layers[j]
                m.eval()
                for param in m.parameters():
                    param.requires_grad = False

    def train(self, mode=True):
        super(VGG, self).train(mode)
        self._freeze_stages()
        if mode and self.norm_eval:
            for m in self.modules():
                # trick: eval have effect on BatchNorm only
                if isinstance(m, _BatchNorm):
                    m.eval()

Change model/models/backbone/__init__.py

add from .vgg import VGG
add "VGG" into __all__

Change config you use( original FasterRCNN config)
model = dict(
    type='FasterRCNN',
    pretrained=None,
    backbone=dict(
        type='VGG',
        depth=19,
        with_bn=False,
        num_stages=5,
        dilations=(1, 1, 1, 1, 1),
        out_indices=(1, 2, 3, 4),
        frozen_stages=-1,
        bn_eval=False,
        bn_frozen=False,
        ceil_mode=False,
        with_last_pool=False,
    ),
    neck=dict(
        in_channels=[128, 256, 512, 512],),
)

Only modifications are displayed
PS: Not support pretrain model yet

Thank you very much for your answer , but i still meet some questions:
1、At the beginning,i used the colab to train this backbone，and i have followed your prompts to complete,but it showed that mmcv-full 1.3.0 is not compatible and needs to be reduced to 1.2.4, so I reinstalled mmcv.Run again,it shows"VGG is not in the backbone registry"
2、I want to confirm once again that your modification to the config above directly replaces the original part?
Traceback (most recent call last):
File "tools/train.py", line 187, in
main()
File "tools/train.py", line 161, in main
test_cfg=cfg.get('test_cfg'))
File "/usr/local/lib/python3.7/dist-packages/mmdet/models/builder.py", line 77, in build_detector
return build(cfg, DETECTORS, dict(train_cfg=train_cfg, test_cfg=test_cfg))
File "/usr/local/lib/python3.7/dist-packages/mmdet/models/builder.py", line 34, in build
return build_from_cfg(cfg, registry, default_args)
File "/usr/local/lib/python3.7/dist-packages/mmcv/utils/registry.py", line 181, in build_from_cfg
return obj_cls(**args)
File "/usr/local/lib/python3.7/dist-packages/mmdet/models/detectors/faster_rcnn.py", line 24, in init
pretrained=pretrained)
File "/usr/local/lib/python3.7/dist-packages/mmdet/models/detectors/two_stage.py", line 26, in init
self.backbone = build_backbone(backbone)
File "/usr/local/lib/python3.7/dist-packages/mmdet/models/builder.py", line 39, in build_backbone
return build(cfg, BACKBONES)
File "/usr/local/lib/python3.7/dist-packages/mmdet/models/builder.py", line 34, in build
return build_from_cfg(cfg, registry, default_args)
File "/usr/local/lib/python3.7/dist-packages/mmcv/utils/registry.py", line 174, in build_from_cfg
f'{obj_type} is not in the {registry.name} registry')
KeyError: 'VGG is not in the backbone registry'

1. not registry

put vgg.py in mmdet/models/backbones/vgg.py
add from .vgg import VGG
add "VGG" into __all__

2. Replace the corresponding entry

Hi, I want to run Faster R-cnn with vgg16 witout fpn network(i.e. neck). So what changes would be required in the configurations?
Thanks for the help.

Sorry，i did not solve this problem yet.Actually，i haven't done this research for a long time，you can ask the administrator for some help.
------------------ 原始邮件 ------------------
发件人:                                                                                "open-mmlab/mmdetection"                                                                                @.>;
发送时间: 2021年6月28日(星期一) 下午2:52
@.>;
<EMAIL_ADDRESS>主题: Re: [open-mmlab/mmdetection] How to add vgg16 to the backbone of Faster R-cnn? (#4849)
Hi, I want to run Faster R-cnn with vgg16 witout fpn network(i.e. neck). So what changes would be required in the configurations?
Thanks for the help.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

@fengyouliang, @jshilong
Hi, I want to run Faster R-CNN with vgg16 without FPN network(i.e. neck). So what changes would be required in the configurations?
Thanks for the help.

Sorry for the late respondence, you can refer to https://github.com/open-mmlab/mmdetection/blob/5590f80edf6f45c7a69fab883b3200d68dc9b213/configs/base/models/faster_rcnn_r50_caffe_c4.py#L1 to modify your configuration

support pretrain model

How to support model pre-trained on ImageNet?

Add vgg.py to mmdet/models/backbones/vgg.py.
# vgg.py
# Copyright (c) Open-MMLab. All rights reserved.

import torch.nn as nn
from mmcv.cnn.utils import constant_init, kaiming_init, normal_init
from mmcv.utils.parrots_wrapper import _BatchNorm
from mmdet.models.builder import BACKBONES

def conv3x3(in_planes, out_planes, dilation=1):
    """3x3 convolution with padding."""
    return nn.Conv2d(
        in_planes,
        out_planes,
        kernel_size=3,
        padding=dilation,
        dilation=dilation)

def make_vgg_layer(inplanes,
                   planes,
                   num_blocks,
                   dilation=1,
                   with_bn=False,
                   ceil_mode=False):
    layers = []
    for _ in range(num_blocks):
        layers.append(conv3x3(inplanes, planes, dilation))
        if with_bn:
            layers.append(nn.BatchNorm2d(planes))
        layers.append(nn.ReLU(inplace=True))
        inplanes = planes
    layers.append(nn.MaxPool2d(kernel_size=2, stride=2, ceil_mode=ceil_mode))

    return layers

@BACKBONES.register_module()
class VGG(nn.Module):
    """VGG backbone.

    Args:
        depth (int): Depth of vgg, from {11, 13, 16, 19}.
        with_bn (bool): Use BatchNorm or not.
        num_classes (int): number of classes for classification.
        num_stages (int): VGG stages, normally 5.
        dilations (Sequence[int]): Dilation of each stage.
        out_indices (Sequence[int]): Output from which stages.
        frozen_stages (int): Stages to be frozen (all param fixed). -1 means
            not freezing any parameters.
        bn_eval (bool): Whether to set BN layers as eval mode, namely, freeze
            running stats (mean and var).
        bn_frozen (bool): Whether to freeze weight and bias of BN layers.
    """

    arch_settings = {
        11: (1, 1, 2, 2, 2),
        13: (2, 2, 2, 2, 2),
        16: (2, 2, 3, 3, 3),
        19: (2, 2, 4, 4, 4)
    }

    def __init__(self,
                 depth,
                 with_bn=False,
                 num_stages=5,
                 dilations=(1, 1, 1, 1, 1),
                 out_indices=(0, 1, 2, 3),
                 frozen_stages=-1,
                 bn_eval=True,
                 norm_eval=False,
                 bn_frozen=False,
                 ceil_mode=False,
                 with_last_pool=True):
        super(VGG, self).__init__()
        if depth not in self.arch_settings:
            raise KeyError(f'invalid depth {depth} for vgg')
        assert 1 <= num_stages <= 5
        stage_blocks = self.arch_settings[depth]
        self.stage_blocks = stage_blocks[:num_stages]
        assert len(dilations) == num_stages
        assert max(out_indices) <= num_stages

        self.out_indices = out_indices
        self.frozen_stages = frozen_stages
        self.bn_eval = bn_eval
        self.bn_frozen = bn_frozen
        self.norm_eval = norm_eval

        self.inplanes = 3
        start_idx = 0
        vgg_layers = []
        self.range_sub_modules = []
        for i, num_blocks in enumerate(self.stage_blocks):
            num_modules = num_blocks * (2 + with_bn) + 1
            end_idx = start_idx + num_modules
            dilation = dilations[i]
            planes = 64 * 2 ** i if i < 4 else 512
            vgg_layer = make_vgg_layer(
                self.inplanes,
                planes,
                num_blocks,
                dilation=dilation,
                with_bn=with_bn,
                ceil_mode=ceil_mode)
            vgg_layers.extend(vgg_layer)
            self.inplanes = planes
            self.range_sub_modules.append([start_idx, end_idx])
            start_idx = end_idx
        if not with_last_pool:
            vgg_layers.pop(-1)
            self.range_sub_modules[-1][1] -= 1
        self.module_name = 'features'
        self.add_module(self.module_name, nn.Sequential(*vgg_layers))

    def init_weights(self, pretrained=None):
        if pretrained is None:
            for m in self.features:
                if isinstance(m, nn.Conv2d):
                    kaiming_init(m)
                elif isinstance(m, _BatchNorm):
                    constant_init(m, 1)
                elif isinstance(m, nn.Linear):
                    normal_init(m, std=0.01)

    def forward(self, x):
        outs = []
        vgg_layers = getattr(self, self.module_name)
        for i in range(len(self.stage_blocks)):
            for j in range(*self.range_sub_modules[i]):
                vgg_layer = vgg_layers[j]
                x = vgg_layer(x)
            if i in self.out_indices:
                outs.append(x)

        return tuple(outs)

    def _freeze_stages(self):
        vgg_layers = getattr(self, self.module_name)
        for i in range(self.frozen_stages):
            for j in range(*self.range_sub_modules[i]):
                m = vgg_layers[j]
                m.eval()
                for param in m.parameters():
                    param.requires_grad = False

    def train(self, mode=True):
        super(VGG, self).train(mode)
        self._freeze_stages()
        if mode and self.norm_eval:
            for m in self.modules():
                # trick: eval have effect on BatchNorm only
                if isinstance(m, _BatchNorm):
                    m.eval()

Change model/models/backbone/__init__.py

add from .vgg import VGG
add "VGG" into __all__

Change config you use( original FasterRCNN config)
model = dict(
    type='FasterRCNN',
    pretrained=None,
    backbone=dict(
        type='VGG',
        depth=19,
        with_bn=False,
        num_stages=5,
        dilations=(1, 1, 1, 1, 1),
        out_indices=(1, 2, 3, 4),
        frozen_stages=-1,
        bn_eval=False,
        bn_frozen=False,
        ceil_mode=False,
        with_last_pool=False,
    ),
    neck=dict(
        in_channels=[128, 256, 512, 512],),
)

Only modifications are displayed
PS: Not support pretrain model yet

How to support vgg19 pre-trained on ImageNet?

1. not registry

put vgg.py in mmdet/models/backbones/vgg.py
add from .vgg import VGG
add "VGG" into __all__

2. Replace the corresponding entry
You can refer to the documentation

i also do as this, but it is still wrong KeyError: "SingleStageDetector: 'XXNet is not in the models registry'"

Thanks for the answer! it worked for me..


feat: adding loaded future to the component

Description
Adds loaded getter on the component, similar to Component.mounted.
Checklist

[x] The title of my PR starts with a Conventional Commit prefix (fix:, feat:, docs: etc).
[x] I have read the Contributor Guide and followed the process outlined for submitting PRs.
[x] I have updated/added tests for ALL new/updated/fixed functionality.
[x] I have updated/added relevant documentation in docs and added dartdoc comments with ///.
[ ] I have updated/added relevant examples in examples.

Breaking Change

[ ] Yes, this is a breaking change.
[x] No, this is not a breaking change.

Related Issues

cc @alestiago


Nesting with the "+" selector

I'm in the process of converting our project over to using NanoCSS (which we're loving, by the way) and I came across an interesting situation.
We have an element that needs padding between it and any copies of itself.
The sass uses this:
.new-data-field {
	border: 1px solid $white;
	border-radius: 2px;
	padding: 5px;

	+ .new-data-field {
		margin-top: 5px;
	}
}

Translated into JSON, I have this:
'new-data-field': {
	border: `1px solid ${Colors.$white}`,
	'border-radius': '2px',
	padding: '5px',

	'+ &': {
		'margin-top': '5px',
	},
},

That generates incorrect classes:
.__1mqbk4w-new-data-field {
    border:1px solid #fff !important;
    border-radius:2px !important;
    padding:5px !important;
}

+ .__1mqbk4w-new-data-field {
    margin-top:5px !important;
}

If I try to manually set the relationship using '& + &' like this:
'new-data-field': {
	border: `1px solid ${Colors.$white}`,
	'border-radius': '2px',
	padding: '5px',

	'& + &': {
		'margin-top': '5px',
	},
},

I get the following, also-incorrect, CSS:

.__1lol306-new-data-field {
    border:1px solid #fff !important;
    border-radius:2px !important;
    padding:5px !important;
}

.__1lol306-new-data-field + & {
    margin-top:5px !important;
}

Is there something I'm missing here? How can I support this situation?
I know I could make another class for just the elements beyond the first, but I was wondering if there was a way to do it using the "+" selector.
Thanks!

:tada: This issue has been resolved in version 3.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


why Xamarin.Firebase.iOS.RemoteConfig has Analitycs as a dependency?

why Xamarin.Firebase.iOS.RemoteConfig force me to install Xamarin.Firebase.iOS.Analytics even if I don't need/use analytics at all?
Android equivalent has not this dependency.

Analytics has been removed in the most recent version. Closing this now.


Add ContextMenuEvent

@koute Thanks for finding the specs. I added them and merged it with master.
I hope to be more successful with the search next time.


Cargo not found

I successfully installed wsl on my windows
I ran the " curl https://cli.nexus.xyz/ | sh"
I agreed to the terms but when i enter my ID it shows :
Prover id saved to /home/satuks/.nexus/prover-id.
/home/satuks/.nexus/network-api exists. Updating.
No local changes to save
HEAD is now at cfacdc1 fix: CLI analytics fix (#101)
sh: 59: cargo: not found

I have the same problem.

i have the same problem any solution

Try adding the path or reloading your Terminal
running in a new terminal works for me (Ubuntu 20.04.4 LTS)

Done thanks worked out
On Thu, 12 Dec 2024, 00:18 Igunnu Emmanuel, @.***>
wrote:

Try adding the path or reloading your Terminal
running in a new terminal works for me (Ubuntu 20.04.4 LTS)
—
Reply to this email directly, view it on GitHub
https://github.com/nexus-xyz/network-api/issues/151#issuecomment-2537397981,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXYFXN554YTMM3USS2FHFP32FDB2VAVCNFSM6AAAAABTNPJNTGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMZXGM4TOOJYGE
.
You are receiving this because you commented.Message ID:
@.***>

--
Website http://www.unilorin.edu.ng/index.php Unilorin Bulletin
http://www.unilorin.edu.ng/index.php/bulletin Undergrad Portal
https://uilugportal.unilorin.edu.ng/ Postgrad Portal
https://uilpgportal.unilorin.edu.ng/
http://www.unilorin.edu.ng/index.php

Try adding the path or reloading your Terminal
running in a new terminal works for me (Ubuntu 20.04.4 LTS)

Please where is this added?


Keep eslint-config-react-app's dependencies up-to-date.

Continuing on the issue brought up here: https://github.com/facebookincubator/create-react-app/issues/2631
I think eslint-config-react-app would be easier to use if its peer dependencies were up-to-date with their packages' latest breaking changes.  This just happened to me:

Tried to lint a package extending "react-app"
ESLint complains that I don't have "react-app" installed
Installed it with the usual npm i -g eslint-config-react-app
ESLint complains again about the missing peer dependencies, which NPM in all its wisdom and usefulness won't install for us automatically
Supposedly install them all with the usual npm i -g eslint-plugin-flowtype eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react babel-eslint
See weird error, "Definition for rule 'jsx-a11y/href-no-hash' was not found"
Google and finally find these specific versions I need to install: https://github.com/facebookincubator/create-react-app/tree/master/packages/eslint-config-react-app#usage-outside-of-create-react-app

It'd be nice if the latest versions just worked, since I typically install the latest versions of packages. and I imagine other people do, too.

This was a breaking change so we cannot just "support" it, and our documentation outlines the exact versions of the packages you need to install.
Soon, I think we'll be able to actually depend on our current peer deps within our preset, but it's a newer (if available now?) eslint feature.

This was a breaking change so we cannot just "support" it, and our documentation outlines the exact versions of the packages you need to install.

What I'm suggesting is to make a concerted effort to keep peer dependencies up-to-date.  I'm suggesting how to make the usage of this software more intuitive; providing a way to avoid the need to look up how to use it.

Soon, I think we'll be able to actually depend on our current peer deps within our preset, but it's a newer (if available now?) eslint feature.

I believe this is the issue we might want to track for that feature: https://github.com/eslint/eslint/issues/6237#issuecomment-301375357

I'm open to a PR that updates our peer dep range to accept both versions, but you'll need to fix the configuration as well to toggle what's being used based on the peer dep'd version.

I think this is what you're suggesting?
diff --git a/packages/eslint-config-react-app/index.js b/packages/eslint-config-react-app/index.js
index adcdb86..727446d 100644
--- a/packages/eslint-config-react-app/index.js
+++ b/packages/eslint-config-react-app/index.js
@@ -277,7 +277,6 @@ module.exports = {
     'jsx-a11y/aria-role': 'warn',
     'jsx-a11y/aria-unsupported-elements': 'warn',
     'jsx-a11y/heading-has-content': 'warn',
-    'jsx-a11y/href-no-hash': 'warn',
     'jsx-a11y/iframe-has-title': 'warn',
     'jsx-a11y/img-redundant-alt': 'warn',
     'jsx-a11y/no-access-key': 'warn',
@@ -293,3 +292,23 @@ module.exports = {
     'flowtype/use-flow-type': 'warn',
   },
 };
+
+try {
+  var a11y = require('eslint-plugin-jsx-a11y');
+} catch (e) {
+  // Ignore if the package isn't installed, let ESLint complain about that.
+}
+if (a11y) {
+  // Feature-detect availability of newly-added / later-deprecated rules, since
+  // we are maintaining backwards-compatibility for version 5 and ease-of-use
+  // for version 6.
+  if (a11y.rules['anchor-is-valid']) {
+    Object.assign(module.exports.rules, {
+      'jsx-a11y/anchor-is-valid': 'warn',
+    });
+  } else if (a11y.rules['href-no-hash']) {
+    Object.assign(module.exports.rules, {
+      'jsx-a11y/href-no-hash': 'warn',
+    });
+  }
+}
diff --git a/packages/eslint-config-react-app/package.json b/packages/eslint-config-react-app/package.json
index a10ef67..c3f16bb 100644
--- a/packages/eslint-config-react-app/package.json
+++ b/packages/eslint-config-react-app/package.json
@@ -15,7 +15,7 @@
     "eslint": "^4.1.1",
     "eslint-plugin-flowtype": "^2.34.1",
     "eslint-plugin-import": "^2.6.0",
-    "eslint-plugin-jsx-a11y": "^5.1.1",
+    "eslint-plugin-jsx-a11y": "^5.1.1 || ^6.0.2",
     "eslint-plugin-react": "^7.1.0"
   }
 }

It seems to me like this should work, but I get "Error: Cannot find module 'eslint-plugin-jsx-a11y'".  Maybe we need to imitate the way ESLint loads plugins?  But in their lib/config/plugins.js, it looks like they use require.  Any ideas?

Yup, that's what I had in mind in terms of compatibility with both versions.
No ideas on the missing package though, node's module resolution should be picking it up -- odd.
Does this work when you use npm run create-react-app ~/Desktop/test?

I'm having issues with this now because we are using newest eslint-config-airbnb which has a peer dep of<EMAIL_ADDRESS>Because eslint-config-react-app requires<EMAIL_ADDRESS>I get a bunch of
[1]   Line 1:  Definition for rule 'jsx-a11y/href-no-hash' was not found  jsx-a11y/href-no-hash
on every build.

It is not supported to use Airbnb config with CRA project without ejecting. In fact it's not supported to use any extra config at all until you eject.

It might not be supported, but it works fine as long there's no mismatch in major peer dependencies.

Yeah. I’m just saying that while we understand it’s an inconvenience, it’s pretty expected that versions will fall out of sync if you use it this way. So we’ll fix it within a month or two but it‘s not high on our list.

Hey @gaearon, just to make sure I understood correctly: the eslint-plugin-react-app package release cycle is strictly tied to the react-scripts one, am I right?
Just asking because I'm maintaining eslint-plugin-react-app and this info might be useful.
Thanks!


Allow for the DC of a passive skill enricher to be optional

Use case being the ability to make an enricher for text such as "the party member with the highest passive Perception". When using an enricher without a DC ([[/skill perception passive]]), it displays as "DC undefined passive Wisdom (Perception)".
It would be nice to be able to use an enricher to simply display a passive skill without a need for a DC.

Comment


Grafana with VPN

If I am remote and connect to my home VPN (Unifi L2TP), the dashboard will not load the tables.  The queries show the spinning circles continuously.  It works fine if I am on the LAN.  I have no issues with other sites and applications behind my VPN, just Grafana.

I know several of us use VPN without issue.  When you VPN in, do you point your browser to the same IP:port address that you use for the LAN or does your VPN do portmapping?  You need to map port 9000 and 8675.
Here is a basic (poor man's) VPN - setting up and exposing an SSH endpoint (using PubkeyAuthentication) via your internet router, then running this from remote (where x.x.x.x is the IP address of your public IP):
ssh -N -p 22<EMAIL_ADDRESS>-L 9000:<IP_ADDRESS>:9000 -L 8675:<IP_ADDRESS>:8675

Mine is ip:port.  It turns out it is not an issue at all.  My firewall was blocking the traffic over the VPN.  It identified the traffic as a "ET WEB_SERVER Possible SQL Injection Attempt".  After I whitelisted my VPN subnet, it works as expected.


Unable to start kibana

I admit to not knowing a lot about docker and/or ELK, but when I try and start the stack using a freshly cloned repo, no changes on a clean CentOS 7 VM I get:

My google-fu has failed to find anything obvious, am I missing something there?

Could you pls check if this commit https://github.com/deviantony/docker-elk/pull/54/commits/c9eb9eb404784a275363af943209e0d483f53ef5 solves the problem for you as well?

Could you try to replace the definition of the Kibana container in the docker-compose.yml file by the following:
kibana:
  build: kibana/
  volumes:
    - ./kibana/config/kibana.yml:/opt/kibana/config/kibana.yml
  ports:
    - "5601:5601"
  links:
    - elasticsearch

Sorry, no luck on either front.
The pull request produced an error about my docker engine version not being up to date enough (running 1.9.1)
The tweaked docker-compose.yml produced no difference in the output, still fails in the same way.

Oh right, did you follow the setup procedure? Especially the part relative to CentOS:
.-root@centos ~
-$ chcon -R system_u:object_r:admin_home_t:s0 docker-elk/

My apologies ... I missed that step.
Using the chcon line didn't seem to work, but putting SELinux into permissive mode did and that works fine for me.
Thanks for your help!


Add VNC/Spice keymap option to the CLI

Author Name: Guillaume Oberlé (Guillaume Oberlé)
Original Redmine Issue: 4399, https://dev.opennebula.org/issues/4399
Original Date: 2016-04-11
Original Assignee: Guillaume Oberlé

Add VNC/Spice keymap option to the CLI.

Original Redmine Comment
Author Name: Guillaume Oberlé (Guillaume Oberlé)
Original Date: 2016-04-11T07:48:27Z

Pull request here : https://github.com/OpenNebula/one/pull/91 :)

Original Redmine Comment
Author Name: Guillaume Oberlé (Guillaume Oberlé)
Original Date: 2016-08-31T07:45:35Z

Issue has been merged, it can be closed. :)


Workaround GCC 11.3 compiler bug

Description
Compiling on GCC 11.3 breaks due to this compiler bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103871. Using the workaround in this comment seems to fix the issue.
Tested on 11.3 locally. Changes should be benign. No way to test this in CI without adding GCC 11.3 to the build matrix.
Checklist

[x] I am familiar with the Contributing Guidelines.
[x] New or existing tests cover these changes.
[x] The documentation is up to date with these changes.

/merge


Add liquidity pool modeling

This should reduce the excessive amplitude seen currently in the model.

There should be a plug and play model for this

We have something resembling a liquidity pool, now


Question:  Is there a way to display a custom message or  with 'CONTRACT_OVERLAY'

Question (no issue)
My task could take 45-60 seconds.  I would like to display an overlay with a custom HTML Element.
Similar to what Slack does when the page is loading the first time.
Is this possible?
Thanks!

This is more of a feature request for the Ladda library itself. react-ladda does not try to add extra functionality outside of the Ladda library. I would try asking on https://github.com/hakimel/Ladda


Refreshing the VM grid shows all the VMs as if the user was an administrator

Description of problem:
When entering the VM Portal, the VM grid contains only the VMs that user is supposed to see (permissions) and VM pools only are shown if the user did not allocate any VMs yet. However, after pushing the refresh button all the VMs including possible VM Pool VMs appear as if the user was an admin.
VM Portal version number:
ovirt-web-ui-1.6.6-0.20201030.gitf464801.el8.noarch
oVirt version number:
ovirt-engine-4.4.4-0.0.master.20201109161351.git5dac13e7e22.el8.noarch
ovirt-engine-<IP_ADDRESS>-0.1.el8ev.noarch
Browser and version:
firefox-82.0.2-1.fc31.x86_64
Steps to Reproduce:

Login as UserRole user
Click on refresh button
Check that you can still see only the VMs you have permissions for

Actual results:
User sees all the VMs and VM Pool VMs.
Expected results:
User sees only the VMs he has permissions for

After investigating the issue a bit more, I got some more reproduction steps:

The issue seems to be involving only VM Pools.
The issue seems to be present only if the user has global UserRole, directly applied UserRole to a specific VM or VM Pool does not reproduce the issue.
Refresh done by the VM Portal itself does not always reproduce the issue.
Hard refresh (F5) does "fix" the issue.
VM Portal refresh does reproduce the issue always even after hard refresh.
User can see all the VM Pool VMs and run all of them exceeding the limit of VM Pool VMs per user.
The VM Pool card behaves correctly and after running more VM Pool VMs than the user is limited to, the VM Pool card disappears but all of the VM Pool VMs are still present and able to be run.

@isaranova , @sgratch - If a user has a global UserRole, why wouldn't they see all VMs in the system?  Wouldn't the role inherit to everything?

Steps to reproduce:

As an admin, create some VM pool in Admin portal ("The issue seems to be involving only VM Pools.")
Log in as a user with the UserRole permission to VM Portal
=> you can see the VM Pool (step 1) (with the proper number of "Available VMs from this pool" for the user according to the limit, in the pool card), but not the VM Pool VMs by themselves
Click on the Refresh button up right in the VM Portal
=> all the VM Pool VMs do appear + it is possible to run them and to exceed the limit of the available VM Pool VMs per user

Actual result:

Expected result:

@isaranova , @sgratch - If a user has a global UserRole, why wouldn't they see all VMs in the system? Wouldn't the role inherit to everything?

@sjd78 the user should see all VMs in the system and even all pools in the system if he has a global UserRole but he shouldn't see the pool vms that were not assigned to him. The UserRole is not inherited automatically to all pool vms but only to those that were assigned to the user.

LGTM

LGTM


chore: optimize dag sync

On dag sync requests, eliminate sending duplicate transactions and transactions that are already finalized. Get transactions from db in a batch query only from column containing non-finalized transactions.

prnet cleaned-up successfully


Rename reserved keyword "async" for Python 3.7 compatibility.

Changes:

Added Python 3.7 support
Restored pytest + Tox + CodeCov
Removed pants build
Restored pre-commit and a few Flake8 errs

Also: Introduce pre-commit hooks to avoid such.
Related: https://github.com/learningequality/kolibri/pull/4551

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@77c283e). Click here to learn what that means.
The diff coverage is 0%.

@@           Coverage Diff           @@
##             master    #34   +/-   ##
=======================================
  Coverage          ?     0%
=======================================
  Files             ?     15
  Lines             ?   1126
  Branches          ?      0
=======================================
  Hits              ?      0
  Misses            ?   1126
  Partials          ?      0

Impacted Files
Coverage Δ

src/iceqube/storage/backends/default.py
0% <0%> (ø)

src/iceqube/compat.py
0% <0%> (ø)

src/iceqube/scheduler/classes.py
0% <0%> (ø)

src/iceqube/common/utils.py
0% <0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 77c283e...33e1194. Read the comment docs.

Nice, was clicking around the Codecov report and everything seems to be in order.
Since tests are now running and the ones for Python 3.7 are positive, I'll release this and add a PR for Kolibri with the new version.


[Key Vault] Linting updates for pylint 3.2.5

Description
Resolves https://github.com/Azure/azure-sdk-for-python/issues/34160 and https://github.com/Azure/azure-sdk-for-python/issues/34158. Almost all changes are to include keyword-only arguments in method signatures, with the rest mostly removing extraneous pylint suppressions.
Validating next-pylint pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4116741&view=logs&j=e5b925a9-9650-5321-24fd-5d9499fe02b8&t=e1fa7d9e-8471-5a74-cd7d-e1c9a992e07e
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

/azp run python - keyvault - tests-weekly

/azp run python - keyvault - tests-weekly

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-keyvault-certificates


Set current axis

When using multiple subplots, labels and ticks applied to the last one.

lgtm, thanks for the contribution, @rzeman9!


[Neuvector]  Clicking on EULA do not accept button does not return anything and stays in the same page

Rancher Server Setup

Rancher version: v2.6-head
Installation option (Docker install/Helm Chart): Docker install

If Helm Chart, Kubernetes Info: k3s
Cluster Type (RKE1, RKE2, k3s, EKS, etc):
Node Setup: 1 node
Version: v1.21.3+k3s1

Proxy/Cert Details: self-signed

Information about the Cluster

Kubernetes version:
Cluster Type (Local/Downstream): Downstream infrastructure provider 3 worker, 1 etcd, 1 cp
RKE1

Describe the bug
After installing neuvector partner chart and launching the neuvector UI, navigates us to the End User License Agreement page. On this page, if we click on do not accept button nothing happens on the screen and we stay in the same page. If we click the do not accept button the UI is refreshed and we are still on the same page.
To Reproduce

Create a any cluster - I tried with RKE1 node driver 3 worker, 1 etcd, 1 cp
Install neuvector app from explorer >> apps >> Rancher charts
From left navigation, launch neuvector UI
In the EULA click on do not accept

Result
Nothing happens on the page and we stay on the same page.

Will be verified by @selvamt94 as part of this issue: https://github.com/neuvector/neuvector/issues/218


Realm server deployment failure experiment branch

I’m just opening this as a PR to make it easier to survey the state of it, not for merging.

Can we try resetting the realm files in staging and see if that fixes it? I suspect we have (de)serialization issues when the instance and definition does not match and maybe that's why the realm server doesn't start?


AsyncScalr.setThreadCount is a hazard

Allowing callers to adjust the pool thread count on the fly by default is unnecessary (and likely hazardous).

ASIDE: The current logic is implemented incorrectly as well. The static init calls setThreadCount(2) with a promise in the docs that the caller just needs to call the method first to set the thread count to what they want.
The method then attempts to set the value on an executor that hasn't existed yet.
Sloppy logic.

This was a "here's a rope, go hang yourself" feature that I wrote without enough forethought.
This has been removed in 4.0 and replaced by a total rewrite to the class with a much better design created with the intention of being subclasses in segments depending on the level of customizability the dev wants.


KOGITO-5553: Move SocketUtils to kogito-test-utils

jira related: https://issues.redhat.com/browse/KOGITO-5553
As part of unification between jobs and data-index integration test we need a common place to avoid duplicate SocketUtils..  moving that to  kogito-test-utils.

How to retest this PR or trigger a specific build:

Run all builds
Please add comment: Jenkins retest this

Run (or rerun) specific test(s)
Please add comment: Jenkins (re)run [runtimes|optaplanner|apps|examples] tests

Quarkus LTS checks
Please add comment: Jenkins run LTS

Run (or rerun) LTS specific test(s)
Please add comment: Jenkins (re)run [runtimes|optaplanner|apps|examples] LTS

Native checks
Please add comment: Jenkins run native

Run (or rerun) native specific test(s)
Please add comment: Jenkins (re)run [runtimes|optaplanner|apps|examples] native

Full Kogito testing (with cloud images and operator BDD testing)
Please add comment: Jenkins run BDD
This check should be used only if a big change is done as it takes time to run, need resources and one full BDD tests check can be done at a time ...

The (build) Apps check has failed. Please check the logs.

The (build) Examples check has failed. Please check the logs.

The (build) Apps check has failed. Please check the logs.

The (build) Apps check has failed. Please check the logs.

jenkins run apps tests

The (build) Apps check has failed. Please check the logs.

The (build) Apps check has failed. Please check the logs.

The (build) Examples check has failed. Please check the logs.

jenkins run apps tests

The (build) Apps check has failed. Please check the logs.

The (build) Examples check has failed. Please check the logs.

The (build) Apps check has failed. Please check the logs.

jenkins please retest this

The (build) Apps check has failed. Please check the logs.

The (build) Examples check has failed. Please check the logs.

The (build) Apps check has failed. Please check the logs.

jenkins please retest this

The (build) Runtimes check has failed. Please check the logs.

The (build) Examples check has failed. Please check the logs.

The (build) Apps check has failed. Please check the logs.

jenkins please retest this

The (build) Examples check has failed. Please check the logs.

jenkins run examples tests


Writing to config in deactivate can wipe settings

Prerequisites

[ ] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
When a package writes to the configuration during it's deactivate step there is a chance it can cause Atom to wipe the user's settings when Atom is restarted (such as during updating packages).

Steps to Reproduce

Create an empty folder and set ATOM_HOME to this folder
Download settings-wiper.zip, extract it, and run apm link from that folder in the environment from step 1
Launch Atom, you should get an information notification saying the current value is 0, 0, 0, 0, 0, as well as Atom's regular first run screens
Set the Welcome screen to disabled in order to make it obvious when this bug hits you.
Launch "enough" Atom windows to trigger this bug on restarting, I found 10 windows to be a good number
Close one of the windows and launch a replacement
Note that the number increments
Open the developer tools and run atom.restartApplication() to restart Atom
Either the configuration will save and you will simply see an incremented number, or Atom's configuration will reset and you will see all 0s again, and the Welcome screen will show in all windows
If the settings didn't reset, simply run the command again until it does.

Expected behavior: Atom's configuration doesn't get wiped.
Actual behavior: Atom's configuration occasionally gets completely reset.
Reproduces how often: This is somewhat hard to tell, initially it was around 80%, but it can take many calls to atom.restartApplication() to reproduce this. Atom v1.26.0-beta0 reproduces this more often than Atom v1.25.0 does, but both versions do reproduce this.
Versions
Atom    : 1.26.0-beta0
Electron: 1.7.11
Chrome  : 58.0.3029.110
Node    : 7.9.0
apm  1.19.0
npm  3.10.10
node 6.9.5 x64
atom 1.26.0-beta0
python 2.7.14
git 2.16.2.windows.1
visual studio 2015

This bug has not been seen to reproduce in Atom v1.24.1.
Additional Information
This is a split out of the remaining part of https://github.com/atom/atom/issues/14909.
The common packages in all 24 package lists posted to that issue was the following:
"package name", "min", "max"

"busy-signal","1.4.3",""
"intentions","1.1.2","1.1.5"
"linter","2.2.0",""
"linter-ui-default","1.6.2","1.7.1"

linter-ui-default has the possibility to call atom.config.set during deactivate, leading to the guess in https://github.com/atom/atom/issues/14909#issuecomment-371251700 that lead to the test package in this issue.
The change to writing the configuration file in a single process was made in https://github.com/atom/atom/pull/16628.

That's some great sleuthing...

Close this out in light of https://github.com/atom/atom/pull/17166#issuecomment-382796752.


Obtaining the IMU Data using ROS

Hello,
is there currently a way to obtain the IMU data using ROS by any chance?
Thanks

This function should be supported by now


Update tutorial05.txt

In line 512: Numbers of Questions did not have the correct order, therefore a "python manage.py test polls" returned one failed test.

Could you please create ticket for this? see https://docs.djangoproject.com/en/dev/internals/contributing/bugs-and-features/ for more details

I cannot reproduce this problem. I guess you may have made a mistake somewhere.


Update Understanding and configuring Cloudflare Page Rules (Page Rule…

…s Tutorial).md

Hi @hannes-cf
Would it be possible to review and approve if that looks ok for you?
Thanks!

Hi @hannes-cf
I've removed the extra CNAME

Hi @jedecf @kodster28 do you have any idea why the spell check is failling for this PR?

There's some issue probably due to the filename (contains spaces and parentheses) which we'll have to address.
Don't worry, it's a non-blocking and people with write access will be able to merge once the PR is approved.

Hey @rprice74 , @zeinjaber
Would it be possible for you to review and approve this PR?
Thanks!


[Distributed] Make distributed thunks the witnesses, fix calls on generic DAs

Implements calls on generic distributed actors, by fixing how the witness is found: it must be the thunk.
Resolves rdar://95829405

@swift-ci please smoke test

@swift-ci please build toolchain

@swift-ci please smoke test

Thanks for review, will address in the 3/3 PR 👍


Feature/related by tags and categories

This is an enhancement or feature.
Summary
Add ability to include related pages by tags and/or categories. With the related_threshold > 0 pages with the matching number of tags and/or categories will be included instead of site.related_posts.
Context
Not related to any GitHub issue(s).

Closing as this is a Duplicate of #978, a PR I submitted way back in 2017. It hurts build times pretty bad if you have a big site as looping over site.posts to compare against tags or categories is costly in Liquid-land.
Using Jekyll related post plugins instead perform much better in my experience than any amount of Liquid spaghetti conditionals.


Is it possible to get col number and row number of each token?

What I only have found about positions of tokens is map. However, I understand this just includes 2 line numbers, not exact the position (start col and row + end col and row) of every token.
So is it possible to do that or similar in markdown-it? I'm migrating a project from remark-parse + unist for some reasons. In unist it has a position object in each node https://github.com/syntax-tree/unist?tab=readme-ov-file#node
Thanks.

That's not possible without full rewrite, see previous issues.


PrettyUrl enabled

how can i use this extention with PrettyUrl enabled?

i found solution
yourdomain.com/blog/default


In memory running option

Is your feature request related to a problem? Please describe.
n/a
Describe the solution you'd like
It would be useful to have a implementation of the IRepository<T> which would run an in memory store much like what EF core provides. Matching the cosmos API wherever possible for use alongside the Microsoft.AspNetCore.Mvc.Testing nuget package. This would be great for running integration tests in pipelines.
Describe alternatives you've considered
Running test's against a real version of cosmos locally or in Azure.
Additional context
n/a

I love this idea, @mumby0168 - I could easily imagine a companion repository and NuGet package that provides this testing capabilities. Would you expect it to be within this package - perhaps something like this?
services.AddInMemoryCosmosRepository(...)

Yeah that would be the plan just a different implementation of DefaultRepository<T> was my idea half started this idea in a project I am working on at the moment but having it as part of the package would be great.
Only slight issue I maybe see is mapping the SQL overloads for GetAsync to an internal list sure it is something that can be worked out however.

Hi @IEvangelist I am currently working on this first commit is here all be it very basic, wanted to get your feedback as I work through it, would it be best to keep a PR as a draft into this repository from my fork or just wait until I am ready?
https://github.com/mumby0168/azure-cosmos-dotnet-repository/commit/44f3c41993a2de419901b77d24f84f81d650d070
Thanks,
Billy

Hi Billy, that is a great start - added a few comments.

Thank you, will work through this over the next few weeks, on holiday next week so might be a slow start haha. Thanks for your time 👍

This would be great. I've been working against the Linux Docker Cosmos DB emulator, but it's a bit heavy and SSL gets in the way.

Hello again @IEvangelist I have pretty much finished the basics of the implementation.
I have added a small section to the docs.
I was wondering is it worth adding a sample using Microsoft.AspNetCore.Mvc.Testing against the web tier project?
Also having thinking that supporting the following methods:
/// <inheritdoc/>
        public ValueTask<IEnumerable<TItem>> GetByQueryAsync(string query, CancellationToken cancellationToken = default)
        {
            throw new NotImplementedException();
        }

        /// <inheritdoc/>
        public ValueTask<IEnumerable<TItem>> GetByQueryAsync(QueryDefinition queryDefinition, CancellationToken cancellationToken = default)
        {
            throw new NotImplementedException();
        }

Any tips or plan of attack would be appreciated.

Hi, mumby0168. I didn't make last Saturday meeting.
For temporary solution, that way I'm using
For integration testing, testing against the real cosmos db is prefer. I had a discussion with our MS consultant about it.
Secondary, for local unit testing, you could use local cosmos emulator. If you want to run those unit tests in pipeline. You could use windows image. It has cosmos emulator built-in, but you need spin the emulator up by two lines of PowerShell script.
Import-Module "C:/Program Files/Azure Cosmos DB Emulator/PSModules/Microsoft.Azure.CosmosDB.Emulator"
Start-CosmosDbEmulator

Hi, mumby0168. I didn't make last Saturday meeting.
For temporary solution, that way I'm using
For integration testing, testing against the real cosmos db is prefer. I had a discussion with our MS consultant about it.
Secondary, for local unit testing, you could use local cosmos emulator. If you want to run those unit tests in pipeline. You could use windows image. It has cosmos emulator built-in, but you need spin the emulator up by two lines of PowerShell script.
Import-Module "C:/Program Files/Azure Cosmos DB Emulator/PSModules/Microsoft.Azure.CosmosDB.Emulator"
Start-CosmosDbEmulator

Hi, yes we have an option to this in our integration tests currently we can either run in memory mode or against the real services in the way you have described.
We have seen benefit in terms of speed of running tests in this way using an in memory model, but do hope to run tests on a nightly against a real Cosmos DB service.

I guess you don't want tests pollute each other. We have a similar issue before, now we run them is parallel by isolating each test.


Set touch event to TOUCH_END

This addresses an interaction issue with the upcoming https://github.com/paperwm/PaperWM/pull/643 panel
event handle

Thx


dispatch panel tone sounds

Describe the feature
a feature where dis[patch can play tones to either fire/ems or leo (would be like a multiple choice checkbox)
tone examples can be found here: http://brics.butlersheriff.org/help/radio/tones-on-brics/
this would make it more realistic and easier for dispatch
Additional Context
No response

nevermind i see another issue request has this