TypeError: Cannot read property 'start' of undefined

I get the following error when running this a second time:
~/node_modules/webpack/lib/ModuleDependencyWarning.js:9
        this.message = loc.start.line + ":" + loc.start.column + " ";
                   ^
TypeError: Cannot read property 'start' of undefined
    at new ModuleDependencyWarning (~/node_modules/webpack/lib/ModuleDependencyWarning.js:9:20)

More...
```
~/node_modules/webpack/lib/ModuleDependencyWarning.js:9
        this.message = loc.start.line + ":" + loc.start.column + " ";
                   ^
TypeError: Cannot read property 'start' of undefined
    at new ModuleDependencyWarning (~/node_modules/webpack/lib/ModuleDependencyWarning.js:9:20)
    at ~/node_modules/webpack/lib/Compilation.js:643:20
    at Array.forEach (native)
    at ~/node_modules/webpack/lib/Compilation.js:642:14
    at Array.forEach (native)
    at ~/node_modules/webpack/lib/Compilation.js:639:22
    at Array.forEach (native)
    at Compilation.reportDependencyWarnings (~/node_modules/webpack/lib/Compilation.js:638:9)
    at Compilation. (~/node_modules/webpack/lib/Compilation.js:497:8)
    at Array.forEach (native)
    at Compilation.finish (~/node_modules/webpack/lib/Compilation.js:496:15)
    at Compiler. (~/node_modules/webpack/lib/Compiler.js:434:15)
    at ~/node_modules/tapable/lib/Tapable.js:152:11
    at Compilation. (~/node_modules/webpack/lib/Compilation.js:444:10)
    at ~/node_modules/webpack/lib/Compilation.js:420:12
    at ~/node_modules/webpack/lib/Compilation.js:332:10
    at ~/node_modules/async/lib/async.js:52:16
    at done (~/node_modules/async/lib/async.js:246:17)
    at ~/node_modules/async/lib/async.js:44:16
    at ~/node_modules/webpack/lib/Compilation.js:332:10
    at ~/node_modules/async/lib/async.js:52:16
    at done (~/node_modules/async/lib/async.js:246:17)
    at ~/node_modules/async/lib/async.js:44:16
    at ~/node_modules/webpack/lib/Compilation.js:332:10
    at ~/node_modules/async/lib/async.js:52:16
    at done (~/node_modules/async/lib/async.js:246:17)
    at ~/node_modules/async/lib/async.js:44:16
    at ~/node_modules/webpack/lib/Compilation.js:332:10
    at ~/node_modules/async/lib/async.js:52:16
    at done (~/node_modules/async/lib/async.js:246:17)
    at ~/node_modules/async/lib/async.js:44:16
    at ~/node_modules/webpack/lib/Compilation.js:332:10
    at ~/node_modules/async/lib/async.js:52:16
    at done (~/node_modules/async/lib/async.js:246:17)
    at ~/node_modules/async/lib/async.js:44:16
    at ~/node_modules/webpack/lib/Compilation.js:332:10
    at ~/node_modules/async/lib/async.js:52:16
    at done (~/node_modules/async/lib/async.js:246:17)
    at ~/node_modules/async/lib/async.js:44:16
    at ~/node_modules/webpack/lib/Compilation.js:332:10
    at ~/node_modules/async/lib/async.js:52:16
    at done (~/node_modules/async/lib/async.js:246:17)
    at ~/node_modules/async/lib/async.js:44:16
    at ~/node_modules/webpack/lib/Compilation.js:332:10
    at ~/node_modules/async/lib/async.js:52:16
    at done (~/node_modules/async/lib/async.js:246:17)
    at ~/node_modules/async/lib/async.js:44:16
    at ~/node_modules/webpack/lib/Compilation.js:332:10
    at ~/node_modules/async/lib/async.js:52:16
    at done (~/node_modules/async/lib/async.js:246:17)
    at ~/node_modules/async/lib/async.js:44:16
    at ~/node_modules/webpack/lib/Compilation.js:332:10
    at ~/node_modules/async/lib/async.js:52:16
    at done (~/node_modules/async/lib/async.js:246:17)
    at ~/node_modules/async/lib/async.js:44:16
    at ~/node_modules/webpack/lib/Compilation.js:332:10
    at ~/node_modules/async/lib/async.js:52:16
    at done (~/node_modules/async/lib/async.js:246:17)
    at ~/node_modules/async/lib/async.js:44:16
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickDomainCallback (internal/process/next_tick.js:122:9)
```

What can I provide to make this more useful? (I'm using the example on the homepage, nearly verbatim)
Also, this project has:

Code-splitting via require.ensure.
require.context in several places.
babel-loader, and a few others.

When checking out records.json, I'd wager that the files referenced via require.context strike me as the outliers:
{
  "modules": {
    "byIdentifier": {
      "node_modules/react/react.js": "./node_modules/react/react.js",
      "src/routes/docs /\\.js$": 0,
      "multi client": 1,
      "multi widgets": 2,
      "src/components /\\.fixture\\.js$": 3,
      "src/components /\\/[A-Z]\\w+\\.js$": 4,
      // ...a bunch of /node_module/something: node_modules/something
    },
    "usedIds": {
      "0": 0,
      "1": 1,
      "2": 2,
      "3": 3,
      "4": 4,
      "5": 5,
      "./node_modules/react/react.js": "./node_modules/react/react.js",
      // a bunch of ./some/path.js: ./some/path.js
    }
  },
  "chunks": {
    "byName": {
      "client": 5,
      "widgets": 6
    },
    "byBlocks": {
      "node_modules/babel-loader/index.js?{\"cacheDirectory\":true,\"env\":{\"development\":{\"plugins\":[[\"react-transform\",{\"transforms\":[{\"transform\":\"react-transform-hmr\",\"imports\":[\"react\"],\"locals\":[\"module\"]}]}]]}}}!node_modules/eslint-loader/index.js!src/routes/index.js:0/1": 0,
      "node_modules/babel-loader/index.js?{\"cacheDirectory\":true,\"env\":{\"development\":{\"plugins\":[[\"react-transform\",{\"transforms\":[{\"transform\":\"react-transform-hmr\",\"imports\":[\"react\"],\"locals\":[\"module\"]}]}]]}}}!node_modules/eslint-loader/index.js!src/routes/index.js:1/1": 1,
      "node_modules/babel-loader/index.js?{\"cacheDirectory\":true,\"env\":{\"development\":{\"plugins\":[[\"react-transform\",{\"transforms\":[{\"transform\":\"react-transform-hmr\",\"imports\":[\"react\"],\"locals\":[\"module\"]}]}]]}}}!node_modules/eslint-loader/index.js!src/routes/components/index.js:0/0": 2,
      "node_modules/babel-loader/index.js?{\"cacheDirectory\":true,\"env\":{\"development\":{\"plugins\":[[\"react-transform\",{\"transforms\":[{\"transform\":\"react-transform-hmr\",\"imports\":[\"react\"],\"locals\":[\"module\"]}]}]]}}}!node_modules/eslint-loader/index.js!src/routes/dashboard/index.js:0/0": 3,
      "node_modules/babel-loader/index.js?{\"cacheDirectory\":true,\"env\":{\"development\":{\"plugins\":[[\"react-transform\",{\"transforms\":[{\"transform\":\"react-transform-hmr\",\"imports\":[\"react\"],\"locals\":[\"module\"]}]}]]}}}!node_modules/eslint-loader/index.js!src/routes/login/index.js:0/0": 4
    },
    "usedIds": {
      "0": 0,
      "1": 1,
      "2": 2,
      "3": 3,
      "4": 4,
      "5": 5,
      "6": 6
    }
  },
  "prepreHash": "x",
  "preHash": "bb85840e4b6505f91209",
  "hash": "806005adce5d53614746",
  "moduleHashs": {

@ericclemmons This is already useful. Thank you. This is clearly something I've overlooked and need to do some work to support.
I'm guessing you are getting a warning in your first run and in the second run the warning is persisting correctly but the plugin isn't caching needed metadata for this warning to work without erroring.
From what've you posted I'm guessing you are using webpack 2 and harmony modules. I'm guessing that because those are the likely dependencies who would create dependency warnings. Specifically you probably have an import statement for a export from a dependency that doesn't export the desired field. Like import {key} from './file' when file doesn't export key. If I'm wrong on this, if you can figure out the dependency with the warning that would be great info to add.

I am getting a similar issue.
/..../node_modules/loader-runner/lib/LoaderRunner.js:90
                        throw e;
                        ^

TypeError: Cannot read property 'start' of undefined
    at new ModuleDependencyWarning (/..../node_modules/webpack/lib/ModuleDependencyWarning.js:9:20)
    at /..../node_modules/webpack/lib/Compilation.js:643:20
    at Array.forEach (native)
    at /..../node_modules/webpack/lib/Compilation.js:642:14
    at Array.forEach (native)
    at /..../node_modules/webpack/lib/Compilation.js:639:22
    at Array.forEach (native)
    at Compilation.reportDependencyWarnings (/..../node_modules/webpack/lib/Compilation.js:638:9)
    at Compilation.<anonymous> (/..../node_modules/webpack/lib/Compilation.js:497:8)
    at Array.forEach (native)
    at Compilation.finish (/..../node_modules/webpack/lib/Compilation.js:496:15)
    at Compiler.<anonymous> (/..../node_modules/webpack/lib/Compiler.js:434:15)
    at /..../node_modules/tapable/lib/Tapable.js:152:11
    at Compilation.<anonymous> (/..../node_modules/webpack/lib/Compilation.js:444:10)
    at /..../node_modules/webpack/lib/Compilation.js:420:12
    at /..../node_modules/webpack/lib/Compilation.js:332:10

I am using webpack 2 with "import"s.
First (no cache) compilation works fine (not even a warning)
Environment has changed (node_modules or configuration was updated).
HardSourceWebpackPlugin will reset the cache and store a fresh one.

But when I restart (so cache is used) I got the error above.

@mzgoddard Using the latest master (with #20) in it, I see warnings such as:

WARNING in ./src/client.js
15:2 export 'Provider' (imported as 'Redux') was not found in './stores/ApiStore'

The original source is:
import { Provider as Mobx } from "mobx-react";
import { browserHistory, Router } from "react-router";
import DOM from "react-dom";
import { enhance } from "react-router-enhanced-routes";
import { Provider as Redux } from "react-redux";
import React from "react";

import configureStore from "./configureStore";
import routes from "./routes";
import ApiStore from "./stores/ApiStore";

const store = configureStore(window.__INITIAL_STATE__);

DOM.render((
  <Redux store={store}> // Line 15
    <Mobx api={new ApiStore()}>
      <Router
        history={browserHistory}
        routes={enhance(routes, { store })}
      />
    </Mobx>
  </Redux>
), document.getElementById("mount"));

Yes, this is using .babelrc:
{
  "presets": [
    ["es2015", { "modules": false }],
    "react",
    "stage-0"
  ],
  "plugins": [
    "lodash",
    "react-html-attrs",
    "transform-decorators-legacy"
  ]
}

And I'm also using Webpack 2's resolve.root = ["./lib", "node_modules"] based off of this post (for Webpack 1):

https://medium.com/@ericclemmons/dogfooding-your-open-source-projects-9e6dc1e7d1c8

I even get similar warnings for bindActionCreators against this code:
import { bindActionCreators } from "redux";
import * as trackingActions from "./actions";
import configureTrackingStore from "./configureStore";

const userToken = `asdf1234`;

const trackingStore = configureTrackingStore(
  userToken,
  { actionCount: 0 }
);

export default bindActionCreators(
  trackingActions,
  trackingStore.dispatch
);

It seems to be anything with a named import.
Any ideas?

@ericclemmons Thanks for bringing up this follow up.
Yeah its anything that webpack creates a HarmonyImportSpecifierDependency of HarmonyExportImportedSpecifierDependency. These dependencies refer to their dependency that points at their related modules. HardSource isn't connecting to the right dependency. It'd only work if the last import was the only one with a specifier. HardSource needs to store a little more info and use that to stand up the right dependency graph for a module.
Which #23 does. :smile:


Not working on Bootstrap modal.

images that are in modal not being shown.

Hi @pedramvdl31 ,
you can manually call progressively's render function to make it work in bootstrap-modals. It has to be called after the modal is shown:
progressively.init();
$('#myModal').on("shown.bs.modal", function(e) {
	progressively.render();
});


[FEATURE] Badge to tell how many repos the organization has

Description
A badge to tell how many repos the organization has should be added to README.md
Screenshots
No response
Additional information
No response

I love badges but I think a badge telling the number or repos is not needed cause I'm not a fan of duplicate information on a page. But as always this is only my personal opinion :)

I love badges but I think a badge telling the number or repos is not needed cause I'm not a fan of duplicate information on a page. But as always this is only my personal opinion :)

True.. I forgot the repos button existed there LOL


Nano constant glitches

[x] I am on the latest Hyper.app version
[x] I have searched the issues of this repo and believe that this is not a duplicate

OS version and name: Ubuntu 14.04 LTS
Hyper.app version: 1.0.0
Link of a Gist with the contents of your .hyper.js: https://gist.github.com/vaporwavie/851fd24e33b001291ca263b935288e9d
The issue is reproducible in vanilla Hyper.app: Is Vanilla

Issue

Hello! I've been using Hyper for a few weeks, and I recently witnessed a "glitch": Nano simply doesn't work at all, and every single time I tried to use it, I was forced to quit hyper so I could try again, with no good returns at all. Hope it helps reporting anything :smile:

OS version and name: ArchLinux Latest
Hyper.app version: 1.0.0
Link of a Gist with the contents of your .hyper.js: https://gist.github.com/fcgomes92/9ae458c80ce29258f2a85576ef28a81b
The issue is reproducible in vanilla Hyper.app: Is Vanilla

+1
For me all the shortcuts fail. For example: If i hit CTRL + X nothing happens.

This is a dupe of #1069 and #1132. Basically, hyper uses Ctrl as its mod key by default on Windows and Linux, which is not ideal. This does not impact Mac users, as the Cmd is used there.
I've put in a pull request at #1191 and would appreciate any confirmations/feedback you can provide there.

Okay. Thanks for replying!


How to handle transparency of objects in vts-browser-js?

I am trying to draw a 3D object on top of VTS earth environment (vts-browser-js).
Can I make that object semi-transparent by specifying some transparency factor somewhere in the code?
Also, if the model (.obj) is imported, can we play with its transparency?
I understand that we can apply a semi-transparent texture and import that texture along with mode(.obj,.mtl), but is there any other way to achieve the required transparency in vts-browser-js?
Any help would be really appreciated!

Hello,
I believe so, see the example here https://github.com/melowntech/vts-browser-js/wiki/Examples#meshes---import-obj ... the house has transparent windows which is done using materials in OBJ if you look into the OBJ itself. @davidmtech should have more detailed info if needed.

Thanks Horky,
As you mentioned, one way is to edit the materials in .obj file itself.
I am wondering if it is possible to tune some transparency factor in VTS code?
Or some other way to adjust transparency through code?

There is example how to draw transparent meshes:
https://jsfiddle.net/ay6c5pxj/
Main prerequisite is to use render state where is blending enabled:
transparentMesh = renderer.createState({culling:true, blend:true});
and set this state when you render transparent meshes
 renderer.setState(transparentMesh);
In case that you use build sharers, then you set opacity to desired value.
When you render transparent meshes then rendering order is important. There is no build in support for rendering transparent meshes. You have to sort it manually.  Most common practice is to render non-transparent meshes first and then render transparent meshes. Rendering order of the transparent meshes should by sorted by distance from camera (most distant should be rendered first).


certificate verify failed

Describe the bug
requests.exceptions.SSLError: HTTPSConnectionPool(host='api.binance.com', port=443): Max retries exceeded with url: /api/v3/ping (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate
Environment (please complete the following information):

Python version: [3.10]
Virtual Env:
OS: [win 10]
python-binance version 0.7.9

Logs or Additional context
requests.exceptions.SSLError: HTTPSConnectionPool(host='api.binance.com', port=443): Max retries exceeded with url: /api/v3/ping (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)')))

I also faced the same problem. Is there anyone having the solution? @arkidd Did you fix it?

I had the same problem.
I deleted pycharme and python 3.9 (interpreter + idle) on my mac(m1) in hope taht it would work after a new installation.....
On the setup for installing python (3.10), there was like an "instruction" text......wich explains about some issues wich ssl certificats and to avoid them, they have prepared a script in the program folder, which the user can run to install/download some certificats....
I don't now if it was the the fresh installation or runing their script, but now it's work for me🤷♂


Add test asserting that get_values works by itself

As described in #1534, this test will fail in main with a KeyError about a missing section name even though the named sections do exist within the config file.
This test will pass in the branch associated with #1535. This test should keep the improved behavior healthy as the code evolves by preventing future developers from removing the eager loading of sections within get_values().

@Codym48 Thanks a lot for your help! Are you able to post this PR against the respective PR in GitPython? If not, you can checkout the one this is going to be based on and create a new one in GitPython that contains both commits. That way we don't loose time waiting.

 Sorry, I thought this is what you meant. Did you mean https://github.com/gitpython-developers/GitPython/pull/1555?

Yes, that definitely works! Thanks again.


Fix warnings

Hi,
This patchset fixes differents warnings I get on my linux distribution.
./configure --with-openssl CFLAGS=-Werror && make
Regards

Thanks.
In the interest of minimizing the diff, please simply wrap

static void reset_signals(void) { ... }

with #ifdef HAVE_FORK ... #endif in mod_fastcgi.c and mod_scgi.c
Since mod_rrdtool waitpid() ignores status, please simply replace the arg with NULL, and remove int status;
while (-1 == waitpid(p->rrdtool_pid, NULL, 0) && errno == EINTR) ;

In stat_cache.c, please move UNUSED(srv) below stat_cache *sc = NULL; and remove (void)srv;
Please look into why HAVE_FORK is not defined.  What operating system are you using (or what embedded limitations) where ./configure is failing to detect working fork()?

Thanks for you review.
I applied all you requests. But, to ensure minimizing the diff, I had also to wrap the others functions inside a #ifdef HAVE_FORK ... #endif, for both files mod_fastcgi.c and mod_scgi.c.
But I think moving them into the #ifdef HAVE_FORK ... #endif block was nicer :).
I am running arch linux.
The issue with HAVE_FORK comes from the way I was performing the configure and the make. configure --with-openssl && make CFLAGS=-Werror works great while configure CFLAGS=-Werror reports I do not have fork().

configure CFLAGS=-Werror reports I do not have fork().

Ah, yes.  That's the actual problem that should be fixed.  I'm aware of it, but haven't looked into working around why the configure tests fail when -Werror is applied.  I don't remember which compiler warnings turned into errors, and therefore messed up other detection, including HAVE_FORK.

From a quick glance, the updated patch looks good.  I'll probably integrate it this weekend.  Thanks!

Okay, thanks !

Aside: A quick search and I see that setting CFLAGS=-Werror ./configure is not recommended.  There are supposedly recommended ways to enable extra warnings and errors, but I have not looked to see how portable they are to older autotools.  Here's a few links, and I think looking at the example used in GNU coreutils is a good place to start:
http://gnu-autoconf.7623.n7.nabble.com/configure-tests-for-gcc-builtins-with-CFLAGS-Werror-td20340.html
https://www.gnu.org/software/autoconf-archive/ax_compiler_flags.html
If minor changes are needed to make lighttpd ./configure use recommended autotools mechanisms to allow flags to be passed to the build, but not used during ./configure tests, I would be happy to review a patch.

A fairly recent thread referenced some examples
https://mail.gnome.org/archives/desktop-devel-list/2017-April/msg00009.html
https://wiki.gnome.org/Projects/GnomeCommon/Migration (search for Werror for use of AX_COMPILER_FLAGS)

lighttpd configure.ac already has --enable-extra-warnings flag.  I extended it to take a new param --enable-extra-warnings=error, similar to what is done in AX_COMPILER_FLAGS --enable-compile-warnings (not implemented by lighttpd)
Please try the following modification to lighttpd configure.ac with ./configure --enable-extra-warnings=error ....  The important piece not shown here is that -Werror and the rest of these flags are added near the end of configure.ac, after all other autoconf compile tests have been performed, so autoconf compile tests, including the one that sets HAVE_FORK, execute properly.
--- a/configure.ac
+++ b/configure.ac
@@ -971,14 +971,19 @@ fi
 AC_ARG_ENABLE(extra-warnings,
  AC_HELP_STRING([--enable-extra-warnings],[enable extra warnings (gcc specific)]),
  [case "${enableval}" in
+ error) extrawarnings=error ;;
    yes) extrawarnings=true ;;
     no) extrawarnings=false ;;
      *) AC_MSG_ERROR(bad value ${enableval} for --enable-extra-warnings) ;;
   esac],[extrawarnings=false])

-if test x$extrawarnings = xtrue; then
+if test x$extrawarnings = xtrue || test x$extrawarnings = xerror; then
   TRY_CFLAGS([-g -O2 -g2 -Wall -Wmissing-declarations -Wdeclaration-after-statement -Wcast-align -Wsign-compare -Wnested-externs -Wpointer-arith -D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security])
   TRY_LDFLAGS([-Wl,--as-needed])
+  if test x$extrawarnings = xerror; then
+    AS_VAR_APPEND([CFLAGS], [" -Werror"])
+    AS_VAR_APPEND([LDFLAGS], [" -Wl,--fatal-warnings"])
+  fi
 fi

 dnl build version-id

Your modifications works. The command below reports the warning as an error.
$ ./configure --with-openssl --enable-extra-warnings=error && make
[...]
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR="\"/usr/local/lib\"" -DSBIN_DIR="\"/usr/local/sbin\"" -I. -I..   -D_REENTRANT -D__EXTENSIONS__  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES      -g -O2 -Wall -W -Wshadow -pedantic -std=gnu99 -g -O2 -g2 -Wall -Wmissing-declarations -Wdeclaration-after-statement -Wcast-align -Wsign-compare -Wnested-externs -Wpointer-arith -D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Werror -MT mod_webdav_la-mod_webdav.lo -MD -MP -MF .deps/mod_webdav_la-mod_webdav.Tpo -c -o mod_webdav_la-mod_webdav.lo `test -f 'mod_webdav.c' || echo './'`mod_webdav.c
libtool: compile:  gcc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR=\"/usr/local/lib\" -DSBIN_DIR=\"/usr/local/sbin\" -I. -I.. -D_REENTRANT -D__EXTENSIONS__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -g -O2 -Wall -W -Wshadow -pedantic -std=gnu99 -g -O2 -g2 -Wall -Wmissing-declarations -Wdeclaration-after-statement -Wcast-align -Wsign-compare -Wnested-externs -Wpointer-arith -D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Werror -MT mod_webdav_la-mod_webdav.lo -MD -MP -MF .deps/mod_webdav_la-mod_webdav.Tpo -c mod_webdav.c  -fPIC -DPIC -o .libs/mod_webdav_la-mod_webdav.o
mod_webdav.c: In function ‘mod_webdav_subrequest_handler_huge’:
mod_webdav.c:2173:14: error: implicit declaration of function ‘rename’ [-Werror=implicit-function-declaration]
     if (0 == rename(con->physical.path->ptr, p->physical.path->ptr)) {
              ^~~~~~
mod_webdav.c:2173:5: error: nested extern declaration of ‘rename’ [-Werror=nested-externs]
     if (0 == rename(con->physical.path->ptr, p->physical.path->ptr)) {
     ^~
cc1: all warnings being treated as errors
make[3]: *** [Makefile:2262: mod_webdav_la-mod_webdav.lo] Error 1
make[3]: Leaving directory '/home/gportay/src/lighttpd1.4/src'
make[2]: *** [Makefile:1404: all] Error 2
make[2]: Leaving directory '/home/gportay/src/lighttpd1.4/src'
make[1]: *** [Makefile:448: all-recursive] Error 1
make[1]: Leaving directory '/home/gportay/src/lighttpd1.4'
make: *** [Makefile:378: all] Error 2

But I don't really like this modification.
The enable option --enable-xxx is supposed to be binary. yes or no. IMO option --with-xxx would be more appropriate.
BTW, we can still go with with ./configure && make CFLAGS=-Werror if we want to report warning as errors. And undestand what is wrong with ./configure CFLAGS=-Werror.

But I don't really like this modification.

Sorry.  Regardless of whether or not this offends your sensibilities, my patch is in the same vein as what is done with AX_COMPILER_FLAGS --enable-compile-warnings to enable -Werror.  That, too, begins with --enable-....  My patch merely extends the existing lighttpd ./configure flag --enable-extra-warnings in the same way to enable -Werror.  You do not have to use the new value "error".  The values "yes" and "no" still work.  I do not see a good reason to rename the flag and potentially break existing usage in the lighttpd stable branch.

And understand what is wrong with ./configure CFLAGS=-Werror

I am not sure what is meant by that sentence fragment.  I presume that you understand why -Werror might be detrimental to and break autoconf compile tests used to determine presence or absence of features.

Sorry. Regardless of whether or not this offends your sensibilities [...]

No offenses, your project, your rules ;) And you are absolutely right to mimic ax_compiler_flags.
But I am still confuse to see that enable values can be used as tristates (and more) :/ I am probably sure that I will survive to that :)
Do you know if they have a use case to handle also -Wextra?

I am not sure what is meant by that sentence fragment. I presume that you understand why -Werror might be detrimental to and break autoconf compile tests used to determine presence or absence of features.

Indeed.
In fact, we cannot use ./configure CFLAGS=-Werror because the CFLAGS is propagated to the macro AC_TRY_RUN. It breaks some conftests function like fork and memtest. I had a look to the config.log.

Do you know if they have a use case to handle also -Wextra?

I haven't tried to keep track of all the available flags, and lighttpd would like to work with older versions of gcc, too (though not ancient versions)
If you want to patch configure.ac with an additional one-liner to TRY_CFLAGS([-Wextra]), that would work in lighttpd, though if we verify that -Wextra has been available in gcc for a long time -- and I believe that it has -- then I might just add it to the standard set of extra flags since these flags need to be optionally enabled with --enable-extra-warnings


Doesn't copy single-character tags liike v, w, etc...

Pretty common on danbooru and very much a problem not to grab them, since they aren't supplementary tags, but main tags for gestures.

https://github.com/JetBoom/boorutagparser/commit/3336fcc63cc7b95f3efeecb723aa331eb9ccc99f

God speed and many thanks for this quick update.
One thing though if you don't mind me pointing this out:
you forgot to update the version tag, that way Tampermonkey would update the script automatically. :)


Improve RADVD router mode help text (Todo #6889)

Improve RA router mode descriptions as suggested by Corey Boyle in https://redmine.pfsense.org/issues/6889

I like the detail but it turns the drop-down into a big wall of text. I think it will end up confusing people more this way. Perhaps the detail could be worked into the description text underneath instead of in the drop-down?

Shrug; yeah it could be worked into the description text underneath, turning it into an even bigger wall of text. I definitely give up on that, trying to format text with  setHelp0 sucks goats nuts to put it midly, not to mention the gettext mess resulting thereof.

@sbeaver-netgate done


[15721] Compiled Catalog Query Access

We enabled complied catalog lookup in the first pull request. Based upon this, we further support complied insert and delete queries for all catalogs. We also fix bugs for the following issues:

#1298 Need to manually bind the tuple value expression so that equality checks will work correctly.

Sequential scan assumes that the output columns should start at offset 0 otherwise PerformBinding will not correctly find the corresponding column attributes.

ZoneMapCatalog needs special care to avoid chicken and egg problem. Each sequential plan needs to check the zone map to know whether to scan the tile or not, but checking the zone map requires ZoneMap catalog access which leads to an infinity loop. So we ensure in the ZoneMap catalog manager that if the scanning table is ZoneMap catalog then it will just scan it without checking the ZoneMap

Coverage increased (+0.04%) to 77.595% when pulling 89161d8535133892008c42d7695becd4f3e4a837 on nwang57:pcq-cp2 into 5686479c5f33087031e1b68b7832245c7886b712 on cmu-db:master.

I am reviving this PR. We will need this when we get rid of the interpreted engine. It also has bug fix for #1362


libremidi: init at unstable-2023-05-05

Description of changes
https://github.com/jcelerier/libremidi
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 232578 run on x86_64-linux 1

1 package built:

libremidi

Missing CoreServices on Darwin, added them.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/2275


Update country_picker_dialog.dart with shape property

PickerDialogStyle class currently does not allow the user to alter the shape of the Dialog. I have added the simple change to allow for the Dialog shape customization. I hope you accept.
Love your package!


Refactor/remove unused file uploader components

What was done
Removed unused file uploader components in favor for filepicker component
How was it done
Done by removing files and references to the both components

Task linked: CU-3qa58d8 Ta bort ImageUploader och PDFUploader komponenter i formbuilder


Removing folders verbiage from CONVENTIONS.md

Signed-off-by: mnkugler<EMAIL_ADDRESS>By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

I saw a few PRs from different branches.
You can force push an amended change to GitHub with git push origin branch-name -f, it will overwrite the change.

@mnkugler @dblock is there some background history I am missing? (Why are we removing the recommendations?)

@mnkugler @dblock is there some background history I am missing? (Why are we removing the recommendations?)

We are only removing the folders verbiage because the recommendations are outdated now that we're shifting to one plugin per repo as per https://github.com/opensearch-project/opensearch-build/issues/2188.

@mnkugler @dblock is there some background history I am missing? (Why are we removing the recommendations?)

@saratvemulapalli We are only removing the folders verbiage because the recommendations are outdated now that we're shifting to one plugin per repo as per opensearch-project/opensearch-build#2188.

@mnkugler the convention listed here[1] is to help plugin developers name the plugin to reflect how it shows up after they are installed but not how they are structured within the code repository. I hope that makes sense.
For example: opensearch-knn shows up as plugins/opensearch-knn.
:~/opensearch-2.2.1$ ls -la plugins/
total 72
drwxr-xr-x 18 ubuntu ubuntu 4096 Sep  7 23:11 .
drwxr-xr-x 11 ubuntu ubuntu 4096 Sep  7 23:10 ..
drwxr-xr-x  2 ubuntu ubuntu 4096 Aug 30 18:19 opensearch-alerting
drwxr-xr-x  2 ubuntu ubuntu 4096 Aug 30 18:19 opensearch-anomaly-detection
drwxr-xr-x  2 ubuntu ubuntu 4096 Aug 30 18:19 opensearch-asynchronous-search
drwxr-xr-x  2 ubuntu ubuntu 4096 Aug 30 18:19 opensearch-cross-cluster-replication
drwxr-xr-x  2 ubuntu ubuntu 4096 Aug 30 18:19 opensearch-geospatial
drwxr-xr-x  2 ubuntu ubuntu 4096 Aug 30 18:19 opensearch-index-management
drwxr-xr-x  2 ubuntu ubuntu 4096 Aug 30 18:19 opensearch-job-scheduler
drwxr-xr-x  3 ubuntu ubuntu 4096 Aug 30 18:19 opensearch-knn
drwxr-xr-x  2 ubuntu ubuntu 4096 Aug 30 18:19 opensearch-ml
drwxr-xr-x  2 ubuntu ubuntu 4096 Aug 30 18:19 opensearch-notifications
drwxr-xr-x  2 ubuntu ubuntu 4096 Aug 30 18:19 opensearch-notifications-core
drwxr-xr-x  2 ubuntu ubuntu 4096 Aug 30 18:19 opensearch-observability
drwxr-xr-x  2 ubuntu ubuntu 4096 Aug 30 18:19 opensearch-performance-analyzer
drwxr-xr-x  2 ubuntu ubuntu 4096 Aug 30 18:19 opensearch-reports-scheduler
drwxr-xr-x  2 ubuntu ubuntu 4096 Aug 30 18:19 opensearch-sql
drwxr-xr-x  2 ubuntu ubuntu 4096 Sep  7 23:06 repository-s3

[1] https://github.com/opensearch-project/opensearch-plugins/blob/main/CONVENTIONS.md#folders

@mnkugler @dblock is there some background history I am missing? (Why are we removing the recommendations?)

@saratvemulapalli We are only removing the folders verbiage because the recommendations are outdated now that we're shifting to one plugin per repo as per opensearch-project/opensearch-build#2188.

@mnkugler the convention listed here[1] is to help plugin developers name the plugin to reflect how it shows up after they are installed but not how they are structured within the code repository. I hope that makes sense. For example: opensearch-knn shows up as plugins/opensearch-knn.
:~/opensearch-2.2.1$ ls -la plugins/
total 72
drwxr-xr-x 18 ubuntu ubuntu 4096 Sep  7 23:11 .
drwxr-xr-x 11 ubuntu ubuntu 4096 Sep  7 23:10 ..
drwxr-xr-x  2 ubuntu ubuntu 4096 Aug 30 18:19 opensearch-alerting
drwxr-xr-x  2 ubuntu ubuntu 4096 Aug 30 18:19 opensearch-anomaly-detection
drwxr-xr-x  2 ubuntu ubuntu 4096 Aug 30 18:19 opensearch-asynchronous-search
drwxr-xr-x  2 ubuntu ubuntu 4096 Aug 30 18:19 opensearch-cross-cluster-replication
drwxr-xr-x  2 ubuntu ubuntu 4096 Aug 30 18:19 opensearch-geospatial
drwxr-xr-x  2 ubuntu ubuntu 4096 Aug 30 18:19 opensearch-index-management
drwxr-xr-x  2 ubuntu ubuntu 4096 Aug 30 18:19 opensearch-job-scheduler
drwxr-xr-x  3 ubuntu ubuntu 4096 Aug 30 18:19 opensearch-knn
drwxr-xr-x  2 ubuntu ubuntu 4096 Aug 30 18:19 opensearch-ml
drwxr-xr-x  2 ubuntu ubuntu 4096 Aug 30 18:19 opensearch-notifications
drwxr-xr-x  2 ubuntu ubuntu 4096 Aug 30 18:19 opensearch-notifications-core
drwxr-xr-x  2 ubuntu ubuntu 4096 Aug 30 18:19 opensearch-observability
drwxr-xr-x  2 ubuntu ubuntu 4096 Aug 30 18:19 opensearch-performance-analyzer
drwxr-xr-x  2 ubuntu ubuntu 4096 Aug 30 18:19 opensearch-reports-scheduler
drwxr-xr-x  2 ubuntu ubuntu 4096 Aug 30 18:19 opensearch-sql
drwxr-xr-x  2 ubuntu ubuntu 4096 Sep  7 23:06 repository-s3

[1] https://github.com/opensearch-project/opensearch-plugins/blob/main/CONVENTIONS.md#folders

@saratvemulapalli do you know how the folder name is established? My overarching goal is to make sure that all the plugins are following this convention. I had assumed that it is based on the folder structure within each repo. Also, we need to be more specific in the convention verbiage in order to prevent someone else from making this same mistake.

@saratvemulapalli do you know how the folder name is established? My overarching goal is to make sure that all the plugins are following this convention. I had assumed that it is based on the folder structure within each repo.

@mnkugler plugin name is defined by a property[1] which populates plugin-descriptor.properties[2]. This plugin-descriptor.properties file is read by the bin/opensearch-plugin install tool and creates the folder. This blog post is a good read[3]

Also, we need to be more specific in the convention verbiage in order to prevent someone else from making this same mistake.

💯 % I agree with you. Would you like to make the change in this PR?
[1] https://github.com/opensearch-project/anomaly-detection/blob/main/build.gradle#L191
[2] https://github.com/opensearch-project/anomaly-detection/blob/main/src/main/resources/plugin-descriptor.properties#L16
[3] https://opensearch.org/blog/technical-post/2021/12/plugins-intro/

@saratvemulapalli given what you've explained, the folder-related convention is redundant and confusing. This is because the name in plugin-descriptor.properties is all that matters in terms of folder naming.
I think this PR should be accepted, as it removes the potential for confusion.


BAD DISPLAY OF TOOLBAR

This is spyder 5.0.1 on python 3.8.5
My desktop has a 200% enlarge HiDPI setting and I use auto-HiDPI on spyder
On spyder 4.2.5 it is fine.

as for here, the icons cannot display whole. This has not fixed in spyder 4 and 5

Hi @1900011604,
Can you please let me know which version of qt, pyqt are you using in your environment? If you change the HDPI setting the interface change?

qt 5.9.7/pyqt 5.9.2

Can you please create a new environment to run Spyder with conda-forge?
conda create -n my_env
conda activate my_env
conda install spyder=5.0.1 -c conda-forge
spyder

And let me know if you see the same that before

I came here to report the same problem, though I run at standard DPI settings. Either way, I've created that environment and installed conda-forge, and found that the icons now display correctly as compared to my other spyder installation.
Hope that helps

Hi @DeltaMod,
Can you confirm me your current Spyder version?

@steff456
Sure!
Spyder 5.0.0 is the one that currently still has the problem, and that is the one I was using before installing 5.0.1 using conda-forge, which had all toolbar icons aligned properly.
I would have tested also with conda install spyder=5.0.1, but it seems to not yet be in any of the conda repositories.

Thanks for the response, we fixed this problem in 5.0.1 and it is just available in conda-forge channel right now.
I just need to know if the problem persists with high DPI in the latest version.

Once the version is on anaconda and you update, can you please let us know if you continue having this issue?

Closing due to lack of response.

Closing due to lack of response.

Still Spyder 5.0.0 on my miniconda, so I cannot follow up.


Minor: Update gemspec homepage url

Hey !
Just a minor pull request to update the homepage URL in the gemspec file

Thanks, we'll have to fix the CI at some point ;)


Remove optional $rust_class_name argument from glib_wrapper!

This is possible now that Gir is updated.

Was the removal of the optional name handled by gir ? I can't seem to get them removed by regenerating the gtk4-rs crates

https://github.com/gtk-rs/gtk-rs/pull/10 made $rust_class_name optional (and make the class wrapper a generic struct). https://github.com/gtk-rs/gir/pull/983 made gir generate code that doesn't pass this.

Never mind, I had a cached build of gir which caused this. It works fine! thanks

Looks good to me, I'll merge this once gstreamer-rs is updated so we don't end up with something unbuildable for too long

Also fixed gdkx11-sys, see https://github.com/gtk-rs/gir/issues/979


add future-of-programming video

Add future of programming by Bret Victor. This talk changes how you think about programming and even your life.

This is a 💎 !


Upgrade flow to version 0.85

Gymnast types have some usage of types that break in version 0.85.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


doesn't work on mac

rsyncy -av Normal\ SSD waboring@<IP_ADDRESS>:/mnt/plex/backup_stuff
rsync: --info=progress2: unknown option
rsync error: syntax or usage error (code 1) at /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-55/rsync/main.c(1337) [client=2.6.9]

fwiw, I just did a brew install rsync and it now works.
Great interface!

Yes, macOS ships with an old version of rsync from 2006. Glad you got it working!


Visualization problem in SMARTS for the latest version

BUG REPORT
High Level Description
[SMARTS visualization does not work in the latest version, can not see maps and vehicles]
SMARTS version
0.6

Bugfixed with a merge.


Add issue forms

Is your feature request related to a problem? Please describe.
We can have nicer UI for issue creation using issue forms.
Describe the solution you’d like
Something like
https://github.com/ionic-team/ionic-framework/issues/new/choose
It has buttons for redirection and forms to be filled.
Additional context
For more info, see:
https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository
https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms
https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema

By the way, I never used it before. 😅


Add some additional logging around KafkaProducerActor & use a scheduled message instead of function call

Codecov Report

Merging #76 (39f1dc0) into main (b210ffb) will decrease coverage by 0.02%.
The diff coverage is 80.00%.

@@            Coverage Diff             @@
##             main      #76      +/-   ##
==========================================
- Coverage   76.38%   76.36%   -0.03%
==========================================
  Files         157      157
  Lines        2956     2966      +10
  Branches       79       77       -2
==========================================
+ Hits         2258     2265       +7
- Misses        698      701       +3

Impacted Files
Coverage Δ

...ternal/akka/actor/ActorLifecycleManagerActor.scala
76.92% <62.50%> (-4.03%)
:arrow_down:

.../surge/internal/kafka/KafkaProducerActorImpl.scala
84.91% <91.66%> (+0.33%)
:arrow_up:

...a/surge/internal/persistence/PersistentActor.scala
96.02% <0.00%> (-0.67%)
:arrow_down:

Continue to review full report at Codecov.

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


Mount app in  instead of

Semantically more correct 😄

Hey thanks for the thought around this.
Right now, I'm not seeing this as semantically more correct.
If main is...

The main content of the body of a document or application. The main content area consists of content that is directly related to or expands upon the central topic of a document or central functionality of an application.

...then I feel like it's going to be deeper in the doc, surfaced by the app, where the app can control what they point to as the "main content".

The HTML  element represents the main content of  the

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/main
think that <div> was create for generic purpose

The HTML 5.1 Specification is quite clear about the semantic meaning of the <main> element:

The main content area of a document includes content that is unique to that document and excludes content that is repeated across a set of documents such as site navigation links, copyright information, site logos and banners and search forms (unless the document or application’s main function is that of a search form).

I prefer to just use the <body> element with the role attribute set to "application".

@jpickwell good point, close then?

Thanks for the discussion.  Closing for now.


Add new schema collection type and replace all usages of direct mongo collection for schema operations.

This abstraction will give us an ability to use different syntax for Postgres, since schemas are not going to be represented as pure objects, but rather as tables.
Also, cleans up the implementation and makes it more safe to build features on top.
Next stop - move schema api->mongo type conversions directly into MongoSchemaCollection.

Current coverage is 91.35%

Merging #943 into master will increase coverage by +0.05% as of 18a663a

@@            master    #943   diff @@
======================================
  Files           72      73     +1
  Stmts         4301    4324    +23
  Branches       862     863     +1
  Methods          0       0
======================================
+ Hit           3927    3950    +23
  Partial         10      10
  Missed         364     364

Review entire Coverage Diff as of 18a663a

Powered by Codecov. Updated on successful CI builds.


Suddenly malfunctioning driver: Failed to retrieve dnsmasq leases

So this is a solution rather than an issue. However I ran into this issue, without that I have changed anything about my infrastructure. I use this in combination with gitlab-runner and it suddenly failed to start my vms and got stuck on getting an IP.
To the logs it would write something like:
Failed to retrieve dnsmasq lease

Do not have all logs here anymore, however, the solution to this is: downgrade the boot2docker version, by specifiying an older one. I.e. the 17.03. For some reason new boot2docker version fail to boot correctly, probably the docker team changed there a lot of things how boot2docker works recently.
To set this you need to set the kvm-boot2docker-url variable to another iso. I set for example: "kvm-boot2docker-url=https://github.com/boot2docker/boot2docker/releases/download/v17.03.1-ce/boot2docker.iso"
After that everything should work as expected again.

Hope that helps some of you guys stumbling over this and searching for help here.

I'm still getting the error when create new VM with following command:
[cryto@archserver ~]$ docker-machine create -d kvm --kvm-network "docker-machines" --kvm-boot2docker-url=https://github.com/boot2docker/boot2docker/releases/download/v17.03.1-ce/boot2docker.iso machine1
Running pre-create checks...
Creating machine...
(machine1) Boot2Docker URL was explicitly set to "https://github.com/boot2docker/boot2docker/releases/download/v17.03.1-ce/boot2docker.iso" at create time, so Docker Machine cannot upgrade this machine to the latest version.
(machine1) Downloading /home/cryto/.docker/machine/cache/boot2docker.iso from https://github.com/boot2docker/boot2docker/releases/download/v17.03.1-ce/boot2docker.iso...
(machine1) 0%....10%....20%....30%....40%....50%....60%....70%....80%....90%....100%
(machine1) Creating SSH key...
(machine1) Failed to decode dnsmasq lease status: unexpected end of JSON input
(machine1) Failed to decode dnsmasq lease status: unexpected end of JSON input
(machine1) Failed to decode dnsmasq lease status: unexpected end of JSON input
(machine1) Failed to decode dnsmasq lease status: unexpected end of JSON input
(machine1) Failed to decode dnsmasq lease status: unexpected end of JSON input
(machine1) Failed to decode dnsmasq lease status: unexpected end of JSON input
(machine1) Failed to decode dnsmasq lease status: unexpected end of JSON input
(machine1) Failed to decode dnsmasq lease status: unexpected end of JSON input
(machine1) Failed to decode dnsmasq lease status: unexpected end of JSON input
(machine1) Failed to decode dnsmasq lease status: unexpected end of JSON input
(machine1) Failed to decode dnsmasq lease status: unexpected end of JSON input
(machine1) Failed to decode dnsmasq lease status: unexpected end of JSON input
...

@wzrdtales Do you have any idea? I just want to start minishift to learn openshift, but due to the same error while leasing an IP from dnsmasq for the VM so the VM can't start properly --> minishift also fails to start

@tunggad My issue wasn't about minishift. for minishift you can try the minikube kvm2 https://github.com/kubernetes/minikube/blob/master/docs/drivers.md#kvm2-driver

@wzrdtales: I found this issue in Fedora Bugzilla reported back in June 2015: https://bugzilla.redhat.com/show_bug.cgi?id=1228631
It states that libvirt for some reasons from particular version does not use the dnsmasq managed lease database (the .leases files) anymore, that's why for the libvirt-managed networks there is also no .leases file -> no file under /var/lib/libvirt/dnsmasq/docker-machines.leases for docker-machines network -> kvm driver gets the above error
So i wonder, how could the kvm driver of @dhiltgen work for minishift since then?

For the network docker-machines, i also tried to add this following line to /var/lib/libvirt/dnsmasq/docker-machines.conf (the configuration file of the dnsmasq instance created by libvirt for the network)
dhcp-leasefile=/var/lib/libvirt/dnsmasq/docker-machines.leases
But it does not make any effect, still get the error when starting minishift

docker-machine create -d kvm user
Running pre-create checks...
Creating machine...
(user) Copying /root/.docker/machine/cache/boot2docker.iso to /root/.docker/machine/machines/user/boot2docker.iso...
(user) Creating SSH key...
(user) Unable to determine VM's IP address, did it fail to boot?
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
no any response，au ,

hello!
I had this issue and fixed it by switching to the virtio network driver. It appears that the latest boot2docker images no longer support the rtl8139 driver, which seems to be the default on my libvirt installation.

I worked around this by shutting down the machine in virt-manager while it was waiting for SSH to appear, changing both network drivers to virtio, and then starting it up again. You have to do it somewhat quickly before it times out.
You may also be able to fix this by applying a diff like
diff --git a/kvm.go b/kvm.go
index 1e6c891..90566b4 100644
--- a/kvm.go
+++ b/kvm.go
@@ -59,9 +59,11 @@ const (
       <listen type='address' address='<IP_ADDRESS>'/>
     </graphics>
     <interface type='network'>
+      <model type='virtio'/>
       <source network='{{.Network}}'/>
     </interface>
     <interface type='network'>
+      <model type='virtio'/>
       <source network='{{.PrivateNetwork}}'/>
     </interface>
   </devices>

@wzrdtales: I submitted PR #74 to address this, but it looks similar/overlapping PRs have been submitted in the past. But I note that Issue #67 strongly implies that @dhiltgen no longer has time to support this project. I also note (from discussion on and related to that issue) that this work may eventually be merged into another project.
In the mean time, since I'm still using this, I made a release in my own fork. It supports specification of virtio as the NIC model and, thus supports recent versions of boot2docker. Feel free to use.

Man thanks so much for your work. Happy to finally be using docker-machine for testing (have been watching this for months!)


Add iframe support.

Not sure if you'll want to include this in snabbdom or not but figured I'd throw it out there. These changes allow proper patching of <iframe> elements. This would allow one to do something like:
var vnode0 = document.createElement('iframe');
document.body.appendChild(vnode0);
var vnode1 = h('iframe', [
    h('ul', [
        h('li', 'Thing 1'),
        h('li', 'Thing 2')
    ]),
    h('span', 'Another thing.')
]);
patch(vnode0, vnode1);
patch(vnode1, h('iframe', [
    h('ul', [
        h('li', 'Thing 0'),
        h('li', 'Thing 1'),
        h('li', 'Thing 2')
    ])
]));

And the childNodes will be added/removed from the contentDocument.body of the iframe when the iframe is fully ready/loaded.
In our application, we're using iframes to sandbox certain content, which is why I'm hoping to be able to perform patches on iframes. The main issue with trying to patch iframes is that appending a child to the iframe doesn't do what one would expect - we really should append children to the body of the iframe, so that they appear on the page. The basic gist of this PR is that I've added a function for performing abstracted DOM operations. It performs differently when applied to an iframe vs. a "normal" element. For an iframe it waits until the iframe is ready/loaded and then performs the DOM operation specified on the contentDocument.body of the iframe. I wrote the function as small as I could manage so as to not bloat the snabbdom codebase (which also means that it's not as clear/obvious as it could be, although I think it's still easy enough to follow). I also duplicated most of the core tests to verify that they work when patching <iframe> elements.
I'd tried adding support for iframes as a snabbdom plugin but the only workable solution seems to be to perform different DOM operations for the special case of iframes.
Let me know what you think! Thanks!

I'm going to close this and re-implement using the new dom api impl added by #80.


[jenkins]: CDN publishing for v2 tag

User story

As a dotcom developer:

I need to:

have automated publishing for v2 CDN

so that I can:

keep v1 CDN publishing intact for the React package.
Additional information
Create new automated publishing for CDN artifacts for v2.
Acceptance criteria

[ ] automated Jenkins job to publish CDN artifacts for v2
[ ] v1/v2 should have respective canary/next directories

Hey team! Please add your planning poker estimate with ZenHub @annawen1 @ariellalgilmore @emyarod @IgnacioBecerra


is there a way to collapse labels/rows in the abundance heatmaps?

These are very large... interactive collapsing/expansion could be a nice feature. Actually, heatmaps could use a lot of work.

The heatmaps just aren't that instructive anymore, so I think this issue has become so low-priority that it should just be closed.


Improve integration test with user cleanup

PR Summary
Improve integration test with user cleanup
PR Checklist

[ ] Write Help
[ ] Write Unit Test
[ ] Update CHANGELOG.md
(not needed)

can you update your PR I merged #259 and run the build again?

@SebastianSchuetze Done

Was merged but did not auto close.

Might have to roll this back.
Describing VSTeam Integration Tests
[-] Error occurred in Describe block 236ms
ParameterBindingException: A parameter cannot be found that matches parameter name 'Email'.
at , /Users/runner/runners/2.165.0/work/1/Test/integration/test/010_projects.Tests.ps1: line 65
at Invoke-Blocks, /Users/runner/.local/share/powershell/Modules/Pester/4.3.1/Functions/SetupTeardown.ps1: line 140
at Invoke-TestGroupTeardownBlocks, /Users/runner/.local/share/powershell/Modules/Pester/4.3.1/Functions/SetupTeardown.ps1: line 130
at DescribeImpl, /Users/runner/.local/share/powershell/Modules/Pester/4.3.1/Functions/Describe.ps1: line 166

@DarqueWarrior I've seen it, yes. Will fix that tomorrow. Any way I can start integration tests myself?

Yes they are just pester tests. The environment vars that are needed to be set are described at the top of the file. I will also update the contribution file to explain how to run them. But you must be very careful. They are destructive! You need to have a test org to use. Everything in them will be deleted!


travis integration

pip install and try to run the top-level binary with multiple python versions.
first run: https://travis-ci.org/chanzuckerberg/starfish/builds/287249490

Is there an advantage to creating a new starfish.py rather than installing with setup or pip and using the entry_point?

I think the primary advantage (when I wrote this) is that it avoids the ambiguity of which starfish you're running.  But now that I think about it, it's not even clear that this script accomplishes that.  I'll revert it back to the way it was.

updated.


Did your program really work?

Hi,
I have a doubt.  I tried to use your program with all the parameters, but it always shows "Not yet handled: "
Could you put a practical example of how to use it.  And thanks again!

Thanks for the feedback.  Can you send an example of what you tried? (switch URLs and such for privacy) That might help me figure out what you are hitting and how it can be handled better.

Just solve it!
The problem is it reads '' as the function to do.  Maybe you should try to change the example on the webpage because could be troublesome to understand it.
Example:
pgdiff -U dbuser -H localhost -D refDB  -O "sslmode=disable"
-u dbuser -h localhost -d compDB -o "sslmode=disable"
TABLE
What I did:
pgdiff TABLE -U dbuser -H localhost -D refDB  -O "sslmode=disable"
-u dbuser -h localhost -d compDB -o "sslmode=disable"
'TABLE' change the position. Maybe for a person with experience could be nothing, but for a newbie like me took a little of time to figure out.
Thank you again for this program! really usefull and also thanks for your quick reply.


OLH-1896-cache-our-frontends-static-assets-in-cloudfront

Proposed changes
OLH-1896 Cloud front static caching on /assets/* and /public/*
What changed
Addition of cache behaviours, enabling of caching static content in /assets/* and /public/*
Why did it change
Improve performance of front end content loading
Related links
N/A
Checklists
N/A
Environment variables or secrets

[x] No environment variables or secrets were added or changed

Testing

Validated deployment in dev successfully updates cloud front config

It might be worth waiting until this PR is merged https://github.com/govuk-one-login/di-account-management-backend/pull/260 which changes the flag we're using

@latifcabinetoffice It might be worth waiting until this PR is merged govuk-one-login/di-account-management-backend#260 which changes the flag from IsNotDevelopment to IsNotDevelopmentOrDemo

@aenciso Do you know if that change will be happening in the front end as well?


invalid templatetag 'oneall'

EDIT:
python 2.7.6
Django 1.8.12
django-oneall 1.1.2
I believe the culprit is an import error:
django_oneall/templatetags/oneall.py
from ..models import User, SocialUserCache

and User is not defined in models.py
I remedied this by adding:
from django.contrib.auth import get_user_model

and then adding the call to get_user_model() in oneall_social_login() as so:
@register.inclusion_tag('oneall/social_login.html')
def oneall_social_login(user=None, **kwargs):
   """
   This tag displays the Social Login or Social Link widget.

   Don't forget to include ``{% oneall_header %}``!

   :param user: Logged in user for Social Link mode; if not provided, it's Social Login mode.
   :param kwargs: Widget options as documented by OneAll. For example, ``grid_sizes=[8,5]``
   """
   User = get_user_model()
   if isinstance(user, User):

While this works, and I'd be happy to issue a pull request, I imagine you might have a better way of fixing this

I've added PR #17 which fixes this

Version 1.2 published to PyPI includes this fix.


pks check does not fail on architecture violations

Here's an example:
https://github.com/professor/packs-architecture-violation
pks update successfully generates this package_todo.yml:
packs/domain_pack:
  "::Domain":
    violations:
    - architecture
    - privacy
    files:
    - packs/utility_pack/app/models/utility.rb

However, pks check reports No violations detected! when enforce_architecture: strict
bin/packwerk check and bin/packwerk validate both correctly fail.

Thanks @professor for the report!
I cloned the example repo but wasn't able to reproduce. Here's what I got:
~/workspace/packs-architecture-violation - main $ ../packs/target/release/packs check
thread 'main' panicked at 'No root pack found. First double check a root pack exists (a package.yml file in the application root). Secondly, double check your packwerk.yml `package_paths` includes the root pack by using command packs list-packs.', src/packs/pack_set.rs:60:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

~/workspace/packs-architecture-violation - main $ touch package.yml
 ?
~/workspace/packs-architecture-violation - main ? $ ../packs/target/release/packs check
packs/utility_pack/app/models/utility.rb:3:4
Architecture violation: `::Domain` belongs to `packs/domain_pack` (whose layer is `domain`) cannot be accessed from `packs/utility_pack` (whose layer is `utility`)

packs/utility_pack/app/models/utility.rb:3:4
Privacy violation: `::Domain` is private to `packs/domain_pack`, but referenced from `packs/utility_pack`

2 violation(s) detected:
Error: "Packwerk check failed"

Thanks. I believe the problem was we were using too old of a version of pks -- I'm closing this issue for now.

Cool let me know if anything else comes up!


Rework the documentation based on the renaming of the project

Toward #136
@takluyver I just noticed #152 (🤦🏽) and this has a few overlapping changes with that.

Thanks! No worries about the conflict with #152; I'll fix them once this is in.

@takluyver A gentle nudge for a re-review. :)

On the basis that:

we can address any potential feedback around the documentation in a follow up
things around reaching the pypa/pep517 are a bit confusing without this change
this is a significant-enough improvement to the docs overall
it's easier to ask for forgiveness rather than permission

I'm gonna go ahead and merge this without waiting on a re-review. If someone reckons that might be overstepping or would otherwise prefer that I wait in the future, please let me know!

Thanks Pradyun, and sorry I didn't get around to reviewing it again - I'm happy, in any case.


feat(@embark/blockchain): Restart Ethereum via command

Add support for service blockchain on/off in the console.
Add service <process> on/off command for each process started by Embark, ie service blockchain on/off and service whisper on/off.
Commands added
service blockchain off - Kills the blockchain process, stops the web3 provider, and shuts down the proxy (if used). In the case of embark blockchain, the entire process is exited.
service blockchain on - Starts the blockchain process as a child process of the main embark process then starts the web3 provider. This happens regardless of whether or not it was initially started with embark blockchain (see known issues).
Known issues

If the blockchain process was started with embark blockchain, and then the blockchain process is killed with the service blockchain off command, when the blockchain process is restarted with service blockchain on, it will be restarted as a child process of the main embark process. It may be possible to allow for the blockchain process to be restarted in the same process it was originally started in, however this will take more development effort and can be handled in a different PR.
Parity has not been tested as it is currently not working in the master branch.
This PR adds a generic registration of commands for each process, ie service whisper on/off, however the only supported command is the service blockchain on/off command. Further support for other commands can be handled in separate PRs.

Stupid question: how do the process logs handle this?


Detangle unittests to reference helpers directly

Also moved some of the functions to local files and deleted a few that are no longer needed.

The tests passed locally so i thought this should be ok.. But i will see whats going on.. Basically in my big PRs i am getting completely confused when fixing merge conflicts which import i am suppose to use for unittests that i am adding as there are so many ways to reference say TestServerHost

But i will see whats going on.

Basically, the code might work under a bundler, but if we are unbundled (--bundle=false), things can break because the cycles start to matter there. This is the main reason why we need to untangle things, but we have to make it work in both scenarios.
This is the nightmare I've been dealing with and why I gave up on direct imports for the first iteration of the modules change. It's going to be fun to untangle this and make our code a DAG.

This LGTM but I know @andrewbranch is working on stuff which modifies a lot of unittests, so he might want to look and see.

My upcoming changes are mostly just going to touch trace baselines. Thanks for the heads up though!


consult on librealsense2 projection API

Hi Sergey, I noticed in this version of librealsense, the projection API (available in previous version (https://github.com/IntelRealSense/librealsense/blob/v1.12.1/doc/projection.md)) disappeared. Now to do projection, what's your suggestion? Is there any hardware specific projection for D400 model, or can we just use the common one defined in pinhole_camera_model.cpp::PinholeCameraModel::project3dToPixel()? Thanks.

Required Info

Camera Model
D400

Firmware Version
irrelevant

Operating System & Version
irrelevant

Kernel Version (Linux Only)
irrelevant

I just found this was renamed to "rs2_project_point_to_pixel". Closing, thanks!


MVP-276: Component docs

🎯 Summary

MVP-276

https://dev.developer.gov.bc.ca/docs/default/component/citz-imb-sso-css-api-npm-package/
🔰 Checklist

[x] I have read and agree with the following checklist and am following the guidelines in our Code of Conduct document.

I have performed a self-review of my code.
I have commented my code, particularly in hard-to-understand areas.
I have made corresponding changes to the documentation where required.
I have tested my changes to the best of my ability.
I have consulted with the team if introducing a new dependency.
My changes generate no new warnings.

For all the spots that have this can we consider using a note block for the "The Name column starting with * means the prop is required"
Also for these I made the note to change the phrasing on all of them but should we also make them note blocks?

Yes I think you're right, I'll try that out


API doesn't report back changes

Hi there,
Every time a request is made, the response returned has the "changed" filed always set to false:
        "changed": false,
        "connection": "close",
        "content_type": "application/json",
        "cookies": {},
...

This behavior makes nearly impossible to detect whether a change was made or not, and the roles end up always being wrongly idempotent.
I'm using firmware v. WC_16_07_0005.

What module are you experiencing this with? Can you provide the task you're using in the playbook?

Sure,
changing the DNS:
- name: Configure DNS for ArubaOS Switch
  uri:
    url: "http://{{ hostvars[inventory_hostname].ansible_host }}/rest/v4/dns"
    method: PUT
    headers:
       Cookie: '{{ switch_session.json.cookie }}'
    body_format: json
    body: {"dns_config_mode": "DCM_MANUAL", "server_1": {"version":"IAV_IP_V4", "octets": "<IP_ADDRESS>" }, "dns_domain_names": ["dnsname.com"] }
    validate_certs: no
    status_code: 200
  register: result
- debug: var=result

The same happens trying to set the hostname:
- name: Aruba AOS-S Change Hostname
  uri:
    url: "http://{{ hostvars[inventory_hostname].ansible_host  }}/rest/v4/system"
    method: PUT
    headers:
      cookie: '{{ switch_session.json.cookie }}'
    body: {"name": "dasdsai"}
    body_format: json
    validate_certs: no
    status_code: 200
  register: system_data
- debug: var=system_data

Notice that the changes are applied, therefore the "changed" response is always false.

Those modules are using Ansible's URI module to send raw REST commands. For the modules we've created that include idempotency checks I would recommend cloning this repo and installing our modules: https://github.com/aruba/aruba-ansible-modules
There you should be able to get the results you're looking for! I'm currently working on drastically updating this repo, in the update I'll be modifying the Wiki and the workflows as well as update documentation to point to our updated Aruba Switching Modules repo. Apologies for any confusion this might have caused!

Awesome,
Thank you very much, @tchiapuziowong.


Question

First of all Thank You for sharing this repo, this is the most complete koa stater I could find.
Can I skip redis setup until deployment ?

One more question I used MongoDB and kind of new to MySQL.
How do I create the required MySQL databases?

Hello - thanks for checking out the repo!
As far as disabling redis - I would just comment out lines 20-34 of ./src/index.js. That will disable it so you can worry about it later.
Well, what I suggest doing for the database support is to just use the included docker configuration instance.
To use that, first make sure you have docker installed on your system. Docker is really cool because it lets you set up separate little "worlds" for each of your apps.
Then, because I have the config already setup in this project - you just need to run docker-compose up -d --build in this repo's root to get the docker backend running. This backend contains the MySQL instance for local development in this case. To stop the containers, just run docker-compose down and it will shut them down. You'll want to do that at the end of your coding sessions before you commit or anything.
So to summarize - doing all this will basically create a real MySQL instance on your machine - although it's kinda running in a virtual machine of course technically - but that doesn't matter.
This repo is already set up to work with this instance out of the box. You'll have to create and .env file (just duplicate and rename the already existing ./example.env file in the repo to start) which will expose certain variables to the ./knexfile.js which in turn connects to the db. You can read more about this in the README.md.
How about you give that a shot and let me know how it goes.

Thank you for the response, so MySql databases are created automatically with docker?

Yea when you run the command I mentioned, docker will stand up containers. In my config, one of those containers is a MySQL database.

cool also new to Docker so to rename the db I just go to the docker configuration files.
Thank you sir.

Well to rename the database you need to edit the name in the configuration files, yes, but also when viewing the actual database through an MySQL viewer like Sequel Pro, that's where you would need to change the name as well.
For now, as you get the environment set up, I'd just use the existing name so you can make sure you can get the app up and running on your machine.


not validate the integration

Describe the bug
is there a problem with the integration? today it stopped working and does not validate the connection from my cell phone in amazon
Screenshots

System details

Home-assistant (2021.1.5):
Hassio (2021.01.7):

Logs
Logger: homeassistant
Source: runner.py:99
First occurred: 22:21:18 (2 occurrences)
Last logged: 22:21:18
Error doing job: Unclosed client session
Error doing job: Unclosed connector

Enable 2FA.

Enable 2FA.


@alloy => Add expanded code, and css fixes for the medium sized layouts with br…

Allows you to define a code block that can expand larger than the single column.

Yay, thanks!


Changed to newer, simpler server construction interface

This replaces the existing two-phase server construction with creating a server object and then attaching service/implementation pairs to it. Also changes start to listen, because that more clearly indicates what it does.
This resolves #2456. With the new change, it also resolves #2465.

+1
On Wed, Jul 15, 2015, 5:07 PM Michael Lumish<EMAIL_ADDRESS>wrote:

This replaces the existing two-phase server construction with creating a
server object and then attaching service/implementation pairs to it. Also
changes start to listen, because that more clearly indicates what it does.
This resolves #2456 https://github.com/grpc/grpc/issues/2456.
You can view, comment on, or merge this pull request online at:
https://github.com/grpc/grpc/pull/2464
Commit Summary

Changed to newer, simpler server construction interface

File Changes

M src/node/README.md
https://github.com/grpc/grpc/pull/2464/files#diff-0 (4)
M src/node/examples/math_server.js
https://github.com/grpc/grpc/pull/2464/files#diff-1 (18)
M src/node/examples/route_guide_server.js
https://github.com/grpc/grpc/pull/2464/files#diff-2 (16)
M src/node/examples/stock_server.js
https://github.com/grpc/grpc/pull/2464/files#diff-3 (15)
M src/node/index.js
https://github.com/grpc/grpc/pull/2464/files#diff-4 (6)
M src/node/interop/interop_server.js
https://github.com/grpc/grpc/pull/2464/files#diff-5 (20)
M src/node/src/server.js
https://github.com/grpc/grpc/pull/2464/files#diff-6 (183)
M src/node/test/health_test.js
https://github.com/grpc/grpc/pull/2464/files#diff-7 (9)
M src/node/test/interop_sanity_test.js
https://github.com/grpc/grpc/pull/2464/files#diff-8 (2)
M src/node/test/math_client_test.js
https://github.com/grpc/grpc/pull/2464/files#diff-9 (2)
M src/node/test/surface_test.js
https://github.com/grpc/grpc/pull/2464/files#diff-10 (192)

Patch Links:

https://github.com/grpc/grpc/pull/2464.patch
https://github.com/grpc/grpc/pull/2464.diff

—
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/pull/2464.

I added the change that replaces a server-wide metadata handlers with the ability for individual handers to send metadata.

Awesome :+1:


Need to test if notebooks are being saved correctly to postgres db

Hello Team,
We installed postgres and have write access to postgresql://jupyteruser@localhost/pgcontents db. We created pgcontents database in postgres and started our jupyter server with the following configurations:
from pgcontents import PostgresContentsManager c = get_config() c.NotebookApp.contents_manager_class = PostgresContentsManager c.PostgresContentsManager.db_url = 'postgresql://jupyteruser@localhost/pgcontents' c.PostgresContentsManager.user_id = getpass.getuser() c.PostgresContentsManager.max_file_size_bytes = 1000000
Now notebook server is started successfully , but how do we make sure that our notebooks are being saved to postgres. I tried accessing my postgres pgcontents db and all I see there is
pgcontents=# \dt
List of relations
Schema |      Name       | Type  |    Owner
--------+-----------------+-------+-------------
public | alembic_version | table | jupyteruser
(1 row)
Can some one help out in please testing where in postgres does notebooks get stored and how and where can we test it?

@ayushiagarwal it sounds from your other issue like you may have figured this out, but pgcontents stores notebooks in the pgcontents schema of your postgres database.  \dt in psql only shows you the default schema.  You can see all the schemas available with \dn:
pgcontents_testing=# \dt
               List of relations
 Schema |      Name       | Type  |   Owner
--------+-----------------+-------+------------
 public | alembic_version | table | ssanderson
(1 row)

pgcontents_testing=# \dn
     List of schemas
    Name    |   Owner
------------+------------
 pgcontents | ssanderson
 public     | postgres
(2 rows)

You can see the tables in the pgcontents schema like this:
pgcontents_testing=# \dt pgcontents.*
                  List of relations
   Schema   |        Name        | Type  |   Owner
------------+--------------------+-------+------------
 pgcontents | directories        | table | ssanderson
 pgcontents | files              | table | ssanderson
 pgcontents | remote_checkpoints | table | ssanderson
 pgcontents | users              | table | ssanderson
(4 rows)

and you can query by doing something like:
pgcontents=# select name, user_id, parent_name, created_at from pgcontents.files limit 1;
          name          |       user_id       | parent_name |        created_at
------------------------+---------------------+-------------+---------------------------
 Awesome Notebook.ipynb | my_awesome_username | /My Folder/ | 2017-08-24 09:13:45.33197


Default value is not literal

Reporting a bug

[x] I am using the latest released version of Numba (most recent is visible in
the change log (https://github.com/numba/numba/blob/master/CHANGE_LOG).
[x] I have included below a minimal working reproducer (if you are unsure how
to write one see http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports).

import numba

def inner(a):
    pass

@numba.extending.overload(inner)
def inner_overload(a):
    if not isinstance(a, numba.types.Literal):
        return None

    def impl(a):
        print(a)

    return impl

@numba.extending.register_jitable
def my_func(a='a'):
    inner(a)

@numba.njit()
def f():
    my_func()

f()

Output:
Traceback (most recent call last):
  File "./test.py", line 24, in <module>
    f()
  File ".../numba/core/dispatcher.py", line 401, in _compile_for_args
    error_rewrite(e, 'typing')
  File ".../numba/core/dispatcher.py", line 344, in error_rewrite
    reraise(type(e), e, None)
  File ".../numba/core/utils.py", line 79, in reraise
    raise value.with_traceback(tb)
numba.core.errors.TypingError: Failed in nopython mode pipeline (step: nopython frontend)
Invalid use of Function(<function my_func at 0x7ff222b79f70>) with argument(s) of type(s): ()
 * parameterized
In definition 0:
    TypingError: Failed in nopython mode pipeline (step: nopython frontend)
Invalid use of Function(<function inner at 0x7ff23f0ab700>) with argument(s) of type(s): (unicode_type)
 * parameterized
In definition 0:
    All templates rejected with literals.
In definition 1:
    All templates rejected without literals.
This error is usually caused by passing an argument of a type that is unsupported by the named function.

Version:
@numba.njit()
def f_1():
    my_func('a')

Works fine.
Numba version is 0a8b8118987944e82603bfa3c90d87b80ffe5d99

Confirmed issue. Same problem if using njit instead of register_jitable.


Bulk insert

Hi,
I would like to know if is there any examples of bulk inserts using go-elasticsearch.
I'm not being able to find the right methods.
Regards.

Hello,
see the Bulk API implementation in esapi/api.bulk.go for the base API, and the recently added esutil.BulkIndexer helper.
There are comprehensive examples for both in _examples/bulk.

@karmi Thank you very much for the information.
Do you happen to know if it's possible to bulk index to multiple indexes on the same call?

Yes it is — just set the index property for the individual operation.


Excluding files/folders

Would be great to have the option in the configuration file to ignore files/folders.
Either:

in the same way as Sublime SFTP (http://wbond.net/sublime_packages/sftp/settings#setting-ignore_regexes)
parse the .gitattributes file for lines ending in export-ignore (https://feeding.cloud.geek.nz/posts/excluding-files-from-git-archive/) - these files/folders are excluded from git archive

Duplicate to #36


Bump versions for 042.0 (core 0.56.0) release

You can try these changes at https://cadlplayground.z22.web.core.windows.net/typespec-azure/prs/794/
Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/typespec-azure/prs/794/


[Bug]: Clicking on Show Bindings for a JS Object/Widgets/Queries does not display the bindings menu

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When we click on the Show Bindings for a JS Object, nothing comes up. Ideally a menu showing bindings related to the JS Object should come up.
Steps To Reproduce

Create a JS Object.
Click on the three dots next to the JS Object name.
Click on the Show Bindings option.

Public Sample App
No response
Environment
Production
Severity
High (Blocker to building or releasing)
Issue video log
https://jam.dev/c/bbd2d3eb-253f-49ba-b292-7fbf31fe1c5a
Version
Cloud

The issue has been fixed. Verified it on release.
P.S: A very minor UI inconsistency: The borders of the show bindings menu & the entity explorer overlap. This was not the case in the latest tagged version. For more details please watch the below video:
https://jam.dev/c/05c71f7f-a076-414a-97b1-1f41ef3775b9
Cc: @hetunandu , @AmanAgarwal041


Error when transcode webm to mp4 using ffmpeg.wasm

I have this webm file recorded using MediaRecorder in Chrome.
https://cdn.hibervr.com/video/loop3.webm
When I try to transcode it using ffmpeg.wasm, https://github.com/ffmpegwasm/ffmpeg.wasm
Using this codepen, taken from the official site:
https://codepen.io/jeromewu/pen/NWWaMeY
I get this error in the console and the file isn't playable.
net::ERR_REQUEST_RANGE_NOT_SATISFIABLE

Any clues about how to fix it?
It works using other webm files like this.
https://phoboslab.org/files/ffmpeg-mt-fixed/jumparound.webm
Desktop (please complete the following information):

OS: Mac OSX
Browser Chrome and Firefox
Chrome Version 88.0.4324.182

I also have posted this here
https://stackoverflow.com/questions/66246072/error-when-transcode-webm-to-mp4-using-ffmpeg-wasm

https://cdn.hibervr.com/video/loop3.webm
This example is an old VP8 encoded video.
https://phoboslab.org/files/ffmpeg-mt-fixed/jumparound.webm
This example is a more modern VP9 encoded video.
So please try a different VP8 file and see if that works. Maybe you can find something old like that anywhere or encode it by yourself. If that also doesn't work then there's something wrong with decoding VP8.


Bump UI in the internal cluster

For https://issues.redhat.com/browse/HAC-5493

/lgtm
/approve

/retest-required


[ALLUXIO-2584] Clean up Javadoc in DependencyDoesNotExistException

[ALLUXIO-2584] Clean up Javadoc in DependencyDoesNotExistException
fix the typo in the word exception on line 17.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/15094/
Test PASSed.

Sorry @Persimmon96, it looks like this ticket was fixed already. I'll close the JIRA and this PR


L2R or R2L raster is currently broken

L2R or R2L raster op is completely screwy (as is second half of cross hatch).
Have not tested image but probably similar.
I tried to upload a video but it wouldn't upload. So here is my attempt to describe Rastering a circle at very slow speed and with a step of 100 (so step should be visibly obvious).
Should start with tiny burn on first sweep - but instead does a 1cm-1.5cm burn. Then a series of twitches in both directions horizontally and a long move vertically, then burns a similar long burn in the opposite direction without any step at all.

https://user-images.githubusercontent.com/1036922/158495771-2c1993db-7b8b-47cb-b267-a2f707cdce04.mp4

It seems to produce a more correct result when "Alternative Rastering" is checked. I thought maybe it was an issue with too large of a step size -- indeed it seems that large step sizes cause greater incorrect vertical offsets... but seem to have no bearing on the complete failure shown in video. That is purely having "Alternative Rastering" unchecked.

Also, I noticed that none of my tests actually started where my head was and went -x before attempting raster.

In case it matters, all of my tests so far were done with Optimize checked. That is Rapid Moves, and Burn Complete Subpaths. I'd have to redo all the tests with optimize off if anyone were interested.

Hm. That seems like it doesn't work.

The aptly numbered #911 should correct this.

Fixed in 0.7.6000


json_diff: path dependency to /Users/srawlins/dart/json_diff

Oops?

Thanks Kevin; json_diff is published now.


How to upload to gitHub artifact

I want to publish the artifact to gitHub for each pr or commit so that it can be downloaded for testing, and publish the tag to github release. Is there any solution to achieve this? It is necessary to ensure that the release and artifact use the same compilation steps, so it would be useful to add a parameter artifact: true

Do you mean you want to do something like this?
(Now that outputs have been implemented, getting the filename is a bit easier than when that code was written.)

It's easier to add a field than using some magic bash script, and this script doesn't work on Windows.
upload-rust-binary-action seems to have to read the tag information, so it can't be executed on every commit
https://github.com/ahaoboy/ansi2/actions/runs/11343461783

this script doesn't work on Windows

Try shell: bash or set shell globally.

upload-rust-binary-action seems to have to read the tag information, so it can't be executed on every commit

It also works for events other than tags and releases by specifying the ref option as described here.
If you do not need to upload files for a release, you can use the dry-run option like this.
(The workflow I linked above is the one I actually use on projects like cargo-llvm-cov to make sure the build and archive steps of the release workflow works correctly at PR/push/scheduled job: https://github.com/taiki-e/cargo-llvm-cov/actions/runs/11338153284/job/31531038154)

Thanks for your help, it's a bit tedious but at least it works. It would be nice if it could be built-in.


More null-aware operators

It would be nice to have a shorthand for this:
val == null ? null : method(val);

This is the opposite of val ?? method(val) which only returns method(val) when val is null.
We love the null friendly operators so it bugs me a lot that I can't do this. Normally you would not need it if method can do ?. everywhere but sometimes the shorthand helps. For instance, some operators are not null friendly:
double convertFromMicro(Int64 value) =>
    value == null ? null : value.toDouble() / _microDollars;

value?.toDouble() / _microDollars would blow up if value is null.

It is a pattern that occurs reasonably often. It's worth considering.
It's a "null guard" rather than a "null replacement", similar to the use of the JavaScript && operator in x && x.foo() (which is what x.?foo() does in Dart) and x && foo(x) (which is the case that Dart doesn't have a shorthand for).
"All the good operators are taken!" :)

Fwiw, we are considering shortcutting all following member calls, when the first ?. fails.
That is o?.foo.bar would be correct (and not require a ?. for the second . anymore). In that case we should just continue doing this for operators too, and your example could be simplified:
double convertFromMicro(Int64 value) => value?.toDouble() / _microDollars;

It wouldn't work for the direct operator case, though: value / 499.

I personally don't think that extending the reach of the ?. operation to surrounding operators is viable.
It's possible, defining it so that any member called on the result is also ignored (which ends at the point where you use the value itself for assignment or as a function parameter), but I think it will be too confusing.
I can't decide, of the top of my head, what all of the following would mean:
*1 + x?.foo
*x?.foo + 1
*++x?.foo
*-x?.foo
*x?.foo == 42

etc.

I would also vote against handling this via extending the reach of ?. operator. I believe it would create readability issues and might lead to more problems than it solves. I like the current explicit way of null guarding.
For instance, people might get comfortable and start writing formulas like ((val?.toDouble() / 42) * 170).toFloor(). It isn't clear to me at all how far ?. reaches. I would rather have an explicit piece of code that says when val is null, return null.
My original thought was to use the bang op in conjunction with ?? which universally means 'not'. Basically, if LHS null then DO NOT eval the RHS.
val !?? ((val.toDouble() / 42) * 170).toFloor()
We are getting dangerously close to emojis :-).

Also see https://github.com/dart-lang/language/issues/360.

My original thought was to use the bang op in conjunction with ?? which universally means 'not'. Basically, if LHS null then DO NOT eval the RHS.
val !?? ((val.toDouble() / 42) * 170).toFloor()
We are getting dangerously close to emojis :-).

Or ??!, and Dart could pretend to have C trigraphs. ;)
Anyway, this probably doesn't need more data points for motivation, but an inverted ?? operator would address https://stackoverflow.com/questions/67136658/.

The idea to add a function similar to Iterable's map((val)=>expr) - but acting on single values - has been already suggested before on these pages (I don't remember how many times). With a function like this (let's call it xmap just for the sake of example) the expression could be written as
value?.toDouble()?.xmap((v)=> v / _microDollars)'

An "xargs"/"applyTo" like extension function can work, but it means introducing a closure, which is heavyweight in both syntax and execution overhead.
It does solve the issue of delimiting the code affected by the check, something most proposals fail to do, and which I think is essential to making the feature practically useful. The ?. works because users understand how far it reaches (they're probably slightly wrong, but equally likely they'll never notice).
It works today, which is awesome compared to all other suggestions so far. 👍
Naming. Is. Hard. (So is punctuation, but at least this avoids using new operators).
Maybe call it to: y?.to(print). It's such a generic operation, and one that shouldn't be too verbose, so the name should be short and general.

Is it possible to inline "simple" closures in cases where the compiler can prove the closure doesn't escape?

Most likely we can get inlining most of the time. We're calling a static function (extension methods are static functions) so that's ripe for inlining, and then it should be fairly simple to see that the function literal can be inlined too.
It's just not something that can be promised in general since the language doesn't require it. Some compilers might optimize for size over speed, and inlining can cause code duplication (it won't here, but the compiler probably needs to try before it can see whether it blows up or not).


Prevent charts overlaying each other when a module is "standing out" in the admin dashboard

Just a general point: the admin & dashboard code aren't API code per se, and should perhaps be removed from the API to ensure better separation of concerns, to keep the API code being just about the API and the rest of the code as API clients. Also it would prevent the API itself exposing a web interface, ie an attack vector. This is obviously made more difficult by django currently making it effortless to have an admin front-end, but not the best design.


Where is the dockerfile for the base image...

...referenced at https://github.com/fsprojects/docker-fsharp/blob/master/10.6.0/netcore/Dockerfile#L1
?
Thanks!

But why? It doesn't need mono, right?


REGRESSION: The ypbind service must not be running

This audit used to work

name: V-38604 Medium  The ypbind service must not be running
service: name=ypbind state=stopped enabled=no
register: ypbind_test
when: ypbind_test.msg is defined and "'FAIL' not in ypbind_test.msg"
tags: [ 'cat2' , 'V-38604' , 'insecure_services' , 'ypbind' ]

now the below fails when ypbind is not there..

name: "MEDIUM | V-38604 | AUDIT | The ypbind service must not be running."
command: chkconfig "ypbind" --list
changed_when: no
ignore_errors: yes
always_run: yes
register: ypbind_service_audit
tags:
- medium
- V-38604
- patch
- cat2
- ypbind
- services

@bbaassssiiee Did you run the preliminary tasks (-t prelim_tasks)? One of the tasks is to enumerate services on the system. I added a conditonal statement to the task to only run if ypbind is a listed service on the system, which was missing from the tasks before. These tasks will fail if preliminary tasks aren't run since the sysv_services is undefined.

TASK: [RHEL6-STIG | PRELIM | List SysV services] ******************************
<<IP_ADDRESS>> REMOTE_MODULE command chkconfig --list | sed '/^$/ d ; /xinetd based services:/ d ; /^ / d' | awk '{print $1}' #USE_SHELL
ok: [web] => {"changed": false, "cmd": "chkconfig --list | sed '/^$/ d ; /xinetd based services:/ d ; /^\t/ d' | awk '{print $1}'", "delta": "0:00:00.033213", "end": "2016-05-11 19:53:39.994963", "rc": 0, "start": "2016-05-11 19:53:39.961750", "stderr": "", "stdout": "abrt-ccpp\nabrtd\nacpid\natd\nauditd\nblk-availability\ncgconfig\ncgred\ncrond\nip6tables\nipsec\niptables\nkdump\nlvm2-monitor\nmdmonitor\nmessagebus\nnetconsole\nnetfs\nnetwork\nnfs-rdma\nntpd\nntpdate\npostfix\npsacct\nquota_nld\nrdisc\nrdma\nrestorecond\nrsyslog\nsaslauthd\nsshd\nsysstat\nudev-post\nvboxadd\nvboxadd-service\nvboxadd-x11", "stdout_lines": ["abrt-ccpp", "abrtd", "acpid", "atd", "auditd", "blk-availability", "cgconfig", "cgred", "crond", "ip6tables", "ipsec", "iptables", "kdump", "lvm2-monitor", "mdmonitor", "messagebus", "netconsole", "netfs", "network", "nfs-rdma", "ntpd", "ntpdate", "postfix", "psacct", "quota_nld", "rdisc", "rdma", "restorecond", "rsyslog", "saslauthd", "sshd", "sysstat", "udev-post", "vboxadd", "vboxadd-service", "vboxadd-x11"], "warnings": []}

Looks like a forgotten ignore_errors: yes in an AUDIT action...

Fixed in devel.


Adding board support for shakti class of processors

Hi,
We want to add board support to Shakti class of processors. We want to upstream to the FreeRTOS official repository.
I want to know the possibilities of doing it ?
Also, the steps to do it. Please help here.
Background:
The SHAKTI Processor Program, was started as an academic initiative back in 2014 by the RISE group at IIT-Madras. Source code of all the components of the SHAKTI ecosystem are open under the 3 part BSD license.
We have a Hackathon kind of competition happening all over India. We have given an option to use FreeRTOS for the participants. We have ported the FreeRTOS on our boards. So, We feel up-streaming should help everyone of us.
Local ported repository is here

The way to do this is submit a port for the processor to the FreeRTOS-kernel repo via a pull request and then add the demo to this repository via a pull request.

As per Cobus' message above, we would like to help you upstream the code.  Looking at the PR above, which appears to be closed now, please:

Ensure to use a future proof name for the directory the demo project uses.  The previous PR used FreeRTOS/Demo/shakti - please make the name of the processor more specific unless the demo will run on all shakti processors today and in the future, and also provide more detail in the directory name like which compiler and hardware the demo runs on.  Use the names of all the other FreeRTOS/Demo/* directories for reference.

Do not check in object code.

Is the port using our official RISC-V FreeRTOS port?  If so I'm not sure the clint driver code is necessary, although I could be wrong.  If the port is not using our official RISC-V port then I would like a discussion on what would be necessary to make it do so (missing features you need, or whatever, as it is best to get these into a single RISC-V port).

How is the port tested?  The main() functions in the PR do not seem to do that much - normally we would create a simple demo  that is easy to understand for beginners (which these main() implementations may do), and then a comprehensive test/demo that builds a lot of the soak tests implemented in FreeRTOS/Demo/Common/Minimal.  Here is an example from a different RISC-V demo, although this one has very limited RAM so doesn't create many of the soak tests:
https://github.com/FreeRTOS/FreeRTOS/blob/master/FreeRTOS/Demo/RISC-V_RV32_SiFive_HiFive1-RevB_FreedomStudio/main.c#L117
https://github.com/FreeRTOS/FreeRTOS/blob/master/FreeRTOS/Demo/RISC-V_RV32_SiFive_HiFive1-RevB_FreedomStudio/full_demo/main_full.c#L146

Dear Richard,
Thanks for this. The pull request is this
I will address your comments and get back to you.

Ensure to use a future proof name for the directory the demo project uses. The previous PR used FreeRTOS/Demo/shakti - please make the name of the processor more specific unless the demo will run on all shakti processors today and in the future, and also provide more detail in the directory name like which compiler and hardware the demo runs on. Use the names of all the other FreeRTOS/Demo/* directories for reference.

We have three boards Vajra, Parashu and Pinaka. All the three share the same BSP code, but capabilities are different.
Detail website is here: https://shakti.org.in/sp2020-shakti.html
Documentation - https://shakti.org.in/docs/shakti-soc-user-manual.pdf
https://shakti.org.in/docs/shakti-soc-device-register-manual.pdf
https://shakti.org.in/docs/boot_manual.pdf
Do not check in object code.

 Yes, we wont.
Is the port using our official RISC-V FreeRTOS port? If so I'm not sure the clint driver code is necessary, although I could be wrong. If the port is not using our official RISC-V port then I would like a discussion on what would be necessary to make it do so (missing features you need, or whatever, as it is best to get these into a single RISC-V port).

We are using the official port and removing the clint code. We will remove unnecessary code.
How is the port tested? The main() functions in the PR do not seem to do that much - normally we would create a simple demo that is easy to understand for beginners (which these main() implementations may do), and then a comprehensive test/demo that builds a lot of the soak tests implemented in FreeRTOS/Demo/Common/Minimal. Here is an example from a different RISC-V demo, although this one has very limited RAM so doesn't create many of the soak tests:
https://github.com/FreeRTOS/FreeRTOS/blob/master/FreeRTOS/Demo/RISC-V_RV32_SiFive_HiFive1-RevB_FreedomStudio/main.c#L117
https://github.com/FreeRTOS/FreeRTOS/blob/master/FreeRTOS/Demo/RISC-V_RV32_SiFive_HiFive1-RevB_FreedomStudio/full_demo/main_full.c#L146

Actually we have a demo for each SoC. They are below,
Demo directories are,

shakti/vajra/ - Demo for vajra SoC.
shakti/pinaka/ - Demo for pinaka SoC
shakti/parashu/ - Demo for Parashu SoC

The documentation for realizing this is there at the beginning. We are also adding a readme.md for simple reading.

Closing this Issue as this has been merged in the community supported demos - FreeRTOS/FreeRTOS-Community-Supported-Demos#2


coffee script

Another little tweak. For some reason mocha wouldn't load my global coffee-script module. I thought it would make sense to add as one of the dev dependencies so that test will run out of the box

Hmm.. I think I ran into this issue once before. How are you running it? You need to be in the main application directory, not in test/

Yeah, I was running it in the main directory. Maybe my global coffee-script install is not working properly. Having it as a cheerio dependency worked for me.

Oh okay. Yah, that should be in there as a dev dependency. It's running CS tests after all. Thanks!