add spectrum.spectral_factor example

Is your feature request related to a problem? Please describe.
There is currently no example in the example gallery demonstrating the use/application of the spectrum.spectral_factor models.
Describe the solution you'd like
I am currently working on an example that demonstrates the calculation of spectral mismatch using multiple spectral factor functions.
Additional context
Related issue: #2065
I am away for a short while so won't have the PR ready this week, so in the meantime I wanted to open this issue in case anyone has any feedback or thoughts about anything in particular they'd like to see in such an example that they feel would be beneficial.
I am still deciding a few things, such as analysis duration and data source (currently thinking one day and NREL MIDC --- any other suggestions welcome) but will create a PR once I have something concrete.

data source

Spectral data can also be created synthetically with a spectral model, like pvlib.spectral.spectrl2. May be out of scope for an example, thou.

@echedey-ls thanks for your input
The example will use spectral mismatch models currently in pvlib, which don't require spectral irradiance data.
The stretch goal of the GSoC project is to implement a spectral factor model that requires spectral irradiance data, in which case synthesised spectral irradiance data may be useful if the example were to be updated to include the new model

That's perfect. I thought you wanted to compare the spectral mismatch of some model with the specific mismatch of a technology.

I am still deciding a few things, such as analysis duration and data source (currently thinking one day and NREL MIDC --- any other suggestions welcome)

If the data source is to provide a "ground truth" SMM value, I'd say no need.  It is enough to demonstrate the model's use; validating the models against real data is out of scope IMHO.
If the data source is for model inputs, I'd prefer something like the NSRDB over ground station data.  It could be that pvlib already has a PSM3 or TMY file with the necessary inputs in pvlib/data (although be warned, it's a disorganized in there).

@kandersolar The purpose is for model inputs rather than providing a "ground truth" SMM value. Thanks for the recommendation, I'll take a look!


bump crate version

in preparation for crates.io release
blocked on defmt-decoder crates.io release

bors r+

bors r+


React DOM error message due to no dead code elimination

I building a React 16 application using<EMAIL_ADDRESS>and the<EMAIL_ADDRESS>My webpack configuration for production sets the process.env.NODE_ENV and UglifyJs webpack plugin like so:
new webpack.DefinePlugin({
   'process.env': {
        'NODE_ENV': JSON.stringify(environment)  // where environment = 'production'
   }
}),
new UglifyJsPlugin({
     sourceMap: true,
     uglifyOptions: {
          ecma: 8,
          compress: {
               dead_code: true,
               global_defs: {
                        'process.env.NODE_ENV': environment
                }
           }
      }
})

I keep getting a console error message like the following:
Uncaught Error: React is running in production mode, but dead code elimination has not been applied. Read how to correctly configure React for production: https://fb.me/react-perf-use-the-production-build
This message is being generated due to the fact that react-dom is now using a function called checkDCE() to verify that dead code elimination is being applied. Within this function is the if-block:
if (process.env.NODE_ENV !== 'production') {
    // This branch is unreachable because this function is only called
    // in production, but the condition is true only in development.
    // Therefore if the branch is still here, dead code elimination wasn't
    // properly applied.
    // Don't change the message. React DevTools relies on it. Also make sure
    // this message doesn't occur elsewhere in this function, or it will cause
    // a false positive.
    throw new Error('^_^');
  }

A toString() is called on this function at runtime (if React DevTools is installed in Chrome) to check if this if-block has been dead-code eliminated:
 try {
      var toString = Function.prototype.toString, code = toString.call(fn);
      code.indexOf("^_^") > -1 && (hasDetectedBadDCE = !0, setTimeout(function() {
            throw new Error("React is running in production mode, but dead code elimination has not been applied. Read how to correctly configure React for production: https://fb.me/react-perf-use-the-production-build");
        }));
} catch (err) {}

If I look in the debugger at the toString() on that function I can see this:
"function checkDCE() {
  /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
  if (
    typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||
    typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'
  ) {
    return;
  }
  if (false) {
    // This branch is unreachable because this function is only called
    // in production, but the condition is true only in development.
    // Therefore if the branch is still here, dead code elimination wasn't
    // properly applied.
    // Don't change the message. React DevTools relies on it. Also make sure
    // this message doesn't occur elsewhere in this function, or it will cause
    // a false positive.
    throw new Error('^_^');
  }
  try {
    // Verify that the code above has been dead code eliminated (DCE'd).
    __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);
  } catch (err) {
    // DevTools shouldn't crash React, no matter what.
    // We should still report in case we break this code.
    console.error(err);
  }
}"

So the if-block here is being reduced to a simple if (false) but no dead code elimination is being applied to it.
Is this a bug or am I doing something wrong?

@bspies-work can you create minimum reproducible test repo?

dup of #206

@kzc thanks :+1:

FYI, setting inline: false did fix the issue...i.e. uglify-js 2.8.29 seems to have a bug with inlining functions that use a const as an input parameter.


Installation fails on vmware photon

Hello,
i try to install docker-volume-vsphere on vmware photon, but after fetching installation aborts and systemd crashes:
root@photon-machine [ /var/lib/docker/plugins ]# docker --version
Docker version 1.13.1, build 092cba3

root@photon-machine [ /var/lib/docker/plugins ]# docker plugin install --grant-all-permissions --alias vsphere vmware/docker-volume-vsphere:latest
latest: Pulling from vmware/docker-volume-vsphere
bc8c14d82abc: Download complete
Digest: sha256:6b81577c0502f537bc8a5ccf3f1599d9f9b7276242d7043d00d04496f312b976
Status: Downloaded newer image for vmware/docker-volume-vsphere:latest
Error response from daemon: rpc error: code = 2 desc = containerd: container not started

May 04 11:23:25 photon-machine docker[394]: time="2017-05-04T11:23:25.378406035Z" level=info msg="API listen on /var/run/docker.sock"
May 04 11:28:17 photon-machine docker[394]: time="2017-05-04T11:28:17.741095520Z" level=warning msg="failed to retrieve docker-runc version: unknown output format: runc version 1.0.0-rc2\nspec: 1.0.0-rc2-dev\n"
May 04 11:28:17 photon-machine docker[394]: time="2017-05-04T11:28:17.742200973Z" level=warning msg="failed to retrieve docker-init version"
May 04 11:28:37 photon-machine docker[394]: time="2017-05-04T11:28:37Z" level=info msg="container_linux.go:247: starting container process caused \"process_linux.go:359: container init caused \\\"rootfs_linux.go
:89: jailing process inside rootfs caused \\\\\\\"pivot_root invalid argument\\\\\\\"\\\"\"" plugin=0648355a00f0493f30c0a38a2f48002f9a3df7964447af02d8d2bc10a728b018
May 04 11:28:37 photon-machine docker-containerd[230]: time="2017-05-04T11:28:37.70481746Z" level=error msg="containerd: start container" error="containerd: container not started" id=0648355a00f0493f30c0a38a2f48
002f9a3df7964447af02d8d2bc10a728b018
May 04 11:28:37 photon-machine docker[394]: time="2017-05-04T11:28:37.759913779Z" level=error msg="Handler for POST /v1.26/plugins/vsphere:latest/enable returned error: rpc error: code = 2 desc = containerd: con
tainer not started\ngithub.com/docker/docker/plugin.(*Manager).enable\n\t/usr/src/photon/BUILD/docker-1.13.1/.gopath/src/github.com/docker/docker/plugin/manager_linux.go:73\ngithub.com/docker/docker/plugin.(*Man
ager).Enable\n\t/usr/src/photon/BUILD/docker-1.13.1/.gopath/src/github.com/docker/docker/plugin/backend_linux.go:67\ngithub.com/docker/docker/api/server/router/plugin.(*pluginRouter).enablePlugin\n\t/usr/src/pho
ton/BUILD/docker-1.13.1/.gopath/src/github.com/docker/docker/api/server/router/plugin/plugin_routes.go:241\ngithub.com/docker/docker/api/server/router/plugin.(*pluginRouter).(github.com/docker/docker/api/server/
router/plugin.enablePlugin)-fm\n\t/usr/src/photon/BUILD/docker-1.13.1/.gopath/src/github.com/docker/docker/api/server/router/plugin/plugin.go:31\ngithub.com/docker/docker/api/server/middleware.ExperimentalMiddle
ware.WrapHandler.func1\n\t/usr/src/photon/BUILD/docker-1.13.1/.gopath/src/github.com/docker/docker/api/server/middleware/experimental.go:27\ngithub.com/docker/docker/api/server/middleware.VersionMiddleware.WrapH
andler.func1\n\t/usr/src/photon/BUILD/docker-1.13.1/.gopath/src/github.com/docker/docker/api/server/middleware/version.go:47\ngithub.com/docker/docker/pkg/authorization.(*Middleware).WrapHandler.func1\n\t/usr/sr
c/photon/BUILD/docker-1.13.1/.gopath/src/github.com/docker/docker/pkg/authorization/middleware.go:43\ngithub.com/docker/docker/api/server.(*Server).makeHTTPHandler.func1\n\t/usr/src/photon/BUILD/docker-1.13.1/.g
opath/src/github.com/docker/docker/api/server/server.go:139\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/lib/golang/src/net/http/server.go:1726\ngithub.com/docker/docker/vendor/github.com/gorilla/mux.(*Router).ServeH
TTP\n\t/usr/src/photon/BUILD/docker-1.13.1/.gopath/src/github.com/docker/docker/vendor/github.com/gorilla/mux/mux.go:103\ngithub.com/docker/docker/api/server.(*routerSwapper).ServeHTTP\n\t/usr/
May 04 11:28:37 photon-machine docker[394]: src/photon/BUILD/docker-1.13.1/.gopath/src/github.com/docker/docker/api/server/router_swapper.go:29\nnet/http.serverHandler.ServeHTTP\n\t/usr/lib/golang/src/net/http/s
erver.go:2202\nnet/http.(*conn).serve\n\t/usr/lib/golang/src/net/http/server.go:1579\nruntime.goexit\n\t/usr/lib/golang/src/runtime/asm_amd64.s:2086"
May 04 11:28:38 photon-machine docker[394]: time="2017-05-04T11:28:38.794180493Z" level=warning msg="could not unmount" error="device or resource busy" mountpoint="/var/lib/docker/plugins/0648355a00f0493f30c0a38
a2f48002f9a3df7964447af02d8d2bc10a728b018/rootfs/var/run/user/0"
May 04 11:28:39 photon-machine docker[394]: time="2017-05-04T11:28:39.804407119Z" level=warning msg="could not unmount" error="device or resource busy" mountpoint="/var/lib/docker/plugins/0648355a00f0493f30c0a38
a2f48002f9a3df7964447af02d8d2bc10a728b018/rootfs/var/run/user/0"
May 04 11:28:40 photon-machine docker[394]: time="2017-05-04T11:28:40.814675586Z" level=warning msg="could not unmount" error="device or resource busy" mountpoint="/var/lib/docker/plugins/0648355a00f0493f30c0a38
a2f48002f9a3df7964447af02d8d2bc10a728b018/rootfs/var/run"
May 04 11:28:41 photon-machine docker[394]: time="2017-05-04T11:28:41.824469711Z" level=warning msg="could not unmount" error="device or resource busy" mountpoint="/var/lib/docker/plugins/0648355a00f0493f30c0a38
a2f48002f9a3df7964447af02d8d2bc10a728b018/rootfs/var/run"
May 04 11:28:43 photon-machine docker[394]: time="2017-05-04T11:28:43.179356574Z" level=warning msg="could not unmount" error="device or resource busy" mountpoint="/var/lib/docker/plugins/0648355a00f0493f30c0a38
a2f48002f9a3df7964447af02d8d2bc10a728b018/rootfs/dev/pts"
May 04 11:28:44 photon-machine docker[394]: time="2017-05-04T11:28:44.187058303Z" level=warning msg="could not unmount" error="device or resource busy" mountpoint="/var/lib/docker/plugins/0648355a00f0493f30c0a38
a2f48002f9a3df7964447af02d8d2bc10a728b018/rootfs/dev/pts"
May 04 11:28:45 photon-machine docker[394]: time="2017-05-04T11:28:45.194381354Z" level=warning msg="could not unmount" error="device or resource busy" mountpoint="/var/lib/docker/plugins/0648355a00f0493f30c0a38
a2f48002f9a3df7964447af02d8d2bc10a728b018/rootfs/dev/pts"
May 04 11:28:46 photon-machine docker[394]: time="2017-05-04T11:28:46.201378122Z" level=warning msg="could not unmount" error="device or resource busy" mountpoint="/var/lib/docker/plugins/0648355a00f0493f30c0a38
a2f48002f9a3df7964447af02d8d2bc10a728b018/rootfs/dev/pts"
May 04 11:28:47 photon-machine docker[394]: time="2017-05-04T11:28:47.219076527Z" level=warning msg="could not unmount" error="invalid argument" mountpoint="/var/lib/docker/plugins/0648355a00f0493f30c0a38a2f4800
2f9a3df7964447af02d8d2bc10a728b018/rootfs/dev/mqueue"
May 04 11:28:48 photon-machine docker[394]: time="2017-05-04T11:28:48.226476343Z" level=warning msg="could not unmount" error="invalid argument" mountpoint="/var/lib/docker/plugins/0648355a00f0493f30c0a38a2f4800
2f9a3df7964447af02d8d2bc10a728b018/rootfs/dev/mqueue"
May 04 11:28:49 photon-machine docker[394]: time="2017-05-04T11:28:49.233854852Z" level=warning msg="could not unmount" error="invalid argument" mountpoint="/var/lib/docker/plugins/0648355a00f0493f30c0a38a2f4800
2f9a3df7964447af02d8d2bc10a728b018/rootfs/dev/mqueue"
May 04 11:28:50 photon-machine docker[394]: time="2017-05-04T11:28:50.252849779Z" level=warning msg="could not unmount" error="device or resource busy" mountpoint="/var/lib/docker/plugins/0648355a00f0493f30c0a38
a2f48002f9a3df7964447af02d8d2bc10a728b018/rootfs/dev"
May 04 11:28:51 photon-machine docker[394]: time="2017-05-04T11:28:51.259852402Z" level=warning msg="could not unmount" error="device or resource busy" mountpoint="/var/lib/docker/plugins/0648355a00f0493f30c0a38
a2f48002f9a3df7964447af02d8d2bc10a728b018/rootfs/dev"
May 04 11:28:52 photon-machine docker[394]: time="2017-05-04T11:28:52.266730929Z" level=warning msg="could not unmount" error="device or resource busy" mountpoint="/var/lib/docker/plugins/0648355a00f0493f30c0a38
a2f48002f9a3df7964447af02d8d2bc10a728b018/rootfs/dev"
May 04 11:28:53 photon-machine docker[394]: time="2017-05-04T11:28:53.273493603Z" level=warning msg="could not unmount" error="device or resource busy" mountpoint="/var/lib/docker/plugins/0648355a00f0493f30c0a38
a2f48002f9a3df7964447af02d8d2bc10a728b018/rootfs/dev"
May 04 11:28:54 photon-machine docker[394]: time="2017-05-04T11:28:54.280286069Z" level=warning msg="error performing recursive unmount on /var/lib/docker/plugins: device or resource busy" dir="/var/lib/docker/p
lugins" id=0648355a00f0493f30c0a38a2f48002f9a3df7964447af02d8d2bc10a728b018
May 04 11:28:54 photon-machine systemd-timesyncd[189]: Network configuration changed, trying to establish connection.
May 04 11:28:54 photon-machine systemd-resolved[231]: Could not update resolv.conf: No such file or directory
May 04 11:28:54 photon-machine systemd-resolved[231]: Could not update resolv.conf: No such file or directory
May 04 11:28:54 photon-machine systemd-resolved[231]: Could not update resolv.conf: No such file or directory
May 04 11:28:54 photon-machine systemd-resolved[231]: Could not update resolv.conf: No such file or directory
May 04 11:28:54 photon-machine docker[394]: time="2017-05-04T11:28:54.321606107Z" level=warning msg="unable to remove \"/var/lib/docker/plugins/0648355a00f0493f30c0a38a2f48002f9a3df7964447af02d8d2bc10a728b018\"
from plugin remove: remove /var/lib/docker/plugins/0648355a00f0493f30c0a38a2f48002f9a3df7964447af02d8d2bc10a728b018/rootfs/var/run/user/0: device or resource busy"

root@photon-machine [ /var/lib/docker/plugins ]# systemctl status docker
Failed to connect to bus: No such file or directory

root@photon-machine [ /var/lib/docker/plugins ]# cat /etc/lsb-release
DISTRIB_ID="VMware Photon"
DISTRIB_RELEASE="1.0"
DISTRIB_CODENAME=Photon
DISTRIB_DESCRIPTION="VMware Photon 1.0"

@phimic Photon OS team has root caused the issue and working on updating OVA. Issue is tracked in PhotonOS github #640
In the meantime, you can try one of alternative proposed in  #1215  (manually upgrade to latest Docker release or use RPM)

@phimic Please feel free to reach out to us<EMAIL_ADDRESS>if you need further assistance and we can schedule time to go over features and discuss your use case.


Run kafka through consul

Trying to learn mantl: Can you describe the steps to run a kafka node using https://github.com/glerchundi/parkeeper and avoiding zookeeper?

I don't recommend using parkeeper. The ZK API is quite complex, and parkeeper hasn't been updated in more than a year. Zookeeper is already part of our default installation, so it's no loss to use it.
You can install Kafka as an addon: http://docs.mantl.io/en/latest/components/kafka.html. Please reopen if you have any further questions!


add get_history function to Diagnostic

Objective

Allow access to diagnostic history value.
Fixes #2771.

Solution

Add Diagnostic::get_history function.

Two quick questions about the return type:

Why do we want to collect this into a vec, rather rather returning an iterator?
Are we okay to discard the temporal data here? I suspect it's going to be essential for more complex use cases.

I think that two separate methods make sense here; one for just the values, called .values, and a second one with the temporal data called .history that just returns the history field.

Although i haven't had a use for it yet, I think your completely right. Just to be clear you are talking about two functions signatures like this right?
pub fn values(&self) -> impl Iterator<Item=&f64>;
pub fn history(&self) -> impl Iterator<Item=&DiagnosticMeasurement>

Yup I agree that we should be using iterators here instead of allocating. values and history are both "history", one just includes more information. I think these names might be a bit less ambiguous:
pub fn values(&self) -> impl Iterator<Item=&f64>;
pub fn measurements(&self) -> impl Iterator<Item=&DiagnosticMeasurement>

Using "measurements" also has the benefit of having parity with add_measurement. However they are both still "measurements". Maybe instead we should just expose a single  pub fn measurements(&self) -> impl Iterator<Item=&DiagnosticMeasurement> and let users access the values via the iterator.

Just to be clear you are talking about two functions signatures like this right?

Correct :) I also prefer Cart's measurements naming suggestion. I could go either way on the one vs two methods. I think one method gets a slight preference for me because I like the type-safety of &DiagnosticMeasurement and it's trivial to extract the underlying data if that's all you want.

Sorry for taking a while to respond, I agree with all the points made and have made the changes.


String Interpolation of Request Variables broken in v1.28.0 and later releases

I have checked the following:

[X] I use the newest version of bruno.
[X] I've searched existing issues and found nothing related to my issue.

Describe the bug
In v1.27.0 and earlier releases string interpolation was done on request variables.  This has stopped working in release 1.28.0 and later.
String interpolation of the request variables was nice and allowed for variables to be picked up from the Environment and easily overridden on individual requests as need.
Example:
SampleEnvironment.bru
vars {
  TestVar: TestVarFromEnvironment
}

SampleRequest.bru
meta {
  name: RequestVariableInterpolation
  type: http
  seq: 1
}

get {
  url: https://localhost/{{TestVar}}
  body: none
  auth: none
}

vars:pre-request {
  TestVar: ${TestVar}
}

v1.27.0 outbound request:  GET https://localhost/TestVarFromEnvironment
v1.28.0 oubtound request:  GET https://localhost/${TestVar}
This could be related to commit: cb395e764970f6a324bac0450bae4a5b77f8ce39
In this the following code was removed form run-single-request.js
    // run pre-request vars
    const preRequestVars = get(bruJson, 'request.vars.req');
    if (preRequestVars?.length) {
      const varsRuntime = new VarsRuntime({ runtime: scriptingConfig?.runtime });
      varsRuntime.runPreRequestVars(
        preRequestVars,
        request,
        envVariables,
        runtimeVariables,
        collectionPath,
        processEnvVars
      );
    }

.bru file to reproduce the bug
meta {
name: RequestVariableInterpolation
type: http
seq: 1
}
get {
url: https://localhost/{{TestVar}}
body: none
auth: none
}
vars:pre-request {
TestVar: ${TestVar}
}
Screenshots/Live demo link

Is there any work done on this issue? This issue is currently stopping us from upgrading to latest version of bruno. It seems the feature of vars pre-request is completely broken and has been for some time.

@AaronPatterson @johan-lejdung
You should still be able to use interpolate using {{}} syntax in pre-request vars.
Instead of ${TestVar}, replace it with {{TestVar}}
@AaronPatterson @johan-lejdung Can you check if this resolves your issue using the latest version of Bruno (v1.34.2)

I tried this with v1.34.2 and the {{TestVar}} syntax yielded the same results when used in a Pre-Request Variable.  The strings were not interpolated and the value from in the Variable was used directly ({{TestVar}}).


🇺🇦 Ukrainian + fixing quit

This should fix 'quit' once and for all. I was working on translations before addressing the issues in 'quit'; therefore, this pull request also features some new translations. I'll work on fixing the conflicts once we figure out the 'quit' on all platforms.

windowCloseHandler() seems lost.

What do you mean by 'lost'?

I added a console.log to it, and upon closing the window, the log showed up, so it seems to be working.
async function windowCloseHandler(win) {
  await ipcMain.callRenderer(win, 'win:close');
  console.log('window closed');
}

We could move app.quit into windowCloseHandler() just to make the code a bit tidier:
async function windowCloseHandler(win) {
  await ipcMain.callRenderer(win, 'win:close');
  app.quit();
}

Maybe due to revert, some codes are reverted. I will rewrite some codes for this branch.

You're right, I noticed it just now.

I've moved some of the old code to this branch, try it out and let me know if it works because it now does on macOS

And Chinese translation can be updated too. I have updated the translation on Tradura.

Thanks for reminding me. I've already updated all the locales while adding Ukrainian. I think we might be ready to release version 3.2.0, if not today, then in the next couple of days.

No more problems for me. Only the two need to be fixed.

Everything seems fine, including translations. If you want, you can check the development branch and let me know if we can proceed.

Everything seems fine, including translations. If you want, you can check the development branch and let me know if we can proceed.

No, don't forget the try/catch of windowCloseHandler bro. I mentioned it above.

gotcha you it now works fine I changed it from async function windowCloseHandler(win) {   await ipcMain.callRenderer(win, 'win:close');   app.quit(); }
to
async function windowCloseHandler(win) {
  try {
    await ipcMain.callRenderer(win, 'win:close');
  } catch (error) {
    console.error('Error handling window close:', error);
  } finally {
    app.quit();
  }
}

Got it, here's the revised version with improved grammar:
async function windowCloseHandler(win) {
  await ipcMain.callRenderer(win, 'win:close');
  app.quit();
}

to
async function windowCloseHandler(win) {
  try {
    await ipcMain.callRenderer(win, 'win:close');
  } catch (error) {
    console.error('Error handling window close:', error);
  } finally {
    app.quit();
  }
}

And here can be this:
  let canClosed = false;
  mainWindow.on('close', (e) => {
    if (canClosed) {
      return;
    }
    e.preventDefault();
    windowCloseHandler(mainWindow);
    canClosed = true;
 });


[design] huge white space on the right side of the site

There's a big white space we can scroll on the right side of the site.

How are you creating this situation?
Is your browser window very large?
Is there whitespace on the left side too?
Can you screen shot your whole window?

@just1602
How are you creating this situation?
Is your browser window very large?
Is there whitespace on the left side too?
Can you screen shot your whole window?

That's my whole window.
My browser window take all the space in my macbook pro 13'' screen.
There is only white space on the right. When I land on crimethinc, it's as usual, but I can scroll horizontally on the right.

Is it still happening? I just pushed a revert to production.

Didn't happening anymore !
Thx ! :)


Add support for negative inflow to kinematic_wave

Lateral inflow represents the addition of water (e.g. precepitation), or removal of water (e.g. infiltration, pumping). Very comparable with accu_threshold. The outflow passed in (negative inflow) is a maximum / potential value and may be different from what is actually removed from the cell.
We could add a second return value containing the actual amount of water removed, given the actual amount of water available in each cell. Until then, it is impossible for users to check the water budget when less water is removed than potentially can be removed. See #527
Lateral inflow can be negative. Make sure the actual outflow (negative inflow) is not larger than the actual amount of water in the cell.

For guess() I found the following line
lue_hpx_assert(discharge_guess > Float{0});
Float guess() const
                {
                    // Small, but not zero!
                    Float discharge_guess{1e-30};

                    ...

                    lue_hpx_assert(discharge_guess > Float{0});

                    return discharge_guess;
                }

calculated discharge_guess could be negative in which case it should be set to a non-zero value
Revising the code as follows may help
Float guess() const
                {
                    // Small, but not zero!
                    Float min_discharge_guess{1e-30};
                    Float discharge_guess{min_discharge_guess};

                    ...

                    return std::max(discharge_guess,min_discharge_guess}
                }

Yes, thanks @saeb-faraji-gargari,  that was one of the changes I made yesterday. See my changes in the draft PR. It is not finished yet, but negative lateral inflows are supported now.


Replicate delete operation cause error

I deployed two set of harbor 1.3.0 in my kubernetes cluster, and replicate repositories from one to another.
I used the following command to delete over 100 tags of one repository:
for tag in `cat tag-file`; do
curl -u admin:Harbor12345 -X DELETE ui-1:8080/api/repositories/ai/moop/tags/$tag
done

And then, some replications failed, with logs like this:
2018-02-09T10:18:10+08:00 [INFO] initialization completed: repository: ai/moop, tags: [20171228-1046], destination URL: https://registry2.prod.com, insecure: true, destination user: admin
2018-02-09T10:18:11+08:00 [ERROR] [delete.go:119]: an error occurred while deleting repository ai/moop:20171228-1046 on https://registry2.prod.com with user admin: 500 {"errors":[{"code":"UNKNOWN","message":"unknown error","detail":{"Path":"/docker/registry/v2/repositories/ai/moop/_manifests/tags/20171222-1532/current/link","DriverName":"filesystem"}}]}

It seems that when we are deleting the tag 20171228-1046, it tries to delete 20171222-1532 , what's happened here ?  The log about deleting tag 20171222-1532:
2018-02-09T10:18:02+08:00 [INFO] initialization completed: repository: ai/moop, tags: [20171222-1532], destination URL: https://registry2.prod.com, insecure: true, destination user: admin
2018-02-09T10:18:12+08:00 [INFO] repository ai/moop:20171222-1532 on https://registry2.prod.com has been deleted

I noticed that the time period is overlapped.
How can I handle this? Is that ok to just delete the tags from the  _manifests directory of the second server ?
likun

I don't know if these tags has the same digest, but they were deleted successfully at local server, these errors were happened at replication time.

It's a dup of #4214. Closing this one.

Why it's a dup of #4214 ?  What I mean by 'deleted successfully at local server' is that these images are not the same image.

The image can only be deleted by digest. When you try to delete 20171228-1046, Harbor's backend gets the digest of 20171228-1046 first, and then calls API of the registry to delete the digest.
In registry, all tags refer to this digest will be deleted. So you saw 20171222-1532 in the log.
There is a bug in the registry when trying to delete the same images concurrently which is mentioned in #4214.

If 20171222-1532 and 20171228-1046 had the same digest, it would prompt error when I deleted these images at local registry server. Maybe they were deleted not concurrently at local registry server, while concurrently at replicate time.  But these images are built through these steps: rsync code from somewhere, and then docker build it, not through docker tag, so there's very little possibiliby for these images have the same digest.


Add a "no SVG animations" mode when discovering and running tests

Environment data

VS Code version: 1.41.0
Extension version (available under the Extensions sidebar): 2019.11.50794
OS and version: Ubuntu 19.10
Python version (& distribution if applicable, e.g. Anaconda): 3.6.9
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): poetry
Relevant/affected Python packages and their versions: Django/Django RestFramework
Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info #3977): Jedi

Expected behaviour
See minimal slowdown when running unittests via VScode vs the commandline.
Actual behaviour
When running the unittests (pytest and Django) with an intel GPU (UHD Graphics 620) they take around 100 seconds.
With an nvidia GPU around 25 seconds.
On the commandline it's around 22 seconds.
Steps to reproduce:

Have an intel GPU:
Click on the Flask/test explorer
Click on the green arrow, i.e. "Run all tests"
check the Python Test Log output for the time
Repeat steps with an NVIDIA GPU.

Or

Have an intel GPU
Click on the Flask/test explorer
Click on the green arrow, i.e. "Run all tests"
check the Python Test Log output for the time
Repeat but minimize the window after clicking on 'Run all tests'.

and observe that it takes up so much CPU/GPU time that is slows the whole thing down.
It could be due to the spinner in the test explorer, because minimizing VSCode solves the problem.
Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
Console Log with sourcemap enabled for NVIDIA and Intel
https://gist.github.com/rvanlaar/603eae9dd4ccf7bf82f473f537acf1a3

Could you point me to the documentation required to build and install from github?

The command is:

~/.cache/pypoetry/virtualenvs/eduworld-sNwkCRg1-py3.6/bin/python -m pytest --rootdir ~/EduWorld/back-end --junitxml=/tmp/tmp-16152BC0HwYwQJy2Y.xml edu_world

When running tests again I see the following happening:
All CPUs get a WA of a couple percent. This means they all have to wait for other tasks to finish.
Which of course slows down those other tasks as well.

Thanks for you help.
I changed both lines to 10000ms (10 seconds):
https://github.com/microsoft/vscode-python/blob/73761111f25b0ce1c5f3dee58ab50de7d07c1398/src/client/testing/common/managers/baseTestManager.ts#L371
https://github.com/microsoft/vscode-python/blob/b3decc089f2c760ebdc41402a4a0aba89032f441/src/client/testing/display/main.ts#L131
The bottom test spinner was updating every 10 seconds.
The spinning error next to the tests was still spinning as fast as ever.
Both changes didn't change the result.
What made a huge impact on execution time was:

hiding the test explorer during tests
switching to python output instead of Python Test Log.

How can I disable the spinner, or make it rotate more slowly  to check if that's the problem?
Regarding building the project:
Could the readme be updated with build info?
What I did was the following:
git clone https://github.com/microsoft/vscode-python.git cd vscode-python npm install  npm run package
Run in my python workspace the VScode command:
Extensions: Install from VSIX...
And select the vsix file: ms-python-insiders.vsix

It's the SVG spinner that's causing the slowdowns.
I replaced the file ./resources/dark/discovering-tests.svg with ./resources/dark/start.svg
That made the test run come down to a good 26 seconds.
The GPU utilization was also in a more normal range, moving between 15 to 50 %

For reference: I also created a chromium issue for it:
https://bugs.chromium.org/p/chromium/issues/detail?id=1036262

Hi @rvanlaar, thank you for your investigation! Sorry I didn't get back to you sooner (timezones and all that), seems like you got it figured out after all 👍

The spinning error next to the tests was still spinning as fast as ever.

My initial thought was that the test status refresh rate that was too high, but as you found out it seems like the SVG in itself is causing issues. The animation is built in discovering-tests.svg:
https://github.com/microsoft/vscode-python/blob/f864c208517928750d65cb3247783047f2e1d030/resources/dark/discovering-tests.svg#L4-L13

Opening the discovering-tests.svg file in Chrome results in 100% GPU usage with 2 to 18% IO for every CPU.

I wonder if it happens with any SVG with built-in animation keyframes, or if there is something in discovering-tests.svg in particular 🤔 In any case, thank you for reporting it on chromium's bug tracker!
As for a solution, there's a workaround for now, and we can tweak this issue to be a feature request for a "no animations" mode (remember to 👍 your original comment to help us prioritize this fix).
Thank you again for your help!

This issue can be closed.
After looking more into this issue and the performance problems.
This issue was due to having enabled fractional scaling in Xorg on ubuntu.


test fails on PostgreSQL 10

$ psql --version
psql (PostgreSQL) 10.4

$<EMAIL_ADDRESS>cargo test --features postgres
    Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs
     Running target/debug/deps/tests-61de74e2f6241362

running 5 tests
test nullable::nullable_enum_round_trip ... FAILED
test rename::rename_round_trip ... ok
test nullable::not_nullable_enum_round_trip ... ok
test simple::enum_round_trip ... FAILED
test simple::filter_by_enum ... FAILED

failures:

---- nullable::nullable_enum_round_trip stdout ----
	thread 'nullable::nullable_enum_round_trip' panicked at 'called `Result::unwrap()` on an `Err` value: DatabaseError(__Unknown, "column \"my_enum\" is of type my_enum but expression is of type pg_temp_7.my_enum")', libcore/result.rs:945:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.

---- simple::enum_round_trip stdout ----
	thread 'simple::enum_round_trip' panicked at 'called `Result::unwrap()` on an `Err` value: DatabaseError(__Unknown, "column \"my_enum\" is of type my_enum but expression is of type pg_temp_7.my_enum")', libcore/result.rs:945:5

---- simple::filter_by_enum stdout ----
	thread 'simple::filter_by_enum' panicked at 'called `Result::unwrap()` on an `Err` value: DatabaseError(__Unknown, "column \"my_enum\" is of type my_enum but expression is of type pg_temp_7.my_enum")', libcore/result.rs:945:5

failures:
    nullable::nullable_enum_round_trip
    simple::enum_round_trip
    simple::filter_by_enum

test result: FAILED. 2 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out

error: test failed, to rerun pass '--lib'

I think this failure is related to behavior changes in TEMP in PostgreSQL 10.

This looks like the same as #17?

Yes. Thanks for your help and sorry for my disturbing.


NNE Hour Bug

NicoNico E-Books (and NicoNico User-published) needs to login and acquire a new download key after an hour.

Fixed for NNE.  Don't know if there's any NNU chapter that's big enough for this.


Add filter on an HABTM associated model's field

Template to test how it works : https://gist.github.com/3810559.
Hope it helps to provide this functionality.

As is stated in https://github.com/sferik/rails_admin/issues/1342#issuecomment-9766623, we need some other way around.


onSaveInstanceState isn't working anymore

I didn't change anything in my code but suddenly the onSaveInstanceState isn't working anymore. Maybe that's due to the version 24 of the recyclerview library. Could you check that?
I'm not 100 % sure that it isn't my fault, but I'm 80% sure.

It's working. I just had some mistakes in my code. Sorry for inconvenience.


Hugo panics when _index.md is added under /posts/

Hello @Track3
We are currently refactoring the content directory of the HugoBasicExample that is used in theme demos on the Hugo website.
Yesterday I committed an _index.md under the post section with the following content:
+++
aliases = ["posts","articles"]
+++

However your theme's demo no longer generates and in the console there is a panic:
1:57:30 AM:  ==== PROCESSING  hermit  ======
1:57:30 AM: Building site for theme hermit using its own exampleSite to ../themeSite/static/theme/hermit/
1:57:30 AM: panic: runtime error: index out of range
1:57:30 AM: goroutine 89 [running]:
1:57:30 AM: github.com/gohugoio/hugo/hugolib.(*Page).prepareData(0xc000278f00, 0xc000305880, 0x0, 0x0)
1:57:30 AM: 	/root/project/hugo/hugolib/page.go:1778 +0xf39
1:57:30 AM: github.com/gohugoio/hugo/hugolib.(*Site).preparePages(0xc000305880, 0x0, 0x0)
1:57:30 AM: 	/root/project/hugo/hugolib/site.go:1600 +0x132
1:57:30 AM: github.com/gohugoio/hugo/hugolib.(*Site).render(0xc000305880, 0xc000759900, 0x0, 0x0
1:57:30 AM: , 0x1)
1:57:30 AM: 	/root/project/hugo/hugolib/site.go:1076 +0x211
1:57:30 AM: github.com/gohugoio/hugo/hugolib.(*HugoSites).render(0xc0000d6b00, 0xc000759900, 0xc0000d6b00, 0xc000718360)
1:57:30 AM: 	/root/project/hugo/hugolib/hugo_sites_build.go:302 +0x350
1:57:30 AM: github.com/gohugoio/hugo/hugolib.(*HugoSites).Build(0xc0000d6b00, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
1:57:30 AM: 	/root/project/hugo/hugolib/hugo_sites_build.go:97 +0x4ce
1:57:30 AM: github.com/gohugoio/hugo/commands.(*commandeer).buildSites(0xc0001400c0, 0x429932, 0x8)
1:57:30 AM: 	/root/project/hugo/commands/hugo.go:630 +0x79
1:57:30 AM: github.com/gohugoio/hugo/commands.(*commandeer).fullBuild.func3(0x8, 0xfe2f98)
1:57:30 AM: 	/root/project/hugo/commands/hugo.go:305 +0x2a
1:57:30 AM: golang.org/x/sync/errgroup.(*Group).Go.func1(0xc000717800, 0xc000493250)
1:57:30 AM: 	/go/pkg/mod/golang.org/x/sync@v0.0.0-20180314180146-1d60e4601c6f/errgroup/errgroup.go:58 +0x57
1:57:30 AM: created by golang.org/x/sync/errgroup.(*Group).Go
1:57:30 AM: 	/go/pkg/mod/golang.org/x/sync@v0.0.0-20180314180146-1d60e4601c6f/errgroup/errgroup.go:55 +0x66
1:57:30 AM: FAILED to create exampleSite for hermit

I have looked into and tried adding more front matter like date, title just in case your theme requires these parameters but unfortunately I am unable to solve the problem.
Also note that this issue can be easily reproduced on your end. Simply add the _index.md under your post section in the exampleSite and execute hugo server.
Note that we really need to have the aliases of the post section in theme demos. Also your theme demo is the only one affected by this change as far as I can tell.
If you cannot find a solution feel free to open a topic at the Hugo Discussion Forum so that hopefully others can have a look at this.
Thanks.
cc: @digitalcraftsman

It seems that commit https://github.com/gohugoio/hugoBasicExample/commit/2941cdef6a905fdcaf1ee447a29986ff4feab5b5 fixed the problem.
Your theme's demo is live again over here: https://themes.gohugo.io/hermit/
Sorry for the noise.

I got this problem in my blog, too, which almost uses the same layout with this theme. With Hugo 0.53, _index.md under content/posts/ just didn't take effect, then with Hugo 0.54, site could not build. I was so confused. Thanks to the information you provided, I now realize I have a misconfiguration.
I want to disable the category taxonomy and I did this in my config.toml:
[taxonomies]
  tag = "tags"
  category = ""

Turns out it's wrong, according to the docs. The below is enough to override the default taxonomy:
[taxonomies]
  tag = "tags"

This theme's example config is also wrong and it's now fixed. I must say a big thanks to you and a big shoutout for your hardwork on the theme site.

The thing is that we need to have the category taxonomy in theme demos and that's why we have added and second config for taxonomies that is used in the Build Script.
Theme demos on the Hugo website since last month inherit their content from the HugoBasicExample contentDir and not from the exampleSite of each theme.
Anyway I will keep an eye to see if your theme's demo breaks again and I will let you know


Rpak loading issues

I tried updating some of my mods to use the new rpak loading structure but i found some issues:
Setting the loading option to "." or "mp_" causes the rpak to not get loaded at all.

Setting it to use a specific map causes the textures to load, but become invisible (though this doesn't happen with the example satchel mod)

Using the old structure (postload) works completely fine.

I set up three mods using the models above to quickly test this:
The first one (AAA)  uses the old loading method
The second one (BBB) uses "."
The third one (CCC) uses "mp_angel_city"
https://www.mediafire.com/file/93jbubqtro8cgu8/dwdadwada.zip/file
(Uploading to mediafire because of githubs file size limit)

cc @ASpoonPlaysGames

Yeah, I can repro this... not really sure why it happens though. I'll need to spend some time reversing to look at what the difference between loading common and loading map rpaks is.

So the difference between common.rpak and our ones is with the flags it seems. common.rpak gets a flags value of 0x2 but ours get a flags value of 0x7 when loading. Going to try giving ours the same flags as common.rpak and see what happens

Tested various things, not sure I can do much about this. It seems to be to do with when the rpak is loaded in some capacity. Even using Postload with a different rpak results in the invisibility issue. I guess some of this stuff will have to remain using Postload for now?


jest-circus equivalent of jest/jasmine's fail() global?

🚀 Feature Proposal
Add the equivalent of jasmine's fail() global.
Motivation
We were using this to fail tests when React warnings were triggered during tests. We did this by spying on console.error and calling fail(). Throwing the error (iirc) caused infinite loops as the exceptions would get logged to error again.
Example
jest.spyOn(console, 'error').mockImplementation((message, ...args) => {
  const isIgnored = IGNORED_ERRORS.some(checkFn => checkFn(message, ...args));

  if (
    typeof message === 'string' &&
    message.indexOf(REPEATED_ERROR) !== 0 &&
    !isIgnored
  ) {
    originalConsoleError(message, ...args);
    const err = new Error('Warnings received from console.error()');
    const lines = err.stack?.split('\n');
    const startIndex = lines?.findIndex(line => line.includes('tests/js/spec'));
    err.stack = ['\n', lines?.[0], ...lines?.slice(startIndex)].join('\n');

    // `fail` is a global from jest/jasmine
    // eslint-disable-next-line jest/no-jasmine-globals
    fail(err);
  }
});

it's possible that I could help in this!

I'd like to avoid adding more globals. Why would throwing create recursion?

@SimenB Yeah, I think you're right that having a way to fail a test if logging to console.error would be preferable. Currently with the above solution, it works if we throw, but it's a bit hard to read all of the output. Because we call the original console.error (because we want to see what error message caused this "error", we get something that looks like:

And near the end of the logs we get what's more relevant which is which test caused this console.error output to happen:

But because throwing here seems to get me a similar result as when I used fail(), I'm going to go ahead and close this.

@SimenB Yeah, I think you're right that having a way to fail a test if logging to console.error would be preferable. Currently with the above solution, it works if we throw, but it's a bit hard to read all of the output. Because we call the original console.error (because we want to see what error message caused this "error", we get something that looks like:

And near the end of the logs we get what's more relevant which is which test caused this console.error output to happen:

But because throwing here seems to get me a similar result as when I used fail(), I'm going to go ahead and close this.


MNT: Added ppc64le support (v0.1.2) Re-rendered with conda-build 3.18.11, conda-smithy 3.6.5, and co…

…nda-forge-pinning 2019.12.02

Checklist

[ ] Used a fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Fix reload after submit and show message

Related Issue
Fixes:  #1476
Description
I add JS to prevent page to reload after submit and add div that show message after submit the email.

Type of PR

[x] Bug fix
[ ] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
Before :

After 👍

Checklist:

[x] I have made this change from my own.
[x] I have taken help from some online resources.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers and screenshots after making the changes.

@huamanraj Done Please check it !!


[ALLUXIO-1864] UnderStoreBlockInStream tests and fixes

https://alluxio.atlassian.net/browse/ALLUXIO-1864

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/9169/
Test PASSed.

@gpang Thanks for the fix, I left a high level comment.

@calvinjia Thanks for the review. I had a clarifying question about one of your comments.

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/9231/
Test PASSed.

Merged build finished. Test PASSed.

@gpang Thanks for the improvement! Left some minor comments.

@uronce-cc Updated the PR. Thanks for the review!

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/9239/
Test PASSed.

Merged build finished. Test PASSed.

LGTM

@calvinjia I updated the PR for the private method setUnderStoreStream() to take block position, not the absolute file position. Thanks!

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/9300/
Test PASSed.

LGTM

LGTM


where can I get  the Demo  version source code ？

like this UI：

That’s something we built ourselves for clients who want to use both the KT and the Studio

On Dec 18, 2024, at 7:56 PM, lwing1966 @.***> wrote:
like this UI：
image.png (view on web) https://github.com/user-attachments/assets/86b54555-c5fd-427f-aceb-40d3a1a3b92f
—
Reply to this email directly, view it on GitHub https://github.com/whyhow-ai/knowledge-table/issues/76, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEBRIQ5AJ7PZX5KVMWQFNND2GIKVPAVCNFSM6AAAAABT33KLKSVHI2DSMVQWIX3LMV43ASLTON2WKOZSG42DSMBSGI4TSMA.
You are receiving this because you are subscribed to this thread.

That’s something we built ourselves for clients who want to use both the KT and the Studio
…
On Dec 18, 2024, at 7:56 PM, lwing1966 @.***> wrote: like this UI： image.png (view on web) https://github.com/user-attachments/assets/86b54555-c5fd-427f-aceb-40d3a1a3b92f — Reply to this email directly, view it on GitHub <#76>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEBRIQ5AJ7PZX5KVMWQFNND2GIKVPAVCNFSM6AAAAABT33KLKSVHI2DSMVQWIX3LMV43ASLTON2WKOZSG42DSMBSGI4TSMA. You are receiving this because you are subscribed to this thread.

ok，I know it。mybe  something I must built myself。thx！


Version 1.0.31 does not work with latest version of Minecraft (1.20.6)

Game does not open and crashes whenever attempting to load the Indium client. Tried the following with non-expected results:

Downgrading the API version from latest  (0.100.0) to 0.99.4
Removing certain mods affected by Indium (DistantHorizons)
Downgrading Indium version (self-explanitory on what would happen)

Could you send the full crash report? This should be put in the crash-reports folder. The logs/latest.log file would also be helpful.

If i start the game it just says that indium 1.0.31 isnt compatible with sodium 0.5.9, only with 0.5.8

i also get this issue, with both indium versions for 1.20.6
it says it requires an older build of sodium (even on modrinth) with 1.20.4
when you download the build of sodium it requests, it still throws the same error found in the screenshot in the comment above mine

here is the latest log:
[15:33:18] [main/INFO]: Loading Minecraft 1.20.6 with Fabric Loader 0.15.11
[15:33:18] [ForkJoinPool-1-worker-7/WARN]: Mod com_github_fallen-breath_conditional-mixin uses the version v0.6.2 which isn't compatible with Loader's extended semantic version format (Could not parse version number component 'v0'!), SemVer is recommended for reliably evaluating dependencies and prioritizing newer version
[15:33:18] [main/WARN]: Mod resolution failed
[15:33:19] [main/INFO]: Immediate reason: [HARD_DEP_NO_CANDIDATE indium 1.0.31+mc1.20.4 {depends sodium @ [0.5.8]}, ROOT_FORCELOAD_SINGLE indium 1.0.31+mc1.20.4]
[15:33:19] [main/INFO]: Reason: [HARD_DEP indium 1.0.31+mc1.20.4 {depends sodium @ [0.5.8]}]
[15:33:19] [main/INFO]: Fix: add [], remove [], replace [[sodium 0.5.9+mc1.20.6] -> add:sodium 0.5.9 ([[0.5.9,0.5.9]]), [indium 1.0.31+mc1.20.4] -> add:indium 1 ([(-∞,∞)])]
[15:33:19] [main/ERROR]: Incompatible mods found!
net.fabricmc.loader.impl.FormattedException: Some of your mods are incompatible with the game or each other!
A potential solution has been determined, this may resolve your problem:
- Replace mod 'Sodium' (sodium) 0.5.9+mc1.20.6 with version 0.5.9 that is compatible with:
- indium, any version
- Replace mod 'Indium' (indium) 1.0.31+mc1.20.4 with any version that is compatible with:
- sodium, version 0.5.9
More details:
- Mod 'Indium' (indium) 1.0.31+mc1.20.4 requires version 0.5.8 of mod 'Sodium' (sodium), but only the wrong version is present: 0.5.9+mc1.20.6!
at net.fabricmc.loader.impl.FormattedException.ofLocalized(FormattedException.java:51) ~[fabric-loader-0.15.11.jar:?]
at net.fabricmc.loader.impl.FabricLoaderImpl.load(FabricLoaderImpl.java:195) ~[fabric-loader-0.15.11.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:146) ~[fabric-loader-0.15.11.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:68) [fabric-loader-0.15.11.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [fabric-loader-0.15.11.jar:?]

i have tried:
sodium 0.5.8 (1.20.6)
sodium 0.5.9 (1.20.6)
sodium 0.5.8 (1.20.4)

@TimPGamer @Benzeel Neither of these are the same issue. Indium has now been released for Sodium 0.5.9/0.5.10, please update.

Closing: insufficient information to diagnose issue


Deprecate single line library file format

This issue is to declare and track the intent to drop the single line format. This is mostly to make parsing errors clear (rather than the current of printing both errors and having the user guess which is the issue).
We don't have releases often, so it would make most sense to pick some dates at which it would begin printing warnings on the single line format and then a date at which it will fail to parse them.  Rough timeline would be to start warning sometime in September and then drop support at the end of the year.
Alternatively we could skip the warning period and just make a new release with single line parsing dropped since bashbrew is still pre 1.0. We would need to migrate any library files in official-images before the release.
(RFC 2822 manifest file format was added in June 2016: https://github.com/docker-library/official-images/pull/1793)

[ ] ~deprecate by adding warnings to bashbrew~ skipping

[ ] ~make a release~

[ ] remove single line parsing

[ ] make a release (maybe a major bump like 1.0)

[ ] convert any current library/ files in official-images to RFC 2822 format (grep -E ': (http|git).*@' library/*)

arangodb
clearlinux
couchbase
sourcemage
thrift

cc affected image maintainers:

arangodb: @fceller @dothebart @KVS85
clearlinux: @bryteise
couchbase: @ceejatec @cb-robot
(it would be good to add a human to the library/couchbase maintainers list)
sourcemage: @vaygr
thrift: @ahawkins

If you have automation producing your library/foo file content, please update it to generate the newer RFC2822-based format (if you don't take action, we'll be updating the files for you at some point) -- you can see the automatic conversion bashbrew has been doing below:
$ bashbrew cat arangodb
Maintainers: Frank Celler<EMAIL_ADDRESS>(@fceller), Wilfried Goesgens<EMAIL_ADDRESS>(@dothebart), Vadim Kondratyev<EMAIL_ADDRESS>(@KVS85)
GitFetch: refs/heads/*

Tags: 3.4, 3.4.10
GitRepo: https://github.com/arangodb/arangodb-docker
GitCommit: 26a907ab559d36823a7de6d1e2eeee24aeade1e2
Directory: alpine/3.4.10

Tags: 3.5, 3.5.5
GitRepo: https://github.com/arangodb/arangodb-docker
GitCommit: 26a907ab559d36823a7de6d1e2eeee24aeade1e2
Directory: alpine/<IP_ADDRESS>

Tags: 3.6, 3.6.5, latest
GitRepo: https://github.com/arangodb/arangodb-docker
GitCommit: 26a907ab559d36823a7de6d1e2eeee24aeade1e2
Directory: alpine/3.6.5

$ bashbrew cat clearlinux
Maintainers: William Douglas<EMAIL_ADDRESS>(@bryteise)
GitFetch: refs/heads/*

Tags: latest, base
GitRepo: git://github.com/clearlinux/docker-brew-clearlinux
GitCommit: 998f90b8d0b5262b0faf50033cb5d962596090de

$ bashbrew cat couchbase
Maintainers: Couchbase Docker Team<EMAIL_ADDRESS>(@couchbase)
GitFetch: refs/heads/*

Tags: latest, enterprise, 6.6.0, enterprise-6.6.0
GitRepo: https://github.com/couchbase/docker
GitCommit: f0ab8e5c7fc1091465097dc231cd5586f3eb7355
Directory: enterprise/couchbase-server/6.6.0

Tags: community, community-6.5.1
GitRepo: https://github.com/couchbase/docker
GitCommit: f17df7695bbd6efb756b90b683bd5f34d08b5708
Directory: community/couchbase-server/6.5.1

$ bashbrew cat sourcemage
Maintainers: Vlad Glagolev<EMAIL_ADDRESS>(@vaygr)
GitFetch: refs/heads/*

Tags: latest, 0.62
GitRepo: git://github.com/vaygr/docker-sourcemage
GitCommit: a03bbe3ae7bbb839c3c69afd4504ca336f7b9cb9
Directory: stable

$ bashbrew cat thrift
Maintainers: Adam Hawkins<EMAIL_ADDRESS>(@ahawkins)
GitFetch: refs/heads/*

Tags: 0.9, 0.9.3
GitRepo: git://github.com/ahawkins/docker-thrift
GitCommit: d322572f7dd6ea468a14a4d832fbec26f152c71e
Directory: 0.9

Tags: 0.10, 0.10.0
GitRepo: git://github.com/ahawkins/docker-thrift
GitCommit: e1f81dfe3e8fac5588e12d2b880166d1743dbecd
Directory: 0.10

Tags: 0.11, 0.11.0
GitRepo: git://github.com/ahawkins/docker-thrift
GitCommit: 00e197d889426695446baec4e034b5ddbb15bcb3
Directory: 0.11

Tags: 0.12, 0.12.0, latest
GitRepo: git://github.com/ahawkins/docker-thrift
GitCommit: d7e73876549d205898b1922bcbf69e74ef11c288
Directory: 0.12

Update for Clear Linux in https://github.com/docker-library/official-images/pull/8569

Update for ArangoDB in https://github.com/docker-library/official-images/pull/8578

(it would be good to add a human to the library/couchbase maintainers list)

Not sure I'm clear why? We keep the email alias we specify up-to-date with whoever is responsible for the images we author. If we specified individuals in the library/couchbase file, it would be duplicating that information, and possibly fall out of date.

(it would be good to add a human to the library/couchbase maintainers list)

Not sure I'm clear why? We keep the email alias we specify up-to-date with whoever is responsible for the images we author. If we specified individuals in the library/couchbase file, it would be duplicating that information, and possibly fall out of date.

It's very rare that we use the email address of the maintainers line (which is why it's actually optional in the official format) -- we almost exclusively communicate with image maintainers via GitHub mentions, so having to go look up a list of folks who've touched the file to give them a CC (and hope they're still involved in the image maintenance) is a bit tedious.

Ah, I see. Well, I did change the @ reference in our control file to be @cb-robot, which is a GitHub user account whose email address is associated with the same humans as our docker email list; hopefully that gets the job done!


Can we migrate Dynamics 365 Project Operation to another tenant?

Can we migrate Dynamics Project Operations Projects from one Tenant to another tenant?
How the task assignment resolved with user in destination tenant?
Should we need to submit Microsoft Support ticket for this?
Regards,
Senthil

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

ID: cf83baaf-d9eb-6e3d-1040-9ae94cd410db
Version Independent ID: ae37a7a0-1e5a-a2ef-72c8-bf6d2601cae1
Content: Migrate an environment to a different tenant - Power Platform
Content Source: power-platform/admin/move-environment-tenant.md
Service: power-platform
Sub-service: admin
GitHub Login: @matapg007
Microsoft Alias: matgupta

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


Add a way to change the Authenticator error handler added by WebAuthenticatorActivity

Retrying immediately after an error in WebAuthenticatorActivity authentication might be undesirable in some cases. For example, in Xamarin.Social's FacebookService, if the user does not have a username (username is optional on Facebook), GetUsernameAsync() throws an exception. The WebAuthenticatorActivity then repeatedly retries and fails, rapidly producing many error message pop-ups, with no way to stop them. Currently there's no easy way to change this default behavior.
For the particular case of FacebookService, another option might be to change GetUsernameAsync() to try the name field if accessing the username field fails.

no response since 2013


Webview scroll issue

I have pages witch contain webview, the content of webviews are different in size. if the content does not fill the view everything is fine, with large content there is some glitch when scrolling. sometimes i scrolling down and suddenly webview scroll to its top. and every time i hold finger to select text the page getting scrolled as well.
any help or note would be appreciated.
note: i use com.gigamole.infinitecycleviewpager.VerticalViewPager

Hello. Thanks for issue.
Its all about android. Can u provide any attachment.

I record a video from the emulator, it's not too accurate beacuase of frame drop but you will get the idea of what is happening.
Video

This example or your situation not response to ICVP. Its about WebView and it scroll.

tnx for your answer,
but No, the webview  itself is OK, if i use same webview with normal viewpager everything is fine, scrolling and selecting have normal behavior. if i use vertical viewpager the problem shows up.  i tested with other vertical viewpager library and their situation is worse, the problem with this lib is more acceptable. If you need i can share any part of code with you, or i can send you APK, one with normal view pager and one with your library


How to use profiles with connections (didexchange)?

I'm trying to establish a connection between 2 parties, Alice and Bob. Both use a separate profile in the same running instance of aries-agent-rest
Problem is, that I can create an invitation on Alice side and use it with Bob in /vcwallet/connect to run through didexchange protocol. How can Alice see the connection she created in her profile? How is the invitation linked to the profile?
I then thought, I create the invitation and lookup the connection to add it to the profile (right after invitation has been created), but it seems a connection entry doesn't exist at that point.
So, the general question is how (and/or when) an invitation is bound to a profile.
Any help appreciated. Thanks,
Matthias

vcwallet controller is universal wallet implementation from aries, and to be used for holder applications only and for typical did exchange I suggest you use didexchange, outofband, outofbandV2 controllers.
Also, currently vcwallet is not storing connection data model in wallet store.

@sudeshrshetty, are there any plans where vcwallet credential operations (propose, request, accept) could use didexchange, outofband, outofbandv2 established connections?

Let me even take it a step further, cause this could potentially simplify some things, are there plans from migrating credentials from verifiable to vcwallet?

Partial answer would https://github.com/hyperledger/aries-framework-go/issues/3106#issuecomment-1005652495


Users should be able to add captions to posts

Currently there is no way to add tags, or captions to posts.
The user should be able to add multiple tags on post creation. Possibly comma separated. It should be easy to add a tag. Tags should keep track of which posts have their tag.

15b29dc82aeb162b626799497baf7104bddfbfa2


support table and column comment

PR Info

Closes

Dependencies:
mysql create table add table and colunm comment #622

Dependents:

New Features

[x] support table and column comment for create_table_from_entity

Bug Fixes

[ ]

Breaking Changes

[ ]

Changes

[ ]

I'd love to have it working with PostgreSQL.
I just accidentally, that I can set comments on tables and columns with the migration DSL, which is great!
                Table::create()
                    .table(Primitive::Table)
                    .col(
                        ColumnDef::new(Cake::Name).string().not_null()
                        .comment("Human readable name ")
                    )
                    .comment("This table has description")
                    .to_owned(),

But it turned out it has no real  effect :(

The SeaQuery code has been merged. But seems it only addressed MySQL. We need the Postgres and SQLite implementation in SeaQuery too, before we can add this feature in SeaORM


WIFI-3055: Fix data metric reporting inconsistency

Inconsistency(gaps in reporting) was noticed when metrics were observed
for 24 hours.
Root Cause: One of the sockets created and used in SM for periodic network-probe reporting
was not getting closed. Due to this system wide limit for maximum open file descriptors
was getting exhausted over a period of time and thus not allowing to create any more
sockets to send data.
Signed-off-by: Yashvardhan<EMAIL_ADDRESS>

Merged b613c181, thanks


[tool_crash] FileSystemException Creation failed OS Error No such file or directory errno=2

%23%23 Command%0A%60%60%60%0Aflutter build ios --release%0A%60%60%60%0A%0A%23%23 Steps to Reproduce%0A1. ...%0A2. ...%0A3. ...%0A%0A%23%23 Logs%0AFileSystemException%3A Creation failed%2C OS Error%3A No such file or directory%2C errno %3D 2%0A%60%60%60%0A%230      _Directory.createSync %28dart%3Aio%2Fdirectory_impl.dart%3A133%3A7%29%0A%231      ForwardingDirectory.createSync %28package%3Afile%2Fsrc%2Fforwarding%2Fforwarding_directory.dart%3A20%3A16%29%0A%232      ErrorHandlingDirectory.createSync.%3Canonymous closure%3E %28package%3Aflutter_tools%2Fsrc%2Fbase%2Ferror_handling_io.dart%3A433%3A22%29%0A%233      _runSync %28package%3Aflutter_tools%2Fsrc%2Fbase%2Ferror_handling_io.dart%3A597%3A14%29%0A%234      ErrorHandlingDirectory.createSync %28package%3Aflutter_tools%2Fsrc%2Fbase%2Ferror_handling_io.dart%3A432%3A12%29%0A%235      EngineCachedArtifact.updateInner %28package%3Aflutter_tools%2Fsrc%2Fcache.dart%3A918%3A19%29%0A%3Casynchronous suspension%3E%0A%236      CachedArtifact.update %28package%3Aflutter_tools%2Fsrc%2Fcache.dart%3A812%3A5%29%0A%3Casynchronous suspension%3E%0A%237      Cache.updateAll %28package%3Aflutter_tools%2Fsrc%2Fcache.dart%3A681%3A9%29%0A%3Casynchronous suspension%3E%0A%238      FlutterCommand.verifyThenRunCommand %28package%3Aflutter_tools%2Fsrc%2Frunner%2Fflutter_command.dart%3A1271%3A7%29%0A%3Casynchronous suspension%3E%0A%239      FlutterCommand.run.%3Canonymous closure%3E %28package%3Aflutter_tools%2Fsrc%2Frunner%2Fflutter_command.dart%3A1161%3A27%29%0A%3Casynchronous suspension%3E%0A%2310     AppContext.run.%3Canonymous closure%3E %28package%3Aflutter_tools%2Fsrc%2Fbase%2Fcontext.dart%3A150%3A19%29%0A%3Casynchronous suspension%3E%0A%2311     CommandRunner.runCommand %28package%3Aargs%2Fcommand_runner.dart%3A209%3A13%29%0A%3Casynchronous suspension%3E%0A%2312     FlutterCommandRunner.runCommand.%3Canonymous closure%3E %28package%3Aflutter_tools%2Fsrc%2Frunner%2Fflutter_command_runner.dart%3A281%3A9%29%0A%3Casynchronous suspension%3E%0A%2313     AppContext.run.%3Canonymous closure%3E %28package%3Aflutter_tools%2Fsrc%2Fbase%2Fcontext.dart%3A150%3A19%29%0A%3Casynchronous suspension%3E%0A%2314     FlutterCommandRunner.runCommand %28package%3Aflutter_tools%2Fsrc%2Frunner%2Fflutter_command_runner.dart%3A229%3A5%29%0A%3Casynchronous suspension%3E%0A%60%60%60%0A%60%60%60%0A%5B%E2%9C%93%5D Flutter %28Channel stable%2C 2.10.1%2C on macOS 12.1 21C52 darwin-arm%2C locale zh-Hans-CN%29%0A    %E2%80%A2 Flutter version 2.10.1 at %2FUsers%2Fnas%2FNasFlutter%2Fflutter%0A    %E2%80%A2 Upstream repository https%3A%2F%2Fgithub.com%2Fflutter%2Fflutter.git%0A    %E2%80%A2 Framework revision db747aa133 %288 days ago%29%2C 2022-02-09 13%3A57%3A35 -0600%0A    %E2%80%A2 Engine revision ab46186b24%0A    %E2%80%A2 Dart version 2.16.1%0A    %E2%80%A2 DevTools version 2.9.2%0A    %E2%80%A2 Pub download mirror https%3A%2F%2Fpub.flutter-io.cn%0A    %E2%80%A2 Flutter download mirror https%3A%2F%2Fstorage.flutter-io.cn%0A%0A%5B%E2%9C%93%5D Android toolchain - develop for Android devices %28Android SDK version 31.0.0%29%0A    %E2%80%A2 Android SDK at %2FUsers%2Fnas%2FLibrary%2FAndroid%2Fsdk%0A    %E2%80%A2 Platform android-31%2C build-tools 31.0.0%0A    %E2%80%A2 Java binary at%3A %2FApplications%2FAndroid Studio.app%2FContents%2Fjre%2FContents%2FHome%2Fbin%2Fjava%0A    %E2%80%A2 Java version OpenJDK Runtime Environment %28build 11.0.11%2B0-b60-7772763%29%0A    %E2%80%A2 All Android licenses accepted.%0A%0A%5B%E2%9C%93%5D Xcode - develop for iOS and macOS %28Xcode 13.2.1%29%0A    %E2%80%A2 Xcode at %2FApplications%2FXcode.app%2FContents%2FDeveloper%0A    %E2%80%A2 CocoaPods version 1.11.2%0A%0A%5B%E2%9C%93%5D Chrome - develop for the web%0A    %E2%80%A2 Chrome at %2FApplications%

HI @JiJiBo, Please update the issue description with English characters looks when you copied the logs from the console it got encoded to some other form probably hexadecimal characters.

dupe? https://github.com/flutter/flutter/issues/68958


Model training does not train well on custom dataset POSEC3D

I used the tutorial from mmaction docs POSEC3D. Aim is to classify lameness (i use two classes (0,1))
My config: I have annotated 2D keypoints that i used to develop the .pkl file according tommaction2 tutorial. Just adding reference config file and outcome. Would be great to hear what I am missing.
model = dict(
    type='Recognizer3D',
    backbone=dict(
        type='ResNet3dSlowOnly',
        depth=50,
        pretrained=None,
        in_channels=17,
        base_channels=32,
        num_stages=3,
        out_indices=(2, ),
        stage_blocks=(4, 6, 3),
        conv1_stride_s=1,
        pool1_stride_s=1,
        inflate=(0, 1, 1),
        spatial_strides=(2, 2, 2),
        temporal_strides=(1, 1, 2),
        dilations=(1, 1, 1)),
    cls_head=dict(
        type='I3DHead',
        in_channels=512,
        num_classes=2, # Change here
        spatial_type='avg',
        dropout_ratio=0.5),
    train_cfg=dict(),
    test_cfg=dict(average_clips='prob'))

dataset_type = 'PoseDataset'
ann_file_train = 'custom_dataset_train.pkl'
ann_file_val = 'custom_dataset_val.pkl'
left_kp = [1, 3, 5, 7, 9, 11, 13, 15]
right_kp = [2, 4, 6, 8, 10, 12, 14, 16]
train_pipeline = [
    dict(type='UniformSampleFrames', clip_len=48),
    dict(type='PoseDecode'),
    dict(type='PoseCompact', hw_ratio=1., allow_imgpad=True),
    dict(type='Resize', scale=(-1, 64)),
    dict(type='RandomResizedCrop', area_range=(0.56, 1.0)),
    dict(type='Resize', scale=(56, 56), keep_ratio=False),
    #dict(type='Flip', flip_ratio=0.5, left_kp=left_kp, right_kp=right_kp),
    dict(
        type='GeneratePoseTarget',
        sigma=0.6,
        use_score=True,
        with_kp=True,
        with_limb=False),
    dict(type='FormatShape', input_format='NCTHW'),
    dict(type='Collect', keys=['imgs', 'label'], meta_keys=[]),
    dict(type='ToTensor', keys=['imgs', 'label'])
]
val_pipeline = [
    dict(type='UniformSampleFrames', clip_len=48, num_clips=1, test_mode=True),
    dict(type='PoseDecode'),
    dict(type='PoseCompact', hw_ratio=1., allow_imgpad=True),
    dict(type='Resize', scale=(-1, 64)),
    dict(type='CenterCrop', crop_size=64),
    dict(
        type='GeneratePoseTarget',
        sigma=0.6,
        use_score=True,
        with_kp=True,
        with_limb=False),
    dict(type='FormatShape', input_format='NCTHW'),
    dict(type='Collect', keys=['imgs', 'label'], meta_keys=[]),
    dict(type='ToTensor', keys=['imgs'])
]
test_pipeline = [
    dict(
        type='UniformSampleFrames', clip_len=48, num_clips=10, test_mode=True),
    dict(type='PoseDecode'),
    dict(type='PoseCompact', hw_ratio=1., allow_imgpad=True),
    dict(type='Resize', scale=(-1, 64)),
    dict(type='CenterCrop', crop_size=64),
    dict(
        type='GeneratePoseTarget',
        sigma=0.6,
        use_score=True,
        with_kp=True,
        with_limb=False,
        double=True,
        left_kp=left_kp,
        right_kp=right_kp),
    dict(type='FormatShape', input_format='NCTHW'),
    dict(type='Collect', keys=['imgs', 'label'], meta_keys=[]),
    dict(type='ToTensor', keys=['imgs'])
]
data = dict(
    videos_per_gpu=16,
    workers_per_gpu=2,
    test_dataloader=dict(videos_per_gpu=1),
    train=dict(
        type=dataset_type,
        ann_file=ann_file_train,
        data_prefix='',
        class_prob={i: 1 + int(i >= 60)
                    for i in range(120)},
        pipeline=train_pipeline),
    val=dict(
        type=dataset_type,
        ann_file=ann_file_val,
        data_prefix='',
        pipeline=val_pipeline),
    test=dict(
        type=dataset_type,
        ann_file=ann_file_val,
        data_prefix='',
        pipeline=test_pipeline))
# optimizer
optimizer = dict(
    type='SGD', lr=0.0001, momentum=0.9,
    weight_decay=0.0003)  # this lr is used for 8 gpus
optimizer_config = dict(grad_clip=dict(max_norm=40, norm_type=2))
# learning policy
lr_config = dict(policy='CosineAnnealing', by_epoch=False, min_lr=0)
total_epochs = 70
checkpoint_config = dict(interval=10)
workflow = [('train', 10)]
evaluation = dict(
    interval=10,
    metrics=['top_k_accuracy', 'mean_class_accuracy'],
    topk=(1, 5))
log_config = dict(
    interval=20, hooks=[
        dict(type='TextLoggerHook'),
    ])
dist_params = dict(backend='nccl')
log_level = 'INFO'
work_dir = './work_dirs/posec3d/slowonly_r50_u48_240e_ntu120_xsub_keypoint'
load_from = 'slowonly_r50_u48_240e_ntu120_xsub_keypoint-6736b03f.pth'
resume_from = None
find_unused_parameters = False

2022-12-08 17:19:04,812 - mmaction - INFO - Evaluating top_k_accuracy ...
2022-12-08 17:19:04,812 - mmaction - INFO -
top1_acc        0.5385
top5_acc        1.0000
2022-12-08 17:19:04,812 - mmaction - INFO - Evaluating mean_class_accuracy ...
2022-12-08 17:19:04,812 - mmaction - INFO -
mean_acc        0.5000
2022-12-08 17:19:04,874 - mmaction - INFO - Now best checkpoint is saved as best_top1_acc_epoch_10.pth.
2022-12-08 17:19:04,874 - mmaction - INFO - Best top1_acc is 0.5385 at 10 epoch.
2022-12-08 17:19:04,874 - mmaction - INFO - Epoch(val) [10][1]  top1_acc: 0.5385, top5_acc: 1.0000, mean_class_accuracy: 0.5000
2022-12-08 17:20:12,297 - mmaction - INFO - Saving checkpoint at 20 epochs
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] 13/13, 18.8 task/s, elapsed: 1s, ETA:     0s2022-12-08 17:20:13,110 - mmaction - INFO - Evaluating top_k_accuracy ...
2022-12-08 17:20:13,111 - mmaction - INFO -
top1_acc        0.5385
top5_acc        1.0000
2022-12-08 17:20:13,111 - mmaction - INFO - Evaluating mean_class_accuracy ...
2022-12-08 17:20:13,111 - mmaction - INFO -
mean_acc        0.5000
2022-12-08 17:20:13,111 - mmaction - INFO - Epoch(val) [20][1]  top1_acc: 0.5385, top5_acc: 1.0000, mean_class_accuracy: 0.5000
2022-12-08 17:21:20,248 - mmaction - INFO - Saving checkpoint at 30 epochs
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] 13/13, 18.8 task/s, elapsed: 1s, ETA:     0s2022-12-08 17:21:21,056 - mmaction - INFO - Evaluating top_k_accuracy ...
2022-12-08 17:21:21,056 - mmaction - INFO -
top1_acc        0.5385
top5_acc        1.0000
2022-12-08 17:21:21,056 - mmaction - INFO - Evaluating mean_class_accuracy ...
2022-12-08 17:21:21,057 - mmaction - INFO -
mean_acc        0.5000
2022-12-08 17:21:21,057 - mmaction - INFO - Epoch(val) [30][1]  top1_acc: 0.5385, top5_acc: 1.0000, mean_class_accuracy: 0.5000
2022-12-08 17:22:29,102 - mmaction - INFO - Saving checkpoint at 40 epochs
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] 13/13, 17.4 task/s, elapsed: 1s, ETA:     0s2022-12-08 17:22:29,965 - mmaction - INFO - Evaluating top_k_accuracy ...
2022-12-08 17:22:29,966 - mmaction - INFO -
top1_acc        0.5385
top5_acc        1.0000
2022-12-08 17:22:29,966 - mmaction - INFO - Evaluating mean_class_accuracy ...
2022-12-08 17:22:29,966 - mmaction - INFO -
mean_acc        0.5000
2022-12-08 17:22:29,966 - mmaction - INFO - Epoch(val) [40][1]  top1_acc: 0.5385, top5_acc: 1.0000, mean_class_accuracy: 0.5000
2022-12-08 17:23:38,353 - mmaction - INFO - Saving checkpoint at 50 epochs
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] 13/13, 17.1 task/s, elapsed: 1s, ETA:     0s2022-12-08 17:23:39,238 - mmaction - INFO - Evaluating top_k_accuracy ...
2022-12-08 17:23:39,238 - mmaction - INFO -
top1_acc        0.5385
top5_acc        1.0000
2022-12-08 17:23:39,238 - mmaction - INFO - Evaluating mean_class_accuracy ...
2022-12-08 17:23:39,238 - mmaction - INFO -
mean_acc        0.5000
2022-12-08 17:23:39,239 - mmaction - INFO - Epoch(val) [50][1]  top1_acc: 0.5385, top5_acc: 1.0000, mean_class_accuracy: 0.5000
2022-12-08 17:24:47,316 - mmaction - INFO - Saving checkpoint at 60 epochs
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] 13/13, 18.1 task/s, elapsed: 1s, ETA:     0s2022-12-08 17:24:48,164 - mmaction - INFO - Evaluating top_k_accuracy ...
2022-12-08 17:24:48,164 - mmaction - INFO -
top1_acc        0.5385
top5_acc        1.0000
2022-12-08 17:24:48,165 - mmaction - INFO - Evaluating mean_class_accuracy ...
2022-12-08 17:24:48,165 - mmaction - INFO -
mean_acc        0.5000
2022-12-08 17:24:48,165 - mmaction - INFO - Epoch(val) [60][1]  top1_acc: 0.5385, top5_acc: 1.0000, mean_class_accuracy: 0.5000
2022-12-08 17:25:55,887 - mmaction - INFO - Saving checkpoint at 70 epochs
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] 13/13, 18.2 task/s, elapsed: 1s, ETA:     0s2022-12-08 17:25:56,747 - mmaction - INFO - Evaluating top_k_accuracy ...
2022-12-08 17:25:56,747 - mmaction - INFO -
top1_acc        0.5385
top5_acc        1.0000
2022-12-08 17:25:56,747 - mmaction - INFO - Evaluating mean_class_accuracy ...
2022-12-08 17:25:56,747 - mmaction - INFO -
mean_acc        0.5000
2022-12-08 17:25:56,748 - mmaction - INFO - Epoch(val) [70][1]  top1_acc: 0.5385, top5_acc: 1.0000, mean_class_accuracy: 0.5000

Also get this class prob as 1 and 2. Not sure what it means.
data = dict(
    videos_per_gpu=16,
    workers_per_gpu=2,
    test_dataloader=dict(videos_per_gpu=1),
    train=dict(
        type='PoseDataset',
        ann_file=
        'local path/custom_dataset_train.pkl',
        data_prefix='',
        class_prob=dict({
            0: 1,
            1: 1,
            60: 2,
            61: 2,

Hi, mukeshnarendran7, without enough context I'm not sure what is the problem, but a reasonable guess is that you have too little training examples, and the learning rate is too small (you set it as 1e-4). It seems that the model didn't learn anything (validation acc is always the same).

Hey kennymckormick thanks for getting back. I for sure have very little training and test sample and I guess it might relate to the low validation loss.
Is there a RGB-POSEC3D model for usage or the models in this repo (posec3d) pertain only to skeletal action recognition via joint info (x,y, z)

Now we also provide RGBPoseConv3D in PYSKL.


Update contact_form link

Does this repo grab data from the contact-congress repo for contact links? That repo is perhaps the most up to date for contact form links.

If the other repo is being maintained better, we can drop the field from this one maybe?


Installation : implements symbolic links in script edockerinstall.sh

Create symbolic links in a folder pointing to sh scripts
README: update PATH: PATH=$PATH:{edocker-links-path}

This issue was moved to pamtrak06/edjanger#23


Lenses on Generic Records

Are there any suggested practices for declaring lenses on generic records?
type Record<'a> =
    { Data : 'a }
    static member data_ = (fun x -> x.Data), (fun v x -> { x with Data = v })

In this case, data_ is inferred to have type (Record<obj> -> obj) * (obj -> Record<obj> -> Record<obj>) aka Lens<Record<obj>, obj>.
Placing it as a module function without any explicit types sort of works:
module Record =
    let data_ = (fun x -> x.Data), (fun v x -> { x with Data = v })

but it infers a too general type of (Record<'a> -> 'a) * ('b -> Record<'b> -> Record<'b>) rather than the lens type of (Record<'a> -> 'a) * ('a -> Record<'a> -> Record<'a>).
It's possible to explicitly provide the types:
type Record<'a> =
    { Data : 'a }
    static member data_: Lens<Record<'a>,'a> = (fun x -> x.Data), (fun v x -> { x with Data = v })

But obviously with longer signatures inside records this becomes incredibly unwieldy, as per this example from my own project:
let properties_ : Lens<StructureDescription<'a>, (string * Parser<'a -> 'a, unit>) list> = (fun x -> x.properties), (fun v x -> { x with properties = v })

What's the best way of declaring these?

Hmmm, I haven't got any magic trick there, I tend to just have a few more line breaks. So for example, I'd write the record and lens above as:
type Record<'a> =
    { Data : 'a }

    static member data_ : Lens<Record<'a>,'a> =
        (fun x -> x.Data), (fun v x -> { x with Data = v })

And potentially (when the individual getters and setters start also getting verbose) as:
type Record<'a> =
    { Data : 'a }

    static member data_ : Lens<Record<'a>,'a> =
        (fun x -> x.Data),
        (fun v x -> { x with Data = v })

Obviously that's not any more minimal, but I've found it readable. One of those two options tends to be my general rule.

To add as well, I would only generally annotate in terms of types where needed - in this case it does matter due to the generic type of course.

Yeah. I usually use a helper function to declare them with a nice type:
let inline lens<'a, 'b> get set : Lens<'a, 'b> = (get, set)

Unfortunately it's not compatible with generic records, so I've omitted their usage in this example.

Yes - generic records seem like they're likely to remain an irritating edge case I think, in the absence of any major changes to F#. It does work as it is, but as you say, it can be more verbose than we'd like, sadly. I've always ended up aiming at the most readable short-lines layout, and going with that.

Thanks for your insight on this.
I'd reckon that adding this to the usage guide would be helpful. It's definitely worth making it explicit that users will need to handle the generic records differently.

Yes you're right. https://github.com/xyncro/sites-xyncro.tech/issues/1 - I'll look at that, it's a guide I'd planned to write, and this reminds me!

Well, with that, I think we can consider this resolved. Thank you for your prompt responses and really useful library!

No problem at all - I'm always happy when people find things useful! More issues and thoughts will always be welcome. :)


Enhance User Experience and Functionalities of MedStats

🎇 Description

There is a possibility to enhance the "add to record" section. Currently, it accepts random text inputs, but it needs a validation mechanism to determine the relevance of the input, which will dictate the displayed status. Currently, it shows "poor" for every random input. Instead, it should check the symptoms and medications and show the status accordingly.

The appearance of the progress bar is not visually appealing and lacks synchronization with the 'add to record' section. The concept behind this is that when a user adds a record, the progress bar should automatically incorporate a node that conveys health status through various colors:

Healthy - Green

Improving - Yellow

Fair - Orange

Poor - Red

When the user hovers over a single node, it should present the following information:

The date when the user's health condition was categorized.
The specific health status, such as healthy, poor, improved, or fair.

This approach transforms the progress bar into a valuable tool for users to navigate their health status, analyze their progress in a colorful and engaging manner, and negates the need to search for specific records in the records section using the search bar or calendar feature.

If more nodes are added, the user should be able to scroll left or right.

Additionally, if a user wishes to access a specific node to view a comprehensive record for that date, clicking on the node should trigger a speech bubble displaying the entire record. This should include symptoms, medication details, the date, and health status.

The footer should be impressive and consistent across all pages.

The scrollbar should be the same across all pages.

Note for the Contributors:
If you're interested in working on any of these issues, please follow these steps:

Comment below with 'I want to work on it.'
Create a new issue describing the problem you intend to solve and your proposed solution.

🖼 Screenshots
N/A

When the user hovers over a single node, it should present the following information:
The date when the user's health condition was categorized.
The specific health status, such as healthy, poor, improved, or fair.
I can make popup when users click a node in  progress bar .It will show the date when the user's health condition was categorized and the specific health status, such as healthy, poor, improved, or fair.
I want to work on it.If you want .👍

When the user hovers over a single node, it should present the following information:

The date when the user's health condition was categorized.
The specific health status, such as healthy, poor, improved, or fair.

I can make popup when users click a node in progress bar .It will show the date when the user's health condition was categorized and the specific health status, such as healthy, poor, improved, or fair.
I want to work on it.If you want .👍

Please report an issue for this,

I would love to work on UI Improvement of the  site also made a little change also

I would love to work on UI Improvement of the site also made a little change also

Sure, please create a new issue for this.


A way to add custom code to header/body tags

I have a use case where I would like to add custom content before the </head> tag. #150 implements that. Users can add locally (either in their overriding theme or in the root directory) add /layouts/partials/overrides/header.html and the content is printed at that location.
I see multiple uses for this, after <body>, before </body>...

Hey @davidsneighbour
I merged this pull request. Thanks for being with themefisher.


"Crișeni", "Cușmed", "Inlăceni" and "Șiclod" are listed in the drop-down menu

Description:
"Crișeni", "Cușmed", "Inlăceni" and "Șiclod" are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Crișeni" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Crișeni, HARGHITA (Atid)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Type "Cușmed" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Cușmed, HARGHITA (Atid)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Type "Inlăceni" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Inlăceni, HARGHITA (Atid)".

Step 7
Type "Șiclod" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Șiclod, HARGHITA (Atid)".


Quick fix - option to reorder or opt out.

Describe the feature
For code that has an error, Genie takes the top spot in the quick fix menu. For a significant chunk of these errors, either it's code in progress or there's a missing import that one can quickly take care of via the quick fix menu (see the screenshot for an example).
Can you provide an option to put these actions at the end instead of the beginning? If that's not easily doable, can you provide an option to get rid of the quick actions entirely?
Also, it's worth noting that duplicates show if there are multiple actions (also shown in the screenshot). If that's by design (the error message is used in the prompt), it may be nice to provide the user with some context as to which error they're asking about.

Hi there - thanks for the suggestion. We addressed this in the recent release by appending the real error along with the error codde to the quickfix suggestion


Hosting startup netfx bin+GAC & startup hook resource

Fixes #12574
Start at LINE 316 here. There are some tiny nit updates on the lines leading up to that point that you can ignore.
Internal Review Topic (Project bin folder section direct link)

Consume hosting startup assembly from load context or GAC when targeting .NET Framework
I based the lingo on this PR from a convo between D.F. 🦆 and a community member (email chain). I can forward that convo to you, if needed.

Startup hook

From a prior discussion, you said it should be documented in .NET Core docs, not here.
Point of confusion tho: I was going to cross-link to the design doc in the dotnet/core-setup repo and version the added Additional resources section for 3.0+.
THEN... I found startup hooks described in the .NET Core docs: What's new for 2.2 topic. Not realizing that this text existed over there (and thinking that startup hooks are for 3.0+), I opened Host startup hooks (dotnet/docs #11585) for them to work.

I'd like to cross-link now to the .NET Core What's new bit (as I show on this PR), but is that wrong? Should they have startup hooks documented in their What's new 3.0 topic?
If they need to move the startup hooks content from their 2.2 to their 3.0 What's new topic, I'll let them know and change this PR to make the Additional resources section for 3.0+ and cross-link directly to the design doc.
An alternative here is to strip this versioned Additional resources section (for now perhaps).

The linked startup hooks feature is unrelated this Hosting Startup assemblies feature. It's much lower level and more limited in what you can affect (primarily statics).

Yeah, not sure why they call it a 2.2 feature, I though startup hooks were 3.0. @jkotalik ?

The linked startup hooks feature is unrelated this Hosting Startup assemblies feature.

Gotcha ... thx. Good ... my not adding a link in Additional resources turned out well. I'll update the title here.

I thought startup hooks were 3.0.

I'll let them know if they need to change that once we know here.

I recall my thinking on having that link there in Additional Resources to the startup hook. I know that it's unrelated. I had the cross-link to surface that approach. However, I surmise now based on your remark that it's too unrelated to hosting startup to be cross-linked here.
I removed it. We're good. :+1:

@Rick-Anderson We can go ahead with our internal review+merge. The question for Justin pertains to an unrelated issue on the .NET Core docs side that I'll address separately.


Upgrade Error

New update results in ERROR.
That is not the first time that happens.
Fedora 36

This issue isn't actionable, please fill out the template.


Load images from json file

Hello and congratulation for this great directive.
I want to ask is there a way to load images from a json file and not inside the controller.
If I do so, i think it doesn't load the json file in time to show it.
Can you help me with this?
Thank you in advance.

You can easily load images from a json file. Make $http call from controller for the json file and assign the result to items.

I am doing this:
$http.get('gallery.json').then(function (result) {
$scope.photos = result.data;
console.log($scope.photos);
}, function (err) {
 console.log(err);
});
but it still doesn't load them.
The error logs is:
"TypeError: Cannot read property 'length' of undefined"
I think the directive doesn't wait for the controller to load the json data.
Is that right? Is there a way to make it work?

I have faced this issue.  you have to $scope.photos = [ ] before making the http call

You are the best :)
I can't believe it was that simple.
Thank you very much.

 You can't pass to the directive an undefined array for items


Add dependabot

This PR adds dependabot config

Thanks for the PR. It seems that what you are trying to add is a template that does not care about this project's actual status. For example we do not use docker.
Instead, I would like to use a copy of my project's dependabot config (but for this repo, I would like to change the update interval to weekly).

Yep, done


Draft : update messages.po

I've taken the liberty to rename with a "draft: " prefix so that I know that I should not review this, please change it when ready :)

@ptbrowne I've just commited my changes. Hope I've done it right ;-) It would be ready to merge


Safari menu pop overs fail to open

If you load the homepage in safari, the menu pop-overs fail to open 'onClick'.
Fix this since iOS/safari has the same problem with the hamburger menu.
Since Safari is # 2 mobile browswer at 25% market share ^1 this is worth fixing. FYI Chrome is ~2/3rds market share.

Look at merch.deno.dev example


Bugfix/lock period validation

A user reported this issue:

Hey, it's impossible to stake, always an error on the "extend time" zone
it's compulsory to put 0

I updated the handling on the locking period. If people cannot extend the lock time, the weeks input field is disabled with zero as a default value.

This is ok for now (assuming there are no performance issues), but the way you're calling functions in the component body is causing them to be run on every render, whereas the code should be written so that they're only called when they need to be (i.e. when a specific value is changed or an action taken).
I don't want to get into this discussion now as we need to get the release out, but once kBTC has been launched I'll set some time aside to talk this through as it's something we need to address before we start development on our next set of features.

That sounds good.
For this point, actually, I have something to discuss and agree on. I think there's a difference in our development paradigms. Let's talk them then.

Maybe related: I noticed some performance issues on the staking page that are likely related to this.

Maybe related: I noticed some performance issues on the staking page that are likely related to this.

Thanks Dom - we've got release testing on Friday, so I'll flag with Nikolai and Theo as something to keep an eye on. If it's noticeable we may have to fix ahead of launch (but hopefully not!).

Maybe related: I noticed some performance issues on the staking page that are likely related to this.

I don't think it's related to this because it's not expensive calculation but let's see. A lot of re-rendering due to redux is problematic actually.

Might be redux. I'm not sure - the behavior I observed is that if you leave the app open for a while it starts eating resources in the browser.
But for launch, I think it's alright!


RenderTarget::Builder example

I want to know mush about the use of RenderTarget.
But there is no samples.
Such as I want to render a view in offscreen RenderTarget and then render the offscreen one in screen RenderTarget. Because I will render the offscreen one in other graphic engine.

You can look at lucy_bloom.cpp or sample-gltf-bloom/.../MainActivity.kt at this commit but yes we should provide a simple demo.

Here are links to the source files that I mentioned:
lucy_bloom.cpp
sample-gltf-bloom/.../MainActivity.kt

Because I will render the offscreen one in other graphic engine.

What's the other graphic engine?  What are you trying to achieve?  Filament's RenderTarget API is meant for when you use Filament to render, not an outside engine.

Thanks a lot!

Because I will render the offscreen one in other graphic engine.

What's the other graphic engine? What are you trying to achieve? Filament's RenderTarget API is meant for when you use Filament to render, not an outside engine.

I use Filament's RenderTarget to render 3D object to offscreen FrameBuffer.
And I render the FrameBuffer texture to  other graphic engine.
That is my purpose.
Simply :
Filament to render.
Other graphic engine render to screen.

Because I will render the offscreen one in other graphic engine.

What's the other graphic engine? What are you trying to achieve? Filament's RenderTarget API is meant for when you use Filament to render, not an outside engine.

I use Filament's RenderTarget to render 3D object to offscreen FrameBuffer.
And I render the FrameBuffer texture to other graphic engine.
That is my purpose.
Simply : Filament to render. Other graphic engine render to screen.

HI, i met the same need. How can you make offscreen-rendering work. i use the importTexture api to convert a opengles texture to filament texture, and regard it as color attachment of render-target.However, i didn't make it. Is it convinient for you to share you core or demo? thanks.


Move NavigationMeshEditorPlugin to Recast module as should be

Modules can register their own editor plugins (like GridMap does), so there is no need to put module-specific classes in the editor/ folder.
Also cleans up the previous SCons env pollution from the Recast module, integrating its code into libmodules as other modules.
@SaracenOne I guess you based your initial SCsub on the freetype one, but it's a bad example as FreeType is needed by the core stuff, while recast is only needed for the editor and can be registered in its register_types.cpp file as other modules do. As such it can be built isolated in its own environment without impacting the rest of the build.
This needs testing to make sure it still works as it used to before merging, I've just tested the build so far.

In my tests it seems to be behave, I'll merge for now as I want to do more buildsystem enhancements. Would still be nice if someone who knows how to use NavigationMeshEditorPlugin gave it a check in the master branch.

Now that Godot 3.1 has been released, we don't plan to cherry-pick new features and enhancements to the 3.0 branch, unless there is very strong support in favor of it. Removing cherrypick label for 3.0.


enhancement/issue-#1508

Fixes#1508 "please check your password" -> "please check your username and password"
-changed string resources login_failed_username and login_failed_username to "please check your username
and password"
Change improves security of the login process.
Tested on Nexus 5X API 23 emulator, with betaDebug build

Codecov Report

Merging #1513 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master   #1513   +/-   ##
======================================
  Coverage    3.14%   3.14%
======================================
  Files         136     136
  Lines        7381    7381
  Branches      714     714
======================================
  Hits          232     232
  Misses       7134    7134
  Partials       15      15

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 6ab6a21...f64f41e. Read the comment docs.

Sorry but this changes already been implemented on #1512 . You can pick another beginner friendly task:)


fix: updated deps

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


fix: properly resolve types when using TypeScript's latest module resolution strategy

Types of changes

[ ] Chore (a non-breaking change which is related to package maintenance)
[x] Bug fix (a non-breaking change which fixes an issue)
[ ] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description
This PR fixes the bug described in https://github.com/prismicio/prismic-typescript-template/pull/27
Checklist:

[ ] My change requires an update to the official documentation.
[x] All TSDoc comments are up-to-date and new ones have been added where necessary.
[x] All new and existing tests are passing.

Codecov Report

Merging #182 (ef110a7) into master (436ebd9) will increase coverage by 0.12%.
The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##           master     #182      +/-   ##
==========================================
+ Coverage   99.44%   99.56%   +0.12%
==========================================
  Files          21       20       -1
  Lines        2531     2540       +9
  Branches      129      129
==========================================
+ Hits         2517     2529      +12
+ Misses         14       11       -3

Impacted Files
Coverage Δ

src/index.ts
100.00% <ø> (ø)

src/PrismicImage.tsx
100.00% <100.00%> (ø)

src/PrismicText.tsx
100.00% <100.00%> (ø)

src/PrismicToolbar.tsx
100.00% <100.00%> (ø)

src/SliceZone.tsx
99.09% <100.00%> (+<0.01%)
:arrow_up:

src/react-server/PrismicLink.tsx
100.00% <100.00%> (ø)

src/react-server/PrismicRichText.tsx
99.29% <100.00%> (+<0.01%)
:arrow_up: