"Bootstrap's JavaScript requires jQuery" Error after bundling with minify = true

Hi,
I got the following problem.
After bundling my application (almost the same as the "skeleton-typescript" project from the skeleton-navigation pack) i get the following Error when loading the page:
Error: Bootstrap's JavaScript requires jQuery
	Error loading file:///D:/Development/aurelia_test/dist/main.js
    at file:///D:/Development/aurelia_test/dist/aurelia-54e3bef5bc.js:3:22627
    at file:///D:/Development/aurelia_test/dist/aurelia-54e3bef5bc.js:4:27322
    at i (file:///D:/Development/aurelia_test/jspm_packages/system.js:4:31576)
    at s (file:///D:/Development/aurelia_test/jspm_packages/system.js:4:31192)
    at file:///D:/Development/aurelia_test/jspm_packages/system.js:4:31654
    at file:///D:/Development/aurelia_test/dist/aurelia-54e3bef5bc.js:4:27468
    at i (file:///D:/Development/aurelia_test/jspm_packages/system.js:4:31576)
    at i (file:///D:/Development/aurelia_test/jspm_packages/system.js:4:31538)
    at n (file:///D:/Development/aurelia_test/jspm_packages/system.js:4:30141)
    at Object.execute (file:///D:/Development/aurelia_test/jspm_packages/system.js:5:3176)

This does not happen if i set  minify of the "dist/aurelia" bundle to false.
How can i get this to work with minifying the bundle?

@ahmedshuhel Can you help out with this? I see things like this coming up fairly often. This might be an example that we need to add to the bunder documentation.

@BoeseB Could you please post your config.js and bundle config? It would be even better If you can push the code to github and give us the link.

it's basicly the typescript-skeleton i didn't change the config.js or bundle config manually.
All i did was installing some packages like upgrading to (typings)[https://www.npmjs.com/package/typings] from the tsd Type Definition Manager via npm.
Commands i used for the migration to typings
$ npm uninstall tsd
$ rm -rf typings
$ npm install typings
$ typings init --upgrade
$ rm tsd.json
$ typings install

It's up on github here should be unbundled in this version, I forgot to push the new changes and will be able to update on monday. Most of the new changes, if not all, are just in css and html files anyway

I will take a look at it. Thanks.

I'm seeing the same thing (using the Typescript skeleton without modifications).  It runs successfully unbundled.  But if you bundle, it complains that bootstrap can't find jquery.  If you look at the resulting bundle (aurelia-xxxxxxxxxx.js), jquery is actually included.  If you then jspm install jquery and rebundle, that solves the problem, but you end up with two copies of jquery in the bundle.

(NOTE: This is comment is an update to a previous comment that I deleted because some of the info I provided before was incorrect)
I'm seeing the same issue using the Typescript skeleton unmodified.  It works correctly if I run it unbundled.  However, after bundling, it complains that bootstrap cannot find jquery, but only when the bundle is minified.  If I disable minification and rebundle, then it works.  From what I can tell, jquery is present in the bundle in both cases.
If I then jspm install jquery and also add a "jquery" entry to the list of "includes" in build\bundles.js, that resolves the error in the browser (app appears to run properly), but upon closer inspection there are actually two copies of jquery in the final bundle.  It looks like I'm getting two copies because one copy (from the original skeleton) is prefixed with github:, and the other (I installed via jspm) is prefixed with npm:  Partial config.js below:
"aurelia-da066bf602.js": [
<EMAIL_ADDRESS><EMAIL_ADDRESS>  .....
<EMAIL_ADDRESS><EMAIL_ADDRESS>

So, I dug into this a little by stepping through the SystemJS loader code to try to understand what is different about the minified vs. non-minified bundle.  It turns out that the loader code uses some regex expressions to identify the module type based on the contents of the bundle.  (Look for amdRegEx, cjsRequireRegEx, cjsExportsRegEx, etc. in system.src.js).  When the bundle is not minified, the loader identifies it as 'amd' format; but when the bundle is minified, the loader identifies it as 'cjs' format.  I'm not an expert on module loaders/formats, but I think this is the issue (i.e., jQuery is not getting defined at global scope in the 'cjs' case, so bootstrap fails).

If the loader is guessing wrong, add a meta config.

@Driedas Solution for Bootstrap's JavaScript requires jQuery
"dist/bundle-aurelia": {
       "includes": [
        "aurelia-framework",
        "aurelia-bootstrapper",
        "aurelia-fetch-client",
        "aurelia-router",
        "aurelia-templating-binding",
        "aurelia-templating-resources",
        "aurelia-templating-router",
        "aurelia-loader-default",
        "aurelia-history-browser",
        "aurelia-logging-console",
        "jquery",
        "bootstrap",
        "bootstrap/css/bootstrap.css!text"
      ],

Adding jquery to the aurelia bundle seems to fix the problem.  I also put
import $ from 'jquery';

in my main.js Although I don't know if that actually helped or hurt.  The problem only showed up when I deployed to heroku, and I couldn't get it to break locally when I bundled.

@davidbfrogman tried both, but with no success.

Are you actually using bootatrap.js?
Not just the css?
If you're not actually using bootstrap.js remove the include line in main.js

+1 same issue.
I have tried many variants of this with no luck:
System.config({
          meta: {
<EMAIL_ADDRESS>{
              format: 'global',
              exports: '$', // the global property to take as the module value
            }
          }
        });

System.config({
          meta: {
            'jquery': {
              format: 'global',
              exports: '$', // the global property to take as the module value
            }
          }
        });

etc.

@ahmedshuhel
i tried to get closer to the problem. gotta be a systemjs-builder bug. upgrading didn't help.
dunno if it helps, but the bug does depend on what's included in the bundle.
eg: vanilla skeleton-es2016 has that problem
add eg spoonx/aurelia-notification and, surprise, suddenly it works.
repo: https://github.com/doktordirk/skeleton-navigation/commits/bundle-test

I'm seeing the same issues with the skeleton-navigation pack.
As a work-around, I've found pulling bootstrap into a separate bundle without minification then loads happily.  By default is looks like bootstrap (js, not css) is only being used to handle the nav menu if the browser width is < 768 which may be why people are not seeing any problems.
Here's what I've added to bundles.js:
"dist/boot": {
   "includes": [
      "bootstrap"
   ],
   "options": {
      "inject": true,
      "minify": false,
      "depCache": true,
      "rev": false
   }
}

I also used the solution from @bsyk, but had to combine the suggestion of @davidbfrogman to include jquery. This is the working entry:
File: bundles.js
"dist/boot": {
"includes": [
"bootstrap"
],
"options": {
"inject": true,
"minify": false,
"depCache": true,
"rev": false
}
}
I also added jquery to my configuration:
File: config.js
map: {
"aurelia-animator-css"<EMAIL_ADDRESS>"aurelia-bootstrapper"<EMAIL_ADDRESS>"aurelia-fetch-client"<EMAIL_ADDRESS>"aurelia-framework"<EMAIL_ADDRESS>"aurelia-history-browser"<EMAIL_ADDRESS>"aurelia-loader-default"<EMAIL_ADDRESS>"aurelia-logging-console"<EMAIL_ADDRESS>"aurelia-pal-browser"<EMAIL_ADDRESS>"aurelia-polyfills"<EMAIL_ADDRESS>"aurelia-router"<EMAIL_ADDRESS>"aurelia-templating-binding"<EMAIL_ADDRESS>"aurelia-templating-resources"<EMAIL_ADDRESS>"aurelia-templating-router"<EMAIL_ADDRESS>"jquery"<EMAIL_ADDRESS>// <-- HERE
"bootstrap"<EMAIL_ADDRESS>"fetch"<EMAIL_ADDRESS>"font-awesome"<EMAIL_ADDRESS>"text"<EMAIL_ADDRESS><EMAIL_ADDRESS>{
"jquery"<EMAIL_ADDRESS>},

I can confirm that solution from @zsvanderlaan  worked for me -   and the only issue is about minification.   Minify:false works,  Minify:true does not.
config.js map gets updated automatically during gulp bundle  - so the only action needed was separate bundle for boostrap and jquery

Greetings, I fortunately had a backup copy to consult and this is all I had to fix in my config.js file, to get it 'working' again:
<EMAIL_ADDRESS>{
"jquery"<EMAIL_ADDRESS>It turned into this when I bundled: "jquery"<EMAIL_ADDRESS>

I encountered this as well. Finally sorted it.
Nothing directly to do with bundling. The module declaration created for bootstrap by jspm declares the dependency as JQuery V3. Bootstrap currently requires JQuery less than v3 - now would be 2.2.4. The error is not informative.
You can either edit your config.js file or, as I did, just load jquery from a script tag and remove JQuery from the config.js file and bundle cconfiguration. Presumably this does add as small overhead to loading a page but it's so small that I couldn't quantify it.
Presumably this will go away at some point when bootstrap begins to use the latest JQuery version.

@LivesleyWA, (If I understood the problem correctly) You could have 2 versions of jQuery if You use alias for at least one of them when installing jQuery. I guess then You don't need to manually edit config.js.

So I think I'm running into this same issue.
caught (in promise) Error: Bootstrap's JavaScript requires jQuery
Error loading<EMAIL_ADDRESS>I run "gulp export" and then move the "export" folder into my webserver and got this error.
I then did what the suggested solution here
"dist/common/lib": {
  "includes": [
    "jquery",
    "bootstrap"
  ],
  "options": {
    "inject": true,
    "minify": false,
    "depCache": true,
    "rev": false
  }
},

Removed bootstrap and jquery from my bundles.js and export.js (except for<EMAIL_ADDRESS>and "styles/responsive.bootstrap.min.css",
"styles/dataTables.bootstrap.min.css",) but keep getting the same error. What am I doing wrong to solve this issue?

For bootstrap v4, I added an explicit version of jquery as a project dependency in the jspm section of package.json.  "jquery"<EMAIL_ADDRESS>This should ensure that the bundler is picking up the correct version of JQuery. I haven't tried bundling this yet but I suspect that it will work.

I tried that as well but it is still broken.
I did what LiveslyWA suggested and the other posts above but still get,
undefined:1 Uncaught (in promise) Error: Bootstrap's JavaScript requires jQuery
Error loading<EMAIL_ADDRESS>at http://localhost:8080/dist/aurelia.js:3:22533
at http://localhost:8080/dist/aurelia.js:4:27234
at i (http://localhost:8080/jspm_packages/system.js:4:31576)
at n (http://localhost:8080/jspm_packages/system.js:4:30141)
at Object.execute (http://localhost:8080/jspm_packages/system.js:5:3176)
at y (http://localhost:8080/jspm_packages/system.js:4:9948)
at w (http://localhost:8080/jspm_packages/system.js:4:10327)
at p (http://localhost:8080/jspm_packages/system.js:4:8205)
at h (http://localhost:8080/jspm_packages/system.js:4:8590)
at http://localhost:8080/jspm_packages/system.js:4:6896
Here is my bundles.js
module.exports = {
"bundles": {
"dist/app-build": {
"includes": [
"[/*.js]",
"/.html!text",
"**/.css!text",
"css",
"datatables.net",
"datatables.net-bs",
"datatables.net-responsive",
"datatables.net-responsive-bs",
"text",
"toastr"
],
"options": {
"inject": true,
"minify": true,
"depCache": true,
"rev": false
}
},
"dist/common/lib": {
"includes": [
"jquery",
"bootstrap"
],
"options": {
"inject": true,
"minify": false,
"depCache": true,
"rev": false
}
},
"dist/aurelia": {
"includes": [
"aurelia-framework",
"aurelia-bootstrapper",
"aurelia-fetch-client",
"aurelia-router",
"aurelia-animator-css",
"aurelia-templating-binding",
"aurelia-polyfills",
"aurelia-templating-resources",
"aurelia-templating-router",
"aurelia-loader-default",
"aurelia-history-browser",
"aurelia-logging-console",
"bootstrap"
],
"options": {
"inject": true,
"minify": true,
"depCache": false,
"rev": false
}
}
}
};
export.js
module.exports = {
"list": [
"index.html",
"config.js",
"favicon.ico",
"LICENSE",
"jspm_packages/system.js",
"jspm_packages/system-polyfills.js",
"jspm_packages/system-csp-production.js",
"styles/styles.css",
"styles/responsive.bootstrap.min.css",
"styles/dataTables.bootstrap.min.css",
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>]
};
and config.js
module.exports = {
"list": [
"index.html",
"config.js",
"favicon.ico",
"LICENSE",
"jspm_packages/system.js",
"jspm_packages/system-polyfills.js",
"jspm_packages/system-csp-production.js",
"styles/styles.css",
"styles/responsive.bootstrap.min.css",
"styles/dataTables.bootstrap.min.css",
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>]
};

Same issue on Aurelia 1.0.
To fix it, I did the following changes in aurelia.json :
"prepend": [
"node_modules/bluebird/js/browser/bluebird.core.js",
"scripts/require.js",
"node_modules/jquery/dist/jquery.min.js"
],
and removes "jquery" in the "dependencies" section
Hope this helps !

So, is the recommended fix for this to include both jquery and bootstrap in the prepend directive as mentioned by @ppoulard ? I ran into this with 1.0 as well. Thanks!

My woes began after npm installing jquery and adding nprogress.
I solved this by creating a separate jquery dependency, at the top of the list of dependencies and modified the bootstrap dep as well.
aurelia.json
"dependencies": [
{
"name":"jquery",
"path":"../node_modules/jquery/dist",
"main":"jquery.min",
"export": "$"
},
"aurelia-binding",
"aurelia-bootstrapper",
...
{
"name": "bootstrap",
"path": "../node_modules/bootstrap/dist",
"main": "js/bootstrap.min",
"resources": [
"css/bootstrap.css"
]
},
....

@ERobishaw You solution work for loading JQuery dependency for bootstrap.  @EisenbergEffect Need to update the document in http://aurelia.io/hub.html#/doc/article/aurelia/framework/latest/the-aurelia-cli/6 under Legacy Library
Below configuration doesnt seem to work when loading bootstrap.  By separating the JQuery as a dependency seems to work.
Not working:
"dependencies": [
  "jquery",
  {
    "name": "bootstrap",
    "path": "../node_modules/bootstrap/dist",
    "main": "js/bootstrap.min",
    "deps": ["jquery"],
    "exports": "$"
  }
]

Working:
"dependencies": [
{
            "name":"jquery",
            "path":"../node_modules/jquery/dist",
            "main":"jquery.min",
            "export": "$"
          },
          {
            "name": "bootstrap",
            "path": "../node_modules/bootstrap/dist",
            "main": "js/bootstrap.min",
            "deps": ["jquery"],
            "resources": [
              "css/bootstrap.css"
            ]
          }
.....

Would you be interested in submitting a PR?

Sure

This may or may not sound weird, but based on my experience, jquery needs to be added several (I haven't experimented with numbers) dependencies before bootstrap in aurelia.json in order to not pitch the "bootstrap's javascript requires..." error. I had jquery listed immediately before bootstrap in the dependencies and would occasionally get the error (which seemed like async or something). So I put jquery as my first dependency and bam, problem solved. Hope this helps.

Used au install jquery. Had to change aurelia.json to
          {
            "name":"jquery",
            "path":"../node_modules/jquery/dist",
            "main":"jquery.min",
            "export": "$"
          }, ```


Maneuver fm

Summary

This PR addresses Jira ticket CISLUNAR-18.
Maneuver mode was updated to check for glow plug failure.
Testing

Lacks testing at this stage.
Notes

Is it possible to have the maneuver mode's initialization defined outside of main? It feels like it really belongs in maneuver_flightmode. Say I end up changing the queue type (e.g., I use a heap instead of python's default priority_queue class, or like in this PR where I changed it from a queue to a priority_queue). Ideally, none of the other functions/parts of the code would need to know, they would just use ManeuverMode().addEvent() or something similar.
The queue and other data still are not saved onto disk in the event of a reboot.
Comments

[x] I'm not sure why set_parameter uses kwargs and how to use the function defined in command_defintions.
[x] What is the behavior for when a scheduled burn time has already passed without maneuver mode running?
[x] I left the constants as basic values, but they need to be updated.
[x] My glowplug check logic and glowplug failure logics are basic and could use improvements.

Added (basic) tests using mocks. Fixed/updated maneuver mode and moved params into paramaters.py.
Failing the CI right now because I placed the new params in the wrong place.

constants need to be updated since there are still other variables that should be parameters such as SPLIT_BURNWIRE_DURATION.
I don't like using a string to set parameters as done here: set_parameter("GLOWPLUG2_VALID", self.task_completed, consts.FOR_FLIGHT). I will look into a way to do this safely in another PR.
Will also look into removing parameters.json as part of the codebase. it should be something that is git-ignored and should be generated if the file does not exist

Looks solid! We should flatsat test this soon - how does this weekend work?

Sounds like a plan!


Add links to supported-os.json files

Dependent on https://github.com/dotnet/core/pull/9294 and waiting on json files to be published to the specified URLs.
Context: https://github.com/dotnet/core/discussions/9370

Just ran "format document" and a json linter on the document. That resolved the existing feedback. I see that the markdown files are live on dotnetcli.blob.core.windows.net. Thanks @leecow!
Will these files now get updated on a monthly schedule on blob storage?

Will these files now get updated on a monthly schedule on blob storage?

Yes, should be good to go.


Add Breadcrumbs

Add Breadcrumbs navigation to the program
codinasion.org/program/add-two-matrices

Hi, can you please assign this issue to me!

@harshraj8843 this is my first issue, I just want to know! I have to add Breadcrumbs to a shared component or layout file?
Shared Components file location!
Or in layout.tsx

Hey @hi-malik
Currently, we don't need to add Breadcrumbs to all the pages
So, the program detail page would be our option 👇🏻
https://github.com/codinasion/codinasion/blob/master/src/app/program/[slug]/page.tsx


Failed to load dynamic library 'libserialport.dylib'

My Code:
import 'package:flutter_libserialport/flutter_libserialport.dart';

void main() {
  print(SerialPort.availablePorts);
}

Error Log:
Testing started at 15:53 ...
dart:ffi                                    new DynamicLibrary.open
package:libserialport/src/dylib.dart 32:54  dylib
package:libserialport/src/port.dart 230:32  _SerialPortImpl.availablePorts.<fn>
package:libserialport/src/util.dart 37:21   Util.call
package:libserialport/src/port.dart 230:21  _SerialPortImpl.availablePorts
package:libserialport/src/port.dart 82:61   SerialPort.availablePorts
test/exploration/serial.dart 4:20           main

Failed to load "/Users/yowfung/workspace/proitav/projects/ApiTestTool/src/common/test/exploration/serial.dart": Invalid argument(s): Failed to load dynamic library 'libserialport.dylib': dlopen(libserialport.dylib, 0x0001): tried: '/Users/yowfung/Library/Flutter/bin/cache/dart-sdk/bin/./libserialport.dylib' (no such file), '/Users/yowfung/Library/Flutter/bin/cache/dart-sdk/bin/../../../libserialport.dylib' (no such file), '/Users/yowfung/Library/Flutter/bin/cache/dart-sdk/bin/Frameworks/libserialport.dylib' (no such file), '/Users/yowfung/Library/Flutter/bin/cache/dart-sdk/bin/./libserialport.dylib' (no such file), '/Users/yowfung/Library/Flutter/bin/cache/dart-sdk/bin/../../../libserialport.dylib' (no such file), '/Users/yowfung/Library/Flutter/bin/cache/dart-sdk/bin/Frameworks/libserialport.dylib' (no such file), 'libserialport.dylib' (no such file), '/usr/lib/libserialport.dylib' (no such file), '/Users/yowfung/workspace/proitav/projects/ApiTestTool/src/common/libserialport.dylib' (no such file), '/usr/lib/libserialport.dylib' (no such file)

Process finished with exit code 1

Description of this plug-in on pub.dev:

flutter_libserialport is a simple wrapper around the libserialport Dart package, utilizing Flutter's build system to build and deploy the libserialport C-library under the hood. This package does not provide any additional API, but merely helps to make the libserialport Dart package work "out of the box" without the need of manually building and deploying the libserialport C-library.

Do I need any additional configuration?

flutter doctor -v
[✓] Flutter (Channel stable, 2.5.3, on macOS 12.0.1 21A559 darwin-x64, locale zh-Hans-CN)
    • Flutter version 2.5.3 at /Users/yowfung/Library/Flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18116933e7 (7 weeks ago), 2021-10-15 10:46:35 -0700
    • Engine revision d3ea636dc5
    • Dart version 2.14.4
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/yowfung/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/yowfung/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 13.1, Build version 13A1030d
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[✓] IntelliJ IDEA Community Edition (version 2021.2.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5486

[✓] VS Code (version 1.57.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.25.0

[✓] Proxy Configuration
    • HTTP_PROXY is set
    • NO_PROXY is
      localhost,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,192.168.0.
      122,192.168.*,<IP_ADDRESS>,169.254.*
    • NO_PROXY contains <IP_ADDRESS>
    • NO_PROXY contains localhost

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 12.0.1 21A559 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 96.0.4664.55

• No issues found!

@YowFung I am facing a similar problem, did you ever get a solution to this?

@Zopenzop
已经找到解决办法了，请在 XCode 中勾选 USB 设备访问权限。

Can you share the code from your android manifest file so I can crosscheck whether mine's correct?

@Zopenzop
我没有在安卓上试过，我开发的是桌面应用程序，所以只在 Windows 和 macOS 平台上使用这个插件。
安卓的话，我想应该也是需要在 Manifest 文件中加入访问 USB 设备的权限吧？

Ahh I see, I am actually trying to use flutter_libserialport on Android 11. Haven't been able to devise a solution to this issue yet which doesn't seem to be an issue with permissions, might be something else. I also tried a few other serial communication plugins, which didn't work either due to some other issues I encountered. The support for android on the internet is still pretty shallow as far as my experience goes, seems like I'll have to get my hands dirty and diagnose it all. Anyways, thanks for replying.

@YowFung Diagnosed, I was just missing Visual Studio and he C++ development dependencies.


[Gally]: master <- dev

Automatically created by Git-Ally

:tada: This PR is included in version 2.16.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Improve internal naming & documentation of ADWIN.

Changes proposed in this pull request:

Enforce PEP-8 & PEP-257
Improve documentation
Use more informative naming.

This PR makes no functionnal change whatsoever, it is purely cosmetic; it makes a good attempt at making ADWIN much more readable & understandable.

Hi @AlbandeCrevoisier, thanks for the PR. I finished a first pass through the code and the naming convention was much improved! The PEP-8 line breaks for the docstrings and operations are also welcomed updates.
Could you merge the last changes from master so that we continue the review process?

Moreover, could you explain your reasoning for adopting row (and Row for the helper class in the double-linked List) for variable naming? This pattern replaced cursor and item.

Merged the bugfix from master.
As for Row & row instead of Item & cursor, I thought it was better semantic: item & cursor mean less to me, they are general terms. It is just my personal take on how the general naming could be improved, if it is deemed unnecessary, I can revert to Item.


SharedWorker API information for "Chrome on Android" seems to be incorrect...

Hi, I figure this is the place to report this.. let me know if this should be reported elsewhere!

Feature
Browser
Version

SharedWorker API
Chrome for Android
80.0.3987.132

The SharedWorker API information for "Chrome for Android" seems to be incorrect. The window.SharedWorker is undefined on "Chrome for Android" version 80.0.3987.132
https://caniuse.com/#feat=mdn-api_sharedworker reports it as available from v80..
The referenced MDN also says it should be supported but not which version.
(might possibly be a chrome bug as it works on the (desktop) Chrome 80.0.3987.149)

EDIT: https://github.com/mdn/browser-compat-data/issues/5850

The MDN BCD issue you opened is the right place (once it's fixed there the fix will eventually be on caniuse too) so closing this issue. Thanks!


Salief/reconfig mdx

This PR is designed to address some of the markdown rendering issues I was having. Notice that the most recent build is actually failing. I followed the approach for adding mdx rendering provided in the next docs. This involved adding a couple more dependencies and restructuring some things in the next config.
Separately, there seem to be some weird issues going on with the providers. When a wallet is connected the example page loads data, the provider page does not. This is different from the existing deployment which returns data regardless of if a wallet is connected or not. I've got to look more closely at the changes the latest PR introduced.


perdayvolume fix

abstracted token replacement out of generatorplugin.py for plugin-specific handling
EDIT: preview difference in token vs. replaced size, update target interval size with ratio
fix 2x events from duplicate queue_it
resolve kramdown dependency alert

We should look at replacing that the event object is all in memory. If someone does a large perday volume on an interval, we will have issues. We should probably change perdayvolume to use an in memory buffered io stream.

Which 'event object' are you referring to? The eventsDict that we compile? The send_objects that we see after replacing tokens? Not super experienced with these kind of optimizations, so trying to understand fully.

We should look at replacing that the event object is all in memory. If someone does a large perday volume on an interval, we will have issues. We should probably change perdayvolume to use an in memory buffered io stream.

Which 'event object' are you referring to? The eventsDict that we compile? The send_objects that we see after replacing tokens? Not super experienced with these kind of optimizations, so trying to understand fully.

Specifically the dictionary that has all the events - def send_events(self, send_objects, startTime): - the send_objects is currently built in memory with just a dictionary.  Long term we should think about moving this to an in-memory file player.  That will allow us to cache and move forward / backward with large items without creating a "mem leak".  Or we can just tell our end users you need more ram ;P


Piper 0.1

Found this, useful reference!

Piper is a basic, yet functional cross-platform VFX and/or 3D animation pipeline system

https://vimeo.com/293773792
https://gitlab.com/vikmpetrov/piper

Any ideas you wanted to highlight from this?

One of the novel things that I'd like for Avalon is the Scene Builder aspect, at 02:10. Might provide good reference for #130.
Other than that, it's interesting to see that he's implemented a lot of things that seem better suited for a distributed web app, rather than a Qt (4) app (built with .ui files), such as the project/asset creation and management process. Curious about whether that's related to benefits of Qt or a lack of web development expertise.
I really like how he's using SQLite for a database, it means one isn't necessary to install and that it can be seamlessly transitioned into a distributed database, like SQL or Maria, once performance or sharing becomes an issue.

Found that he's also got a GitHub account, hi @vikmpetrov!

Wouldn't that be a pain when you want to change the data model while project growing if using SQL ?
At least that's what I have heard, no production experience on SQL.
A bit sad that there isn't a workable lite version of mongo. :(

Wouldn't that be a pain when you want to change the data model while project growing if using SQL ?

I'd imagine it wouldn't be as painless as with NoSQL, but that it has other benefits NoSQL doesn't have; for one, updating the schema would involve updating all data as well which is a pain, but on the other hand it means all data that you interact with always have the same layout. With Mongo, we need our code to support the many layouts currently in the DB. So the complexity doesn't necessarily go away, but rather moves to code-land instead of data-land.

A bit sad that there isn't a workable lite version of mongo. :(

I've heard someone is working on just that. :)

https://github.com/davidlatwe/MontyDB

but rather moves to code-land instead of data-land.

Good point !

I've heard someone is working on just that.

Haha, thanks for mention, but not workable yet though (next year maybe). :P

About the Scene (Shot) Builder, it seems that we need an extra Widget inside Loader app, able to stage our selected subsets, and able to display the subset-hierarchy like setdress embedded in another setdress or shotPackage some sort.

@mottosso thanks for the shoutout! Really glad to hear you've found some inspiration in Piper.
You're completely on point about why I'm using SQLite. It works well for small-to-medium sized teams, which is what Piper was intended for and can be transitioned to PostgreSQL (which is what I've most often used in industry) quite easily if necessary. I'm interested in NoSQL, but I haven't had the time to play around with it much so I've stuck to what I know. Might give it a go in the next iteration, though I'm not sure I see much of a benefit over SQL at the moment.
As for web apps vs Qt apps, I built the Piper UI a while back when I was lacking in web dev experience, it's unrelated to the benefits of Qt. I'll definitely go with web apps for the next iteration.
You guys are onto something here, looking forward to digging into Avalon when I've got the time, keep up the good work! Thanks!


Make getReadsFromHadoopBam consistent with the local case

DataflowUtils#getReadsFromLocalBams will return unmapped reads if they have a start position that overlaps an interval, but the Hadoop version will filter them out. This change fixes this inconsistency, and makes the MarkDuplicates dataflow tests use the Spark Dataflow runner if it's specified on the command line (it used to ignore the setting).
The change to the MarkDuplicates test also uncovered another problem where some tests failed with "Mate unmapped flag should not be set for unpaired read". I fixed this by moving from com.google.cloud.genomics.utils.ReadUtils.makeRead and GoogleGenomicsReadToGATKReadAdapter (which are lossy, and presumably caused the failures) to SAMRecordToGATKReadAdapter.

:+1:


Switch sandbox/dev traction instances to use new DITP endorser

[ ] Switch sandbox, dev instances to use the auto-everything DIT endorser
[ ] Decommission existing tools endorser

@loneil this is the issue to track the decommissioning of the tools endorser FYI

Dev switched over to new Tools endorser. I cut over all existing tenant connections to the new one.
Old Tools endorser turned off, will uninstall it completely next week some time.


Change name of the fields from table

I have tried to change the field from the displayed table, referred: https://adminbro.com/AdminBroOptions.html#locale
Here, Items is the Resource name as well as a model name, and ownerid is the property.

It still remains same. Is there any alternate way to do that?

@RudrikaJnext possible duplicate? https://github.com/SoftwareBrothers/adminjs/issues/800

Closing because the issue is old. If you still need help, please reopen.


how to run sql script

Please, how would I run the script in MySQL Workbench, it keeps returning an error.
FILE
RUN SQL SCRIPT
northwind.sql
results in
error calling Python module function SQLIDEUtils.runSQLScript
any suggestions greatly appreciated.
Thank you.

I suspect there a problem with your MySQL Workbench installation, although it is possible MySQL Workbench could be responding very poorly to an error encountered while processing the northwind.sql file. I suggest you first test your MySQL Workbench install using a very simple SQL script (such as from an on-line tutorial, or a very cut back version of northwind.sql. Once this works, then try northwind.sql again.

Hello, with all respect...
I was actually able to run another SQL script I found and it worked perfect and I was able to run the script to create the tables in a new schema on AWS.
here is the download link for comparisons -
 http://dev.wavemaker.com/forums/sites/default/files/files/northwind.sql_.zip

will leave open a while longer....

Thank you.  No harm intended, just a desire to improve my knowledge.
Jon

Not understanding... "didn't work out"  it worked out perfect, with no complications.  I shared the link with you.  I executed the SQL script and NorthWind is in my AWS RDS right now.

I’m sorry MyWind didn’t work out for you. I’m glad the script you found works for you though.
From: TahorSuiJurisBenYAH<EMAIL_ADDRESS>Sent: Thursday, January 5, 2017 5:03 PM
To: dalers/mywind
Cc: Dale Scott; State change
Subject: Re: [dalers/mywind] error running northwind.sql in MySQL Workbench (#2)
Not understanding... "didn't work out" it worked out perfect, with no complications. I shared the link with you. I executed the SQL script and NorthWind is in my AWS RDS right now.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/dalers/mywind/issues/2#issuecomment-270794106 , or mute the thread https://github.com/notifications/unsubscribe-auth/ABRcYNe-Azh_7ANYaPDu8u3bM5d8Ucu_ks5rPYTBgaJpZM4Lavyq .  https://github.com/notifications/beacon/ABRcYH64cofgZnBaJsSfPnOyAnnLDRJBks5rPYTBgaJpZM4Lavyq.gif


Xcode 7, iOS 9 and Steroids 4.1.19 crash simulator and app

This past week I upgraded to Xcode 7 and iOS 9, and Steroids to the latest NPM release of Steroids (4.1.19). I get the same results on my iPhone 6 with the latest version of the AppGyver scanner for iOS (whose latest update is from August, I assume due to the review process). The simulator scanner app will first alert that it can't make a connection, and on second try it launches, but crashes and flashes this message:
New client version available

There is a new version of AppGyver Scanner for iOS available.

You have: AppGyver Scanner for iOS v4.0.4
Latest available is: AppGyver Scanner for iOS v4.0.5

Please update from App Store.

which I saw was marked as fixed for 4.1.19. I tried uninstalling steroids and reinstalling, and running $ npm cache clean as well as $ steroids update, but nothing seems to be working. Any possible fixes?

+1

+1. Same here

Can you please retry with the latest (4.1.20)?

With Steroids 4.1.20, the iphone6 simulators under iOS 8.3 and 8.4 work fine but still not under iOS9.0.
However the scanner installed on my iphone6 device under iOS9.0.2 works.

The simulator connection error has been fixed in iOS 4.0.8.
Do you still experience issues, and if you do, what is the problem?

No more issues for me.


Handle failed log buffer delete in C Media Driver

The Java Media Driver attempts the delete the log buffer during the slow tick of the conductor duty cycle and if it fails it increments the FREE_FAILS counter and tries again in the next cycle. The C Media Driver should do similar to support Windows.

This will not be picked up until the C Media Driver officially supports Windows.

Hi @mjpt777
How is that different on Windows compared to the Linux version ?
Do you have some pointers on how to start looking at this ?
Thanks

You can see the Java driver conductor attempting to free resources here. If the client still has a file open it needs to be retried later. The resources such as publications an images need to support separate free and close operations.
https://github.com/real-logic/aeron/blob/master/aeron-driver/src/main/java/io/aeron/driver/NetworkPublication.java#L236-L263
https://github.com/real-logic/aeron/blob/master/aeron-driver/src/main/java/io/aeron/driver/IpcPublication.java#L167-L191
https://github.com/real-logic/aeron/blob/master/aeron-driver/src/main/java/io/aeron/driver/PublicationImage.java#L229-L257


How to use the controller synthesized by TuLiP?

I am quite new to TuLiP, and my goal is to synthesize a reactive controller using TuLiP and do a simulation elsewhere. Now I managed to get the controller as an instance of MealyMachine class (using synth.synthesize('gr1c', specs, sys)), but how can I use it in other places? For example, given (possibly, a list of) values to input variables,  how do I get the output from the controller? Doing manual simulations certainly will not work in this case.
Thanks!

If I try to print the controller generated using gr1c I see the input and output set of states but don't see anything under transitions and labels. Why is it so?

Can you please elaborate on:

version or commit hash of repository used
the controller generated using gr1c as an instance of a networkx graph, or a Mealy transducer ?
for which specification: a minimal working example would help

For instance, the string representation of a Mealy transducer is created here.


have a custom d*main

having the github domain is limiting, getting a studiorack . something woudl be cool

censored to avoid bots auto-buying it

Yes could do, but I don't think it's essential at this point.
Will add to list of potential enhancements!


refactor(vue): use vue-demi for compat with vue 2 and 3

Codecov Report
Base: 100.00% // Head: 100.00% // No change to project coverage :thumbsup:

Coverage data is based on head (acf7b16) compared to base (e08bd2d).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #17   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         5    +2
  Lines          194       284   +90
  Branches        39        45    +6
=========================================
+ Hits           194       284   +90

Impacted Files
Coverage Δ

packages/pena-unipost/src/index.ts
100.00% <100.00%> (ø)

packages/pena-utils/src/url.ts
100.00% <100.00%> (ø)

packages/pena/src/pena.ts
100.00% <100.00%> (ø)

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

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


Unable to auto update extensions

VSCode Version: 1.38.1
OS Version: Windows 10, EDU, 1903

Steps to Reproduce:
Unknown if reproducable, this is mysetup
portable mode by unzipping and making data directory
https://i.imgur.com/j6QMj5K.png
Settings.json
{
    // Set EXTERNAL term to msys
    "terminal.external.windowsExec": "\\PortableApps\\msys64\\mingw64.exe",

    // Set INTERNAL term to msys
    "terminal.integrated.shell.windows": "\\PortableApps\\msys64\\usr\\bin\\bash.exe",
    "terminal.integrated.shellArgs.windows": ["--login", "-i"],
    "terminal.integrated.env.windows":
    {
        "MSYSTEM": "MINGW64",
        "CHERE_INVOKING":"1",
        "GOPATH": "\\Go"
    },

    // Set git binary location
    "git.enabled": true,
    // "git.path": "\\PortableApps\\Git4Win\\bin\\git.exe",
    "git.defaultCloneDirectory": "\\Documents\\Workspace",

    // Hidden Files
    "files.exclude": {
        "**/desktop.ini": true
    },

    // Enhance portability
    "window.restoreWindows": "none",
    "files.hotExit": "off",
    "git.autofetch": true,
    "go.useLanguageServer": true,
}

This is setup to make portable mode work
I use a launcher written in go (issue persists without this launcher)
https://github.com/Merith-TK/Personal-Projects/blob/master/Code.go
This just makes it even more portable and fixes some environment issues for portability
I only have one extension, and its the ms-vscode.go extension for syntax highlighting, its current version is 0.11.6, and it is supposed to update to 0.11.7 now, but for the past month i have had to manually update via vsix

If need be, i can zip my entire thing and share it to you guys,

I also cant see README's for my Extenstions (Marketplace and Installed)

Are you behind any proxy set up? Are you able to access Marketplace from browser?
Is it a DNS issue? #78783 #78872
Can you try to access this image?
https://ms-python.gallerycdn.vsassets.io/extensions/ms-python/python/2019.8.29288/1565127378610/Microsoft.VisualStudio.Services.Icons.Default
If not, can you try changing your DNS setting, like pointing to <IP_ADDRESS> as suggested here? https://<IP_ADDRESS>/dns/
Can you please share the logs from following locations

Dev tools console. Use command F1 -> Toggle Developer Tools
Window log. Use command F1 -> View: Open View -> Window (Log)`
Shared process log. Use command F1 -> View: Open View -> Shared (Log)`

School district has put a BROAD BLOCK on all .io pages (except those i have had to email IT about to get unblocked), to vsassets.io is blocked,

Looks to be what is causing the issue, i guess i have to fire yet ANOTHER email (blegh)

I am going to request that this remain open incase this happens at my home

Turns out it was because the district had accidentally blocked vsassets.io


Add dumpulator

dumpulator is an amazing tool that emulates process dumps. It's very useful for string decryption, desobfuscation, etc:
https://github.com/mrexodia/dumpulator

Added alongside winpython. Thanks.


Allow static/formula data input in field mapping

When mapping input data it would be helpful to be able to map one or more fields using either formulas, or at least static data.
Simple example: I would like a field to map to a checkbox value of "true" for every entry when there is no field in a report or list view.
Advanced (formula) example: I would like to pass a field value from the report + 1 to the output process (flow, process builder, apex, etc).

Thanks @datapharmer, this would make for a good feature.
In the meantime, you will have to create your own custom formula fields on objects to do the logic then map those in the configurations.

I just came across a new project that is building out a way for JavaScript to evaluate formula expressions, https://github.com/stomita/sformula. This might be helpful if this features gets built out. It's unfortunate that the platform doesn't provide a formula evaluator for ad hoc evaluations.
It is more likely that I would support static values due to the level of effort to try and emulate formulas.

Any chance on the static values? This would be a major win.

Hi @cchrisv, thanks for your interest in Mass Action Scheduler =)
Static values are on the roadmap, but probably after release 1.6 that I'm wrapping up.

Checking in if there is an update on this item for your roadmap?

It's still something I would like to add to the app. No ETA at the moment. For now, best option is to use formula fields and map those. Not ideal, but should get the job done for now. Thanks =)

Hey @douglascayers this would be a true winner. Just static mappable data would be enough. I now had to resort building out formula fields on the source objects. And using Reports as source with the beta 'row-level formula' did not work (and also, Reports are limited to 10k records only).

Agreed. I'm still hoping for this.


Serialize enum as either tagged/untagged?

Rather than mandating that when an enum is serialized, it will/won't serialize the tags by using #[serde(untagged)] is there a way to choose at serialization/deserialization time wether the input should be serialized with tags / the output should be read assuming/not-assuming tags?

You could implement a wrapping struct that has a bool field for wether it is serialized tagged or not. In the serializer, you could then only serialize the enum (un-)tagged:
struct MaybeTagged {
  inner: MyEnum,
  tagged: bool,
}

I would prefer not to build anything for this into this crate.
Depending on what granularity you want to control the representation, you could either wrap individual serializable enums as suggested above, or wrap the whole Serializer to make it serialize all tagged enums in the whole input in untagged form instead. Something like:
let value = /*thing to serialize*/;
let mut ser = serde_json::Serializer::new(...);
value.serialize(AllEnumsUntagged(&mut ser))?;


LH Propagate task on staging

Problem
Complete LH Propagate pending tasks for optimistic roots functionality
Impact
Part of the optimistic roots testnet bring up, needed to unblock further steps to lowering costs.
Proposed Solution

[ ]  Review logic to detect system mode
[ ]  Detect if proposal is pending to be finalized and/or propagate
[ ]  Implement call to contract using relayer

[ ]  Prepare params needed for finalizeAndPropagate call
[ ]  Bind ABIs to encode function encodeFunctionData

Acceptance Criteria

[ ] Reviewed and approved business logic

Complexity: 13
See the discussion in Sprint Poker #31
Powered by Parabol

Working on this today.

@preethamr can you QA?


NoClassDefFoundError writing simple GhidraScript when importing decompiler class

when i write a simple ghidra script that i want to do some searching in decompiler, It report NoClassDefFoundError.
Here is my simplified version:
    import ghidra.app.decompiler.component.ClangFieldElement;
    import ghidra.app.script.GhidraScript;
    public class testSimple_zzz extends GhidraScript{

	    @Override
	    protected void run() throws Exception {
		    // TODO Auto-generated method stub
		    ClangFieldElement e=new ClangFieldElement(null,null, 1);
	    }

    }

There is no problem in my eclipse project,but wheren i run , it produced NoClassDefFoundError 👍
    _ERROR Task Error: testSimple_zzz.java - Uncaught Exception: java.lang.NoClassDefFoundError: ghidra/app/decompiler/component/ClangFieldElement (RunScriptTask) java.lang.NoClassDefFoundError: ghidra/app/decompiler/component/ClangFieldElement
	    at testSimple_zzz.run(testSimple_zzz.java:8)
	    at ghidra.app.script.GhidraScript.executeNormal(GhidraScript.java:379)
	    at ghidra.app.script.GhidraScript.doExecute(GhidraScript.java:234)
	    at ghidra.app.script.GhidraScript.execute(GhidraScript.java:212)
	    at ghidra.app.plugin.core.script.RunScriptTask.run(RunScriptTask.java:47)
	    at ghidra.util.task.Task.monitoredRun(Task.java:124)
	    at ghidra.util.task.TaskRunner.lambda$startTaskThread$0(TaskRunner.java:104)
	    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	    at java.base/java.lang.Thread.run(Thread.java:834)_

I can't recreate on Linux, JDK11, master or 9.2.2.  Can you share your environment details 👍🏻 ?

I can't recreate on Linux, JDK11, master or 9.2.2. Can you share your environment details 👍🏻 ?

My env is:
os：windows 10 x64
jdk 11
ghidra 9.2.2

Ok, I'm set up - but I still can't recreate.  I tired from ghidraRun.bat and from the Ghidra launch configuration in eclipse.
In my install, ClangFieldElement is found in C:\ghidra_9.2.2_PUBLIC\Ghidra\Features\Decompiler\lib\Decompiler.jar.
Where is your Ghidra installed?

Ok, I'm set up - but I still can't recreate. I tired from ghidraRun.bat and from the Ghidra launch configuration in eclipse.
In my install, ClangFieldElement is found in C:\ghidra_9.2.2_PUBLIC\Ghidra\Features\Decompiler\lib\Decompiler.jar.
Where is your Ghidra installed?

my ghidra is in:
D:\soft\ghidra_9.2.2_PUBLIC
my script file is in:
D:\ghidra922
I recreate this many times.

Ok, I'm set up - but I still can't recreate. I tired from ghidraRun.bat and from the Ghidra launch configuration in eclipse.
In my install, ClangFieldElement is found in C:\ghidra_9.2.2_PUBLIC\Ghidra\Features\Decompiler\lib\Decompiler.jar.
Where is your Ghidra installed?

my decompiler.jar is in:
D:\soft\ghidra_9.2_PUBLIC\Ghidra\Features\Decompiler\lib\Decompiler.jar

I recreate this many times.
I would hope so if you're going through the trouble of creating an issue :-)

Since I can't recreate your issue, I'll start guessing until someone with a better idea pops up.
Do any of your scripts implement classes in the package ghidra.app.decompiler.component?

Ok, I'm set up - but I still can't recreate. I tired from ghidraRun.bat and from the Ghidra launch configuration in eclipse.
In my install, ClangFieldElement is found in C:\ghidra_9.2.2_PUBLIC\Ghidra\Features\Decompiler\lib\Decompiler.jar.
Where is your Ghidra installed?

en! very sorry.  I create a new virtual machine and i didn't find this problem again,
I think it's because of my env also exists 9.1.2, I will report a detailed result later

Ok, I'm set up - but I still can't recreate. I tired from ghidraRun.bat and from the Ghidra launch configuration in eclipse.
In my install, ClangFieldElement is found in C:\ghidra_9.2.2_PUBLIC\Ghidra\Features\Decompiler\lib\Decompiler.jar.
Where is your Ghidra installed?

en! very sorry. I create a new virtual machine and i didn't find this problem again,
I think it's because of my env also exists 9.1.2, I will report a detailed result later

I reproduced it:
So, when I only launch ghidra without eclipse, the code works.
But when I installed eclipse and using eclipse to debug as->ghidra, the problem appears.
After then, I only launch ghidra , problem didn't dispear.

Ok, I'm set up - but I still can't recreate. I tired from ghidraRun.bat and from the Ghidra launch configuration in eclipse.
In my install, ClangFieldElement is found in C:\ghidra_9.2.2_PUBLIC\Ghidra\Features\Decompiler\lib\Decompiler.jar.
Where is your Ghidra installed?

en! very sorry. I create a new virtual machine and i didn't find this problem again,
I think it's because of my env also exists 9.1.2, I will report a detailed result later

I think It's because my project have more classes, only testsimple_zzz.java didn't produce that problem.

Are you using the latest GhidraDev eclipse plugin?
You could try creating a new Ghidra launch configuration:

The problem is solved,but I post the reason here:
I create a class that package with in ghidra decompiler's class path:
`package ghidra.app.decompiler.component;
....
/**
*
*

Control the GUI layout for displaying tokenized C code
*/
public class MyDecompilerSearch2 implements LayoutModel, LayoutModelListener {
private final ClangFieldElement EMPTY_LINE_NUMBER_SPACER;
.....
public MyDecompilerSearch2(DecompileOptions opt, DecompilerPanel decompilerPanel,
FontMetrics met, HighlightFactory hlFactory,Program p) {
options = opt;
this.decompilerPanel = decompilerPanel;
syntax_color = new Color[9];
programself=p;
metrics = met;
this.hlFactory = hlFactory;
EMPTY_LINE_NUMBER_SPACER = createEmptyLineNumberSpacer();
listeners = new ArrayList<>();
buildLayouts(null, null, null, false);
}
and when I use this class in my script file ,this error occor:java.lang.NoClassDefFoundError: ghidra/app/decompiler/component/ClangFieldElement`

I solved this problem by not package this class to ghidra's inner path：
just remove this line 👍
package ghidra.app.decompiler.component
will work.
because the script works in my 9.1.2 , and I really reproduced it many times.
Thanks for your help, It's really a nice job!!

Ok, I'm glad you're up and running!  Closing the ticket.


ADLS Gen2 out of Preview

Page should be updated as ADLS is no longer in public preview. Thanks!

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: adddb13a-811b-4fda-dcf8-98ce19492126
Version Independent ID: cc52ac03-b68e-f8c1-aecc-af0b09ccafc4
Content: Learn how to connect Azure Data Lake Storage Gen 2 to Power BI for dataflow storage - Power BI
Content Source: powerbi-docs/service-dataflows-connect-azure-data-lake-storage-gen2.md
Service: powerbi
Sub-service: powerbi-service
GitHub Login: @davidiseminger
Microsoft Alias: davidi

Thanks for your comment, @brmort . This issue has been assigned to the doc author for review.

Thanks for the comment - I've updated the article to reflect. To further clarify, too, dataflows is out of preview, but this dataflow feature (which uses ADLS Gen2) is still in preview.


Difficulty downloading plugins Vscode For Iranian

I can not install anything from the marketplace extension for almost 3 days
Is this service sanctioned by Microsoft? For Iranians

We must use vpn to download and install

Was this done by Microsoft?

@sandy081
????
Has this problem been fixed?

I can not install anything from the marketplace extension for almost 3 days

Can you please provide a gif of what you are seeing? Also share us following logs

F1 > Open View... > Log (Shared)
F1 > Toggle Shared Process > Network Tab (Please check if there are any errors in the Network tab for the requests to Marketplace)

CC @isidorn

@mohammadmahdihasani does the following URL work for you https://marketplace.visualstudio.com/

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Remove all references to and sorting option of total impact

This PR removes all the references to the total impact score of the projects as well as remove the total impact score sorting option.
Testing instructions
Check the user story's acceptance criteria.
Tracking
LET-1163

Are we going to remove/change the box below  with the "impact score" in this task or it will be other task?

🤦♂ I completely forgot about this. Thanks!


Gravity top doesn't work

I've changed the gravity from the Main.axml in sample from "bottom" to "top" and after this the panel disappear.
Apparently, it's only working in bottom.
Can you provide a top example, please?

This is not supported.


Add files via upload

Added classes for rocket league, I have a repo with my whole project on my github.

Could you please add the project files too?

Added


PHP 8.1 Return Type Inheritance Warnings

Hey there, please add the mixed return type hint to the following so as to not generate a warning in PHP 8.1 (either that or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice).

\GraphQL\Error\Error::jsonSerialize
\GraphQL\Executor\ExecutionResult::jsonSerialize
\GraphQL\Language\SourceLocation::jsonSerialize
\GraphQL\Type\Definition\Type::jsonSerialize
\GraphQL\Language\AST\NodeList::offsetGet
\GraphQL\Utils\MixedStore::offsetGet

I used mixed since that seemed to be the most backwards compatible.
Thank you!!

We are targeting PHP 8.0 for the next release. Can you add a PR to fix this?

Looks like dev-master is using more specific return type declarations and generates no 8.1 warnings. Feel free to close this!

We are targeting PHP 8.0 for the next release.

Is that so? In that case, it would be good to drop PHP 7.4 on master and start benefiting from PHP 8 features like native unions immediately.

That came out wrong. We are actually targeting 7.4, perhaps we can go for 8.0 in the next major version.


Thank you, Thank you, Thank you

I am not sure how much I can thank you for spending efforts in getting this done for Jenkins. It is such an amazing improvement for our Jenkins instance and it looks great with this new theme. Thank you so much.
(didn't find a way to reach you to say this and hence this issue, please close it)

You're very welcome @vrenjith. Feel free to open issues or contribute with pull requests.


Create and publish new content for the Guidelines section on the website

Objective
We need to provide guidelines for the adopters to learn more about how to adopt IBM.com Library.
Tasks

Set priority for guideline publishing. Detail can be viewed here.

Create individual publishing issues

DDS leadership team to assign the content creation and publishing work with the set priority.

Acceptance criteria

[ ] All guidelines from the inventory list are published and live on the website.

@RobertaJHahn @ljcarot FYI: This is the Epic for Guideline Section content publishing. All the guidelines we are going to publish are linked to this Epic.

This Epic is still relevant. There is a total of 14 guidelines for publishing under the Guideline section. We published 5 of them in 2020. There are 9 of them to be worked on in 2021.

We will include the Guidelines into the Website new content publishing 2021 Epic we set per quarter based on the priorities.


One-sided n:m relations currently not possible

In Prisma 1, it was possible to have something like
type Translation {
    id: ID! @id
    value: String!
    language: Language!
}
type Post {
    id: ID! @id @unique
    title: [Translation] @relation(name: "PostTitle")
    content: [Translation] @relation(name: "PostContent")
}

if I try something similar with the new prisma2 schema, I am getting

error: Error validating model "Post": Named relations require an opposite field..

This is what I've tried:

model Translation {
    id String @default(cuid()) @id
    value String
    language String
}

model Post {
    id String @id @default(cuid())
    title Translation[] @relation(name: "PostTitle")
    content Translation[] @relation(name: "PostContent")
}

It does work when I add oppsite relationships:

model Translation {
    id String @default(cuid()) @id
    value String
    language String

    ignore1 Post[] @relation("PostTitle")
    ignore2 Post[] @relation("PostContent")
}

model Post {
    id String @id @default(cuid())
    title Translation[] @relation(name: "PostTitle")
    content Translation[] @relation(name: "PostContent")
}

But honestly, I'm not interested in those. Those will just clutter my data model and add methods I do not want to use to my client. Is there any way to avoid that? (Or will it be before prisma2 goes final?)

Same here for something like this:
model Contact {
  id          String @default(cuid()) @id @unique
  telephones  Phone[] @relation("contactTel")
  mobiles     Phone[] @relation("contactMob")
  faxes        Phone[] @relation("contactFax")
}

model Phone {
  id       String @default(cuid()) @id @unique
  number    String,
  isMobile  Boolean @default(true)
}


Potential data loss - 18.14.18 -> 18.16.0 Changed behavior with Array(Tuple) columns

I have a table with an Array(Tuple(Date, UInt16)) column called _metrics. Noted after the upgrade to 18.16.0 that this table now had two columns - _metrics.1 Array(Date) and _metrics.2 Array(UInt16). I could no longer select on the _metrics column nor see any data from the _metrics.1 column (all arrays were empty).
I can recreate the table using CREATE TABLE .. AS .. SELECT - this works as expected. Following a server restart however the table reverts to the above behaviour. Additionally creating the table using plain CREATE TABLE rather than CTAS converts Array(Tuple) columns to Array columns as above.
Steps to reproduce:

Changing column definition automatically:

clickhouse-demo :) create table tuple_test (id UInt64, val Array(Tuple(Date, UInt16))) engine = MergeTree order by (id);

CREATE TABLE tuple_test
(
    id UInt64,
    val Array(Tuple(Date, UInt16))
)
ENGINE = MergeTree
ORDER BY id

Ok.

0 rows in set. Elapsed: 0.003 sec.

clickhouse-demo :) desc tuple_test format PrettySpace;

DESCRIBE TABLE tuple_test
FORMAT PrettySpace

name    type            default_type   default_expression   comment_expression

id      UInt64
val.1   Array(Date)
val.2   Array(UInt16)

3 rows in set. Elapsed: 0.002 sec.

Potential data loss:

drop table if exists tuple_test;
create table tuple_test engine = MergeTree order by tuple(id) as select 1 as id, [(toDate('2018-01-01'), 3),(toDate('2018-01-02'), 4)] as val;

CREATE TABLE tuple_test
ENGINE = MergeTree
ORDER BY tuple(id) AS
SELECT
    1 AS id,
    [(toDate('2018-01-01'), 3), (toDate('2018-01-02'), 4)] AS val

Ok.

0 rows in set. Elapsed: 0.005 sec.

clickhouse-demo :) desc tuple_test format TSV;

DESCRIBE TABLE tuple_test
FORMAT TSV

id	UInt8
val	Array(Tuple(Date, UInt8))

2 rows in set. Elapsed: 0.001 sec.

clickhouse-demo :) select * from tuple_test format PrettySpace;

SELECT *
FROM tuple_test
FORMAT PrettySpace

id   val

 1   [('2018-01-01',3),('2018-01-02',4)]

1 rows in set. Elapsed: 0.002 sec.

## Restart server here

clickhouse-demo :) desc tuple_test format TSV;

DESCRIBE TABLE tuple_test
FORMAT TSV

id	UInt8
val.1	Array(Date)
val.2	Array(UInt8)

3 rows in set. Elapsed: 0.002 sec.

clickhouse-demo :) select * from tuple_test format PrettySpace;

SELECT *
FROM tuple_test
FORMAT PrettySpace

id   val.1   val.2

 1   []      []

1 rows in set. Elapsed: 0.003 sec.

I think I might have this wrong. When I rebooted the previous version it also lost the definition so it wasn't working previously either. I found that if I wrapped the Array in a Tuple then everything worked. So it seems if you use Arrays of Tuples these are converted to nested tables. This behaviour is fine so closing this issue.


Mrtk spatial mouse cursor amendment

Overview
While #5242 was approved, a slight mistake slipped in this corrects.
The deleted code lines went into the original MousePointer directly as they are not needed for the new SpatialMousePointer.
Without these gone, the spatial mouse suffers from being disabled and overlayed by the notification

/azp run mrtk_pr


Adds multiple "state" support for vagrant up

The vagrant file supports the following modes now:
vagrant up - (default) installs polly/rexray stable
DEPLOY_TYPE=staged vagrant up - install polly/rexray staged
DEPLOY_TYPE=unstable vagrant up - install polly/rexray unstable
DEPLOY_TYPE=custom vagrant up - builds polly/rexray master
POLLY_REF=v0.1.1-rc1 DEPLOY_TYPE=custom vagrant up - build polly v0.1.1-rc1 and build rexray master
POLLY_REF=<commit id> REXRAY_REF=v0.4.0 DEPLOY_TYPE=custom vagrant up - build polly based on commit id and build rexray v0.4.0

The normal "vagrant up" defaults to a configuration to give demos. Currently this is broken because the config files for polly between v0.1.0 and v0.1.1 are not compatible; however, once we declare a release of v0.1.1 this will advance the stable build of polly to v0.1.1 and everything will be fine. This can be verified because "DEPLOY_TYPE=unstable vagrant up" currently works.
This allows the option for developers to use "DEPLOY_TYPE=custom vagrant up" as a development environment which builds polly and rexray from source.
Also, "DEPLOY_TYPE=staged vagrant up" is currently broken on the REX-Ray install script for ubuntu systems. This will need to be fixed at some point to support this mode, but since the install script sits outside vagrant, virtualbox, and this vagrant file, this can be done at a later time.

[Current coverage][cc-pull] is 67.95%

Merging [#120][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master       #120   diff @@
==========================================
  Files             6          6
  Lines           543        543
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            369        369
  Misses          122        122
  Partials         52         52

Powered by Codecov. Last updated by [6d0f0ff...2547672][cc-compare]
[cc-base-branch]: https://codecov.io/gh/emccode/polly/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/emccode/polly/compare/6d0f0ff518003c79193d80215f6bd8b07bcf8bae...254767246368970018170633a6564a1419edad1a
[cc-pull]: https://codecov.io/gh/emccode/polly/pull/120?src=pr


Single global daemon for all vim instances

Idea
Keep ranger always running in background, outside of vim (like tmux).
Connect all opened vim processes to single global running instance of ranger.
Benefit
Startup time -- no ranger spawning at all (especially if I spawn ranger from bashrc/systemd on startup).
Single running ranger irrespective of how much vim instances I opened, or how frequently I open them.
Keep single shared state between all of them -- i.e. working directory, etc.
Individual projects workdirs can be kept by user in different tabs of ranger.
Solution
As I already have constantly running tmux server on my PC, it would be natural to simply lauch rnvimr in hidden tmux window and attach to it from inside neovim terminal which runs tmux attach.
Chip and cool.
It has an additional benefit, that I can attach to it from some other terminal too, not only from vim.
Problem
rnvimr can't be launched outside of vim session, as it queries vim variables.
How much do you think reworking needed to be able to launch rnvimr separately and connect to it?

tmux popup UI needs to adapt the nvim floating window.  We can do this since tmux 3.2, but a lot of workload for doing this.
Ranger is a memory killer, I don't think it can handle it perfectly as robust as a server in daemon mode.

I don't recommend doing this. TBH, the code quality of Ranger is not good enough, not enough to become a service.

I see. Having eternal ranger is definitely a subpar solution from the stability standpoint.
Still I can devise systemd unit with memory limitations and restarting on crash -- which would be acceptable at least for me.

By the way (1) I didn't meant "tmux native floating windows" -- I expected your codebase will behave the same way, as it currently does, but instead of running termopen(ranger --config) you would run termopen(tmux attach-session -t rnvimr) each time you wish to open the window.
Moreover, this solution can even be generalized -- basically splitting your plugin into two.
One part -- to open/hide floating window with termopen(any_user_cmd), as fast as possible.
Which will allow to have basically any other filemanager (and not only them) to be launched in the background in the same way.
However other filemanagers (beside rnvimr) would need to use nvr to open files in the caller nvim instance instead of nested one.
Another part -- to run rnvimr itself, as a nicely adjusted experience for nvim with all the patches.

Considering only simple replacement of "ranger --config" by "tmux attach" in your codebase and fixing codebase to stop reading vim variables -- the idea is still unreasonable or not? Do you see any other problems?

Ok, reasonable thoughts.
You may close this issue, as creating a global service based on rnvimr currently seems unfeasible.


Php::call with reference arguments

I can't pass reference with Php::call
Php::Array aTmpl;
aTmpl["b"] = "b_val";
aTmpl["c"] = "c_val";
aTmpl["a"] = "a_val";

Php::call("asort", aTmpl);

i got a error:
Warning: Parameter 1 to asort() expected to be a reference, value given

Please fix it. Thanks

Unfortunately, this is not something that is easily fixed in a way keeping the API understandable, so we won't be implementing this. This is much, much easier solved by just using the STL.


[Lake] Fill TabletSchema into TabletManager::Metacache

What type of PR is this：

[ ] bug
[X] feature
[ ] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

run starrocks_clang-format


Repopulate postgres tables on reconciliation.

Ref https://github.com/VEuPathDB/vdi-service/issues/213
Update the little reconciliation process to repopulate the following tables:

[ ] install_files
[ ] upload_files

Additionally, the import_control table will be left in a queued state by the reconciliation process on an empty database.

This has evolved to be a full rewrite of the little-reconciler.
The little-reconciler has now been moved into its own lane and will be triggered by events fired from the reconciler background process and the update-meta event handler.


Merge pull request #1 from zsdonghao/master

synced

Could you merge this with PR 60 and that func to clean up code a bit?


Coin_flip by task status.

Hello!
Could you please add "when" for tasks and workflow status ( Succeeded, Failed, Error), like exit handler task.
E.G. for tasks, this working for me:
  def when_status(self, other: 'Task', operator: Operator, value: str) -> 'Task':
      self.argo_task.when = f'{{{{tasks.{other.name}.status}}}} {operator.value} {value}'
      return other.next(self)

and
r = Task("r", random_code)
h = Task("h", heads)
t = Task("t", tails)

h.when_status(r, Operator.equals, "Succeeded")
t.when_status(r, Operator.equals, "Failed")

Thank you for submitting this @Kobidav! This is similar to the current when implementation, so it is fairly easy to add, as you suggested! I am going to mark this as an enhancement.

@Kobidav I am thinking about another possible interface for this:
class Task(...):

    def on_success(self, other: 'Task'): ...  # launch other on success of self

    def on_failure(self, other: 'Task'): ...  # launch other on failure of self

    def on_error(self, other: 'Task'): ...  # launch other on error of self

Thoughts? I wonder if this interface provides a nice separation between the when, which is a conditional on multiple operators, such as eq, neq, gt, etc, whereas the status based execution is based on these 3 pre-defined Argo conditions.

Added: https://github.com/argoproj-labs/hera-workflows/pull/113


Using a different checkpoint

I have trained the model for a while and want to start training from that checkpoint again. I tried making LOAD_PRETRAINED_MODEL = False, and did save.restore(sess, appropriate checkpoint directory) in train.py. It starts from a high loss (not where the checkpoint was saved).
Is the only way to do this, converting the ckpt file to a .pkl file and make LOAD_PRETRAINED_MODEL = True ?

It was a super silly mistake. You just have to make sure you don't initialise the variables after restoring the checkpoint. Also make sure you understand how 'ckpt.model_checkpoint_path' returns.


Lightline does not update after closing clap

Environment (please complete the following information):

OS: ???
(Neo)Vim version: Master
vim-clap version: Latest
Have you reproduced with a minimal vimrc: Yup

Describe the bug
Before invoking clap

After invoking clap

After closing clap

As you can see light line is not updated.
To Reproduce
Steps to reproduce the behavior:
Install lightline and open and close Clap.
Additional context
https://github.com/voldikss/vim-floaterm/issues/19 : This issues describes the exact same problem.

The interesting thing is that vim don't have this issue, it happens to neovim only.
You can add this workaround in your vimrc, or ask lightline for a neater solution:
autocmd User ClapOnExit call lightline#update()


GUACAMOLE-567: Add specific connection stability test to tunnel implementations.

This change corrects the behavior of the connection instability detection by adding tunnel-specific tests which are independent of the underlying Guacamole connection. Regardless of whether the remote desktop connection itself is returning data, these tests verify that the server side of the tunnel is reachable and responding.
For the WebSocket tunnel, these tests leverage the reserved opcode for tunnel-specific instructions to send a "ping" message which the tunnel is required to respond to. By sending these messages roughly every 500ms, the client side guarantees that there should always be traffic over the tunnel unless something is interrupting that traffic.
For the HTTP tunnel, these tests leverage the fact that HTTP already has a request/response pattern that is verified via the HTTP protocol. A simple "nop" instruction is sent to the Guacamole server to force the send half of the tunnel to effectively self test. If the server side of the HTTP tunnel fails to properly handle the HTTP request which results from sending an instruction, the tunnel is flagged as unstable.

One question - is this code still Java 1.6 compatible?  I was looking up the documentation on the RemoteEndpoint.Basic class, and I don't see it for 1.6 - only 1.7.  Do we need to bump the target up?

It is, or at least referencing that class doesn't itself require Java 1.7. That class isn't part of Java 1.7 so much as it is part of recent versions of servlet API, which the servlet container may or may not provide. Dynamic detection of WebSocket support takes place during Guacamole's startup.


dangling DIR pointer?

Hi,
https://github.com/spacewander/luafilesystem/blob/master/lfs_ffi.lua#L207
is attaching a DIR* to a struct field but not to any table. I think that this does not prevent __gc to be called.

Would you submit a fix for it? Thanks!

Would you submit a fix for it? Thanks!

Yes, I would solve it attaching DIR* to some anchor.
But first: Do you think I am right? Is it a dangling pointer?

I think it is. Since GC doesn't traverse FFI struct.

Just made PR #10

On a later thought: We could be wrong
dir_obj._dentry = dentry

dentry can be garbage collected but dir_obj._dentry will keep its value!!


[ioredis] Unhandled error event: ReplyError: NOAUTH Authentication required.

I have the following configuration:

1 redis master setup with 3 redis slaves in replication and with auth enabled

3 redis sentinel instances configured with the master/slave setup for failover

My configuration works well and I am able to access either my master or any of the slaves. I have also tested failover, and it works well.
Now, I would like to connect to my sentinel using ioredis and I am experiencing some issue.
As mentioned in the documentation, I used the following snippets (with or without password) to connect to my redis sentinel:
var Redis = require('ioredis');
var redis = new Redis({
  sentinels: [{ host: 'redis-sentinel', port: 26379, password: "My-highly-secured-password" }],
  name: 'mymaster'
});
redis.set('foo', 'toto');
redis.get('foo', function (err, result) {
  console.log(result);
});

var Redis = require('ioredis');
var redis = new Redis({
  sentinels: [{ host: 'redis-sentinel', port: 26379 }],
  name: 'mymaster'
});
redis.set('foo', 'toto');
redis.get('foo', function (err, result) {
  console.log(result);
});

But in both the two cases, I end up with the same error:
[ioredis] Unhandled error event: ReplyError: NOAUTH Authentication required.
Does that mean that it is impossible to connect to a sentinel setup with auth enabled redis master/slaves instances using ioredis library?

You can still passes password option as how you connect to a single redis instance:
var redis = new Redis({
  sentinels: [{ host: 'redis-sentinel', port: 26379 }],
  password: "My-highly-secured-password",
  name: 'mymaster'
});

However, it's required that all your redis instances' password are same.

Thank you guy for your response, @luin
Tested and it works fine.

If you've set password for both sentinel and redis nodes, like in bitnami helm chart
var redis = new Redis({
  sentinels: [{ host: 'redis-sentinel', port: 26379 }],
  password: "My-highly-secured-password",
  sentinelPassword: "My-highly-secured-password",
  name: 'mymaster'
});


Create shared ActivityFeed Component

          can't it be a component instead of a copy?

Originally posted by @9teen90nine in https://github.com/taskany-inc/issues/pull/1410#discussion_r1282974818

Merge GoalPage and GoalPreview in one component


Add more press links

Closes #209. Here's what it looks like:

Will check this out in the morning

Ping?
On Mon, May 16, 2016 at 10:02 PM, Max Wofford<EMAIL_ADDRESS>wrote:

Will check this out in the morning
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/hackclub/website/pull/238#issuecomment-219619934

--
Zach Latta
https://zachlatta.com http://zachlatta.com

Wooo! Closing issues, @zachlatta!


Dev Container Connection Unstable

[Happens with all extensions (except Dev Containers) disabled.]
Type: Bug

Windows 10
WSL - Ubuntu 22.04, fully updated
podman 3.4.4 (in WSL, installed via "sudo apt install podman")
Configure VSCode to use "podman" for containers.
Have project code checked out in WSL.
Open VSCode, WSL folder for project code.
Reopen in container (should have .devcontainer-json).
Witness unstable connection (repeated reconnection of ManagementConnection in log.
Witness many EMFILE errors in log (apparently this happens even in the older Ubuntu 20.04 too, so not useful to worry about).

This does not happen in WSL Ubuntu 20.04 podman 3.4.2 (installed per external instructions here: https://linux.how2shout.com/how-to-install-podman-on-ubuntu-20-04-lts-focal-fossa/) under the same project/container.
[log messages: Server]
2023-08-22 12:00:46.551 [info] Extension host agent started.
2023-08-22 12:00:46.564 [debug] No uninstalled extensions found.
2023-08-22 12:00:46.565 [info] Started initializing default profile extensions in extensions installation folder. file:///root/.vscode-server-insiders/extensions
2023-08-22 12:00:46.566 [error] [File Watcher (node.js)] Failed to watch /root/.vscode-server-insiders/data/Machine for changes using fs.watch() (Error: EMFILE: too many open files, watch '/root/.vscode-server-insiders/data/Machine')
2023-08-22 12:00:46.568 [error] [File Watcher (node.js)] Failed to watch /root/.vscode-server-insiders/extensions for changes using fs.watch() (Error: EMFILE: too many open files, watch '/root/.vscode-server-insiders/extensions')
2023-08-22 12:00:46.570 [debug] ComputeTargetPlatform: linux-x64
2023-08-22 12:00:46.577 [info] Completed initializing default profile extensions in extensions installation folder. file:///root/.vscode-server-insiders/extensions
2023-08-22 12:00:46.580 [error] [File Watcher (node.js)] Failed to watch /root/.vscode-server-insiders/extensions/extensions.json for changes using fs.watch() (Error: EMFILE: too many open files, watch '/root/.vscode-server-insiders/extensions/extensions.json')
2023-08-22 12:00:46.690 [info] [<IP_ADDRESS>][961b7730][ManagementConnection] New connection established.
2023-08-22 12:00:46.705 [info] Log level changed to info
2023-08-22 12:00:46.886 [error] [File Watcher (node.js)] Failed to watch /workspaces/gtam/.vscode for changes using fs.watch() (Error: EMFILE: too many open files, watch '/workspaces/gtam/.vscode')
2023-08-22 12:00:46.887 [error] [File Watcher (node.js)] Failed to watch /workspaces/gtam/.devcontainer.json for changes using fs.watch() (Error: EMFILE: too many open files, watch '/workspaces/gtam/.devcontainer.json')
2023-08-22 12:00:46.896 [error] [File Watcher (node.js)] Failed to watch /workspaces/gtam/.vscode/tasks.json for changes using fs.watch() (Error: EMFILE: too many open files, watch '/workspaces/gtam/.vscode/tasks.json')
2023-08-22 12:00:46.897 [error] [File Watcher (node.js)] Failed to watch /workspaces/gtam/.vscode/settings.json for changes using fs.watch() (Error: EMFILE: too many open files, watch '/workspaces/gtam/.vscode/settings.json')
2023-08-22 12:00:46.974 [error] [File Watcher (node.js)] Failed to watch /root/.vscode-server-insiders/data/Machine for changes using fs.watch() (Error: EMFILE: too many open files, watch '/root/.vscode-server-insiders/data/Machine')
2023-08-22 12:00:47.020 [info] [<IP_ADDRESS>][a0f79c25][ExtensionHostConnection] New connection established.
2023-08-22 12:00:47.079 [info] [<IP_ADDRESS>][a0f79c25][ExtensionHostConnection] <240> Launched Extension Host Process.
2023-08-22 12:00:52.692 [info] [<IP_ADDRESS>][961b7730][ManagementConnection] The client has reconnected.
2023-08-22 12:00:58.144 [info] [<IP_ADDRESS>][961b7730][ManagementConnection] The client has reconnected.
2023-08-22 12:01:03.627 [info] [<IP_ADDRESS>][961b7730][ManagementConnection] The client has reconnected.
2023-08-22 12:01:03.667 [error] [File Watcher (node.js)] Failed to watch /workspaces/gtam/.git for changes using fs.watch() (Error: EMFILE: too many open files, watch '/workspaces/gtam/.git')
2023-08-22 12:01:09.091 [info] [<IP_ADDRESS>][961b7730][ManagementConnection] The client has reconnected.
2023-08-22 12:01:14.552 [info] [<IP_ADDRESS>][961b7730][ManagementConnection] The client has reconnected.
2023-08-22 12:01:20.015 [info] [<IP_ADDRESS>][961b7730][ManagementConnection] The client has reconnected.
2023-08-22 12:01:25.497 [info] [<IP_ADDRESS>][961b7730][ManagementConnection] The client has reconnected.
2023-08-22 12:01:31.423 [info] [<IP_ADDRESS>][961b7730][ManagementConnection] The client has reconnected.
2023-08-22 12:01:37.040 [info] [<IP_ADDRESS>][961b7730][ManagementConnection] The client has reconnected.
2023-08-22 12:01:42.642 [info] [<IP_ADDRESS>][961b7730][ManagementConnection] The client has reconnected.
VS Code version: Code - Insiders 1.82.0-insider (f125afbc800ec611f5a9ab1333c769832ce424b3, 2023-08-21T05:32:43.957Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Connection to 'dev-container+7b22686f737450617468223a225c5c5c5c77736c2e6c6f63616c686f73745c5c5562756e74752d32322e30345c5c686f6d655c5c6272616d616e6b705c5c6769746c61622e636f6d5c5c6e69656c73656e2d6d656469615c5c656e675c5c6d65746572735c5c6774616d5c5c6774616d222c22636f6e66696746696c65223a7b22246d6964223a312c2270617468223a222f686f6d652f6272616d616e6b702f6769746c61622e636f6d2f6e69656c73656e2d6d656469612f656e672f6d65746572732f6774616d2f6774616d2f2e646576636f6e7461696e65722e6a736f6e222c22736368656d65223a227673636f64652d66696c65486f7374227d7d' could not be established

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz (8 x 3000)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
31.81GB (14.27GB free)

Process Argv
--folder-uri vscode-remote://wsl%2Bubuntu-22.04/home/bramankp/gitlab.com/nielsen-media/eng/meters/gtam/gtam --crash-reporter-id 700e6333-362a-4a11-b248-36628df84622

Screen Reader
no

VM
0%

Connection to 'dev-container+7b22686f737450617468223a225c5c5c5c77736c2e6c6f63616c686f73745c5c5562756e74752d32322e30345c5c686f6d655c5c6272616d616e6b705c5c6769746c61622e636f6d5c5c6e69656c73656e2d6d656469615c5c656e675c5c6d65746572735c5c6774616d5c5c6774616d222c22636f6e66696746696c65223a7b22246d6964223a312c2270617468223a222f686f6d652f6272616d616e6b702f6769746c61622e636f6d2f6e69656c73656e2d6d656469612f656e672f6d65746572732f6774616d2f6774616d2f2e646576636f6e7461696e65722e6a736f6e222c22736368656d65223a227673636f64652d66696c65486f7374227d7d' could not be established
Extensions (7)

Extension
Author (truncated)
Version

remote-containers
ms-
0.305.0

remote-ssh
ms-
0.105.1

remote-ssh-edit
ms-
0.86.0

remote-wsl
ms-
0.81.0

vscode-remote-extensionpack
ms-
0.24.0

remote-explorer
ms-
0.4.1

remote-server
ms-
1.4.3

(1 theme extensions excluded)

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256198
vslsvsres303:30308271
pythontb:30258533
vsc_aacf:30263846
pythonptprofiler:30281269
vshan820:30294714
vscod805:30301674
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30404738
py29gd2263:30784851
vsclangdf:30492506
c4g48928:30535728
dsvsc012:30540252
pynewext54:30618038
showlangstatbar:30737417
24365598:30687740
pythonfmttext:30716741
fixshowwlkth:30771523
showindicator:30805243
pythongtdpath:30726887
i26e3531:30792625
gsofa:30797620
welcomedialog:30812478
pythonnosmt12:30779711
pythonidxpt:30768918
pythonnoceb:30776497
copilotsettingt:30808721
dsvsc013:30777762
dsvsc014:30777825
diffeditorv2:30786206
pythonmpsinfo:30815194

One additional, possibly-related note.
VSCode running in the 22.04 container is much less "responsive" to Git changes than the 20.04. If I "git checkout branch2" in the terminal inside the container, VSCode in 20.04 will pick that up and show that in the lower left of the window within seconds. In 22.04 it seems to be waiting until the auto-fetch happens (180 seconds) or something. It just takes forever for it to "see" that something has happened underneath it.

What do you get for running ulimit -n and sysctl -a | grep fs.file-max in a terminal inside the container? (https://www.imakewebsites.ca/posts/nodejs-too-many-open-files-ulimit/)

20.04
root@a3895520e093:/# ulimit -n
1048576
root@a3895520e093:/# sysctl -a | grep fs.file-max
sysctl: permission denied on key 'fs.protected_fifos'
sysctl: permission denied on key 'fs.protected_hardlinks'
sysctl: permission denied on key 'fs.protected_regular'
sysctl: permission denied on key 'fs.protected_symlinks'
fs.file-max =<PHONE_NUMBER>854775807
sysctl: permission denied on key 'kernel.cad_pid'
sysctl: permission denied on key 'kernel.usermodehelper.bset'
sysctl: permission denied on key 'kernel.usermodehelper.inheritable'
sysctl: permission denied on key 'net.ipv4.tcp_fastopen_key'
sysctl: permission denied on key 'net.ipv6.conf.all.stable_secret'
sysctl: permission denied on key 'net.ipv6.conf.default.stable_secret'
sysctl: permission denied on key 'net.ipv6.conf.lo.stable_secret'
sysctl: permission denied on key 'net.ipv6.conf.tap0.stable_secret'
sysctl: permission denied on key 'vm.mmap_rnd_bits'
sysctl: permission denied on key 'vm.mmap_rnd_compat_bits'
sysctl: permission denied on key 'vm.stat_refresh'

22.04
root@fba9f24bce66:/# ulimit -n
1048576
root@fba9f24bce66:/# sysctl -a | grep fs.file-max
sysctl: permission denied on key 'fs.protected_fifos'
sysctl: permission denied on key 'fs.protected_hardlinks'
sysctl: permission denied on key 'fs.protected_regular'
sysctl: permission denied on key 'fs.protected_symlinks'
fs.file-max =<PHONE_NUMBER>854775807
sysctl: permission denied on key 'kernel.cad_pid'
sysctl: permission denied on key 'kernel.usermodehelper.bset'
sysctl: permission denied on key 'kernel.usermodehelper.inheritable'
sysctl: permission denied on key 'net.ipv4.tcp_fastopen_key'
sysctl: permission denied on key 'net.ipv6.conf.all.stable_secret'
sysctl: permission denied on key 'net.ipv6.conf.default.stable_secret'
sysctl: permission denied on key 'net.ipv6.conf.lo.stable_secret'
sysctl: permission denied on key 'net.ipv6.conf.tap0.stable_secret'
sysctl: permission denied on key 'vm.mmap_rnd_bits'
sysctl: permission denied on key 'vm.mmap_rnd_compat_bits'
sysctl: permission denied on key 'vm.stat_refresh'

If there is a way to enable more detailed logging than what I originally posted I would be happen to configure it and run the tests again (basically just starting VSCode with the dev container) and upload the results. Maybe that will show why the connection is being broken?

I think you are spending time on the wrong issue. Both 20.04 and 22.04 have that EMFILE issue. Only 22.04 seems to have the "unstable connection" issue which is why I opened this ticket.
In 20.04, the ManagementConnection and ExtensionHostConnection are stable. I get no messages about reconnection. In 22.04, especially at start, the connection is very unstable. It also persists during usage and probably contributes to the Git issue I mentioned (not updating the UI as quickly).
To answer your specific question, though, the files are hosted in their respective WSL filesystems. I can't try Docker because this is a corporate machine and we cannot install Docker Desktop.

Note that I was able to replicate this on a completely separate machine in a completely separate environment (home) so this isn't something specific to the work machine I reported the problem from.
I am also using VSCode Insiders to make sure this hasn't already been fixed ... and it hasn't.


HAPI-340

Add HRP countries to food security
cc @mcarans

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
907

Relevant Lines:
971

💛  - Coveralls


DNM: test trigger ci on release-7.6

What problem does this PR solve?

Issue Number: close #xxx
What is changed and how it works?
Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
Please refer to [Release Notes Language Style Guide](https://pingcap.github.io/tidb-dev-guide/contribute-to-tidb/release-notes-style-guide.html) to write a quality release note.

If you don't think this PR needs a release note then fill it with `None`.

image 'hub.pingcap.net/qa/tikv:release-7.6' not yet completed building, will trigger testing again later.

/retest

/test cdc-integration-kafka-test

/retest

/retest


[FLINK-19924][config] Disallow UC for iterative jobs

What is the purpose of the change
From 1.12, Unaligned checkpoints will support rescaling.
But it will be limited to non-iterative jobs.
This PR adds:

validation: non-iterative or non-UC
a flag to skip validation
passing a flag to subtasks (whether the job is iterative)

Brief change log

Disallow Unaligned Checkpoints for iterative jobs by default
Add an option to force Unaligned Checkpoints
Add StreamConfig.isGraphContainingLoops

Verifying this change
This change is a trivial rework without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): yes
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: yes
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

There seems to be some consistency check in Python (good job whoever did that)
    @classmethod
    def check_methods(cls):
        java_primary_methods = {'getClass', 'notifyAll', 'equals', 'hashCode', 'toString',
                                'notify', 'wait'}
        java_methods = PythonAPICompletenessTestCase.get_java_class_methods(cls.java_class())
        python_methods = cls.get_python_class_methods(cls.python_class())
        missing_methods = java_methods - python_methods - cls.excluded_methods() \
            - java_primary_methods
        if len(missing_methods) > 0:
>           raise Exception('Methods: %s in Java class %s have not been added in Python class %s.'
                            % (missing_methods, cls.java_class(), cls.python_class()))
E           Exception: Methods: {'isForceUnalignedCheckpoints', 'isUnalignedCheckpointsEnabled'} in Java class org.apache.flink.streaming.api.environment.StreamExecutionEnvironment have not been added in Python class <class 'pyflink.datastream.stream_execution_environment.StreamExecutionEnvironment'>.

Both CI failures are unrelated:

TemporalJoinITCase.testEventTimeTemporalJoinChangelogUsingBeforeTime (FLINK-19914)
SQLClientHBaseITCase (likelly FLINK-19863)


hi,Is there any paper on the hand tracking model?

Google did not release any paper for this hand detection model. Although it is heavily based on their BlazeFace paper https://arxiv.org/abs/1907.05047

@SBoulanger  thx a lot


Add object information method

As 🐳 (layers, optimizers...) can be added on runtime, each 🐳 should have a self-description method. containing list of keys and possible values accepted

:octocat: cibot: Thank you for posting issue #722. The person in charge will reply soon.