nbsphinx strips backslash from color keyword in array math environment

We've encountered an issue where nbconvert succeeds and nbsphinx fails in a array equation environment.  Specifically, this notebook markdown:
https://github.com/phaustin/nbsphinx_issue/blob/master/Lec5_Euler_debug.py#L54-L63
Is successfully translated in to \color calls  by jupyter nbconvert --to html
https://github.com/phaustin/nbsphinx_issue/blob/master/Lec5_Euler_debug_nbconvert.html#L11804
but nbsphinx removes the backslash:
https://github.com/phaustin/nbsphinx_issue/blob/master/Lec5_Euler_debug_nbsphinx.html#L369

I'm trying a different approach for replacing the JSON-based notebook format: https://github.com/mgeier/jupyter-format/
This is how your eosc213_students project would look like when using my new format: https://github.com/mgeier/eosc213_students
What do you think about it?

It's definitely readable, but  are there other benefits that would make it a substitute for jupytext py:percent?  For us, making the primary repo format executable python has the major advantage that we can seamlessly move the students from notebooks to editing scripts/modules using vscode or pycharm.  Our students are also a mixture of R and python users, so being able to let them use Rmd if they want for their projects a plus.   So if .jupyter was compelling then our workflow would probably be .jupyter -> py:percent/Rmd -> ipynb

are there other benefits that would make it a substitute for jupytext py:percent?

Arguably, my format is more readable because you don't have # everywhere.
But I'm not really trying to make a substitute for py:percent (which has valid use cases), I'm trying to make a substitute for the original JSON-based .ipynb format.
AFAIK py:percent cannot store output cells, right?
I'm looking for a full .ipynb replacement, including output cells.

For us, making the primary repo format executable python has the major advantage that we can seamlessly move the students from notebooks to editing scripts/modules using vscode or pycharm.

I agree that it's very useful to convert notebooks to Python scripts, but I don't see the necessity for enabling a round-trip back from Python scripts to notebooks.

let them use Rmd if they want for their projects a plus.

Sure, if people want to use Rmd they should be able to, and there is nothing speaking against it.
jupytext is a great tool to enable that, and with nbsphinx_custom_formats this can also be used in nbsphinx.
But Rmd is IMHO not a reasonable full replacement for .ipynb files.
My idea is to fully replace the JSON-based .ipynb format in all official Jupyter tools at some point (in the far future).

I see -- for us there are two main features we get out of making python the archival storage format for notebooks:

clean diffs for version control -- we run  black, flake8 and reorder_python_imports with a pre-commit hook.  Having the output stripped, and whitespace etc. standardardized really helps with git history.

using real editors for code refactoring, global search and replace.  The vscode codelens that recognizes the py:percent format is pretty nice.

We keep the ipynb files with output in a separate directory and typically don't commit them to a repo. The exception is for distribution to students, who don't have jupytext in their environment.  If we do commit and ipynb file, we break the pairing with the python file.

OK, so you are really treating it like Python code.
It would be interesting though, to have notebook-aware versions of the tools you mentioned.
I guess this would work well for your point (1) because the tools could work on single cells, but it would be harder for point (2).
But for point (2) you wouldn't really have to use py:percent in version control.
You could as well locally use something like this (starting from the traditional notebook format):

remove outputs
convert to py:percent (which I guess removes outputs anyway)
do your code manipulations
convert back to notebook format

If this could be somehow (partially) automated, you wouldn't need to save your files in py:percent format.


Apply ConnectAttributes for postgres

What changed?
apply ConnectAttributes to pg dsn

Why?
override conn params, allowed override sslmode without enable tls, enable tls will check ca.
allowed add extra params.

How did you test it?

Potential risks

Release notes

Documentation Changes

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@wenerme thank you so much for the contribution! Just to confirm, have you tested this in your environment? Because we don’t have integration test to test every connection setup.

@longquanzheng Yes, tested on my local, due to https://github.com/uber/cadence/blob/master/tools/sql/handler.go#L239 can not --tls to use the TLS.SSLMode, so modified the code, finished schema setup.

Pull Request Test Coverage Report for Build 9ad7f727-b040-46d2-89d1-426f19b61c5f

5 of 7 (71.43%)  changed or added relevant lines in 1 file are covered.
49 unchanged lines in 10 files lost coverage.
Overall coverage decreased (-0.003%) to 56.904%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

common/persistence/sql/sqlplugin/postgres/plugin.go
5
7
71.43%

Files with Coverage Reduction
New Missed Lines
%

common/persistence/sql/sqlExecutionStore.go
1
62.69%

common/persistence/executionManager.go
2
76.57%

common/persistence/statsComputer.go
2
96.43%

common/task/fifoTaskScheduler.go
2
82.47%

common/task/weightedRoundRobinTaskScheduler.go
2
89.64%

common/types/mapper/thrift/shared.go
2
63.43%

common/config/ringpop.go
3
64.58%

common/persistence/nosql/nosqlExecutionStore.go
9
60.35%

service/history/shard/context.go
9
66.22%

service/history/execution/context.go
17
73.96%

Totals

Change from base Build bbd980c6-d0d9-4417-ab58-f0ebe04cabc5:
-0.003%

Covered Lines:
82383

Relevant Lines:
144776

💛  - Coveralls


🍕Force search cursor to end.

Fixes #147
:bug: Bug
How to reproduce

visit http://elements.polymer-project.org in firefox :fire: :wolf:
type in top search bar "goat" :goat:
you should see oatg now in the search box on the left :crying_cat_face:

What this fixes

when you now type goat :goat:
the left input now says :goat: yay :hand:

:sparkles:

all updated :cat:

LGTM :+1:

⚡⚡⚡


some problems with IOS9

version:[just uodate several days ago]
ionic:3.1.2
cordova: 7.0.1
project version:
ionic: 1.3.1
ios: 9.3.5/9.3.4
bug:
some pages cannot open correctly in the app,but ios10 is ok.
Here is the code:
function A() {
    $http.post('/someUrl', data, config).then(function(){
        B();
    });
}

function B() {
    $http.post('/someUrl', data, config).then(function(){
        //do sth
    });
}
I used the fiddler,and I found that B failed.
It's really a big problem for me and there is no log in xcode.would you please do me a favor to give me some solution?

Hello! While we appreciate you opening an issue with us i am going to close this issue and ask that you open a new one that has the issue template filled out please. Thanks for using Ionic!


Add secam video type to v4l

We have pal and ntsc option in the v4l grabber but we need to think of the French !

Should be very easy to solve. For Hyperion 1 it's a hugher task, because HyperCon needs also a update.
http://elixir.free-electrons.com/linux/latest/source/include/uapi/linux/videodev2.h#L1167

Added: https://github.com/hyperion-project/hyperion.ng/commit/59ec7673733be229f60297ee8ab97821ce0b20e0


add ucloud operations

这个 PR 实现什么功能/修复什么问题:
新增UCLOUD资源CRUD操作
是否需要 backport 到之前的 release 分支:

release/2.9.0

/cc @swordqiu @ioito

/cherrypick release/2.9.0

/cherrypick release/2.9.0

@tb365 我们还有 release/2.9.0 的分支

/hold

没看到shell命令？

没看到shell命令？

有shell命令

依赖cloudmeta服务重写

/area region

Codecov Report

Merging #366 into master will decrease coverage by 0.08%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master    #366      +/-   ##
=========================================
- Coverage    7.47%   7.39%   -0.09%
=========================================
  Files         347     348       +1
  Lines       54900   55615     +715
=========================================
+ Hits         4103    4111       +8
- Misses      50417   51124     +707
  Partials      380     380

Flag
Coverage Δ

#aFlag
7.39% <0%> (-0.09%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/util/ucloud/client.go
20.93% <ø> (ø)
:arrow_up:

pkg/compute/models/guests.go
0.67% <ø> (ø)
:arrow_up:

pkg/mcclient/options/servers.go
0% <ø> (ø)
:arrow_up:

pkg/compute/models/vpcs.go
2.04% <0%> (-0.05%)
:arrow_down:

pkg/util/ucloud/ufile.go
0% <0%> (ø)

pkg/util/ucloud/disk.go
0% <0%> (ø)
:arrow_up:

pkg/compute/guestdrivers/ucloud.go
29.41% <0%> (-26.15%)
:arrow_down:

pkg/compute/models/networks.go
0.83% <0%> (-0.01%)
:arrow_down:

pkg/util/ucloud/snapshot.go
0% <0%> (ø)
:arrow_up:

pkg/util/ucloud/vpc.go
0% <0%> (ø)
:arrow_up:

... and 14 more

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 f56be35...af84da2. Read the comment docs.

/approve
/lgtm

/hold cancel

/cherrypick release/2.9.0


Move Raylib project to a git submodule

Updated the project configurations to support moving Raylib as a git submodule
The benefit here, is that we can update the Raylib source directly from its github project
Some good notes about git submodules here: https://git-scm.com/book/en/v2/Git-Tools-Submodules

closed for being "too fancy" IMHO.


Inform user when no Gemfile is found

https://secure.helpscout.net/conversation/610609190/74157?folderId=30784

hmm that is a bit better, but ideally it would be:
if config[:gemfile] || sh.if gemfile?

since if a user requests a gemfile and it does not exist, then it should fail (do what the user told it to do), since the user expected the file to exist/claimed the file exists

Thanks @grosser – I think the latest commit does the right thing now. We test for the presence of the user-provided Gemfile as early as possible and fail if it's not there.


Bring down moment to version known to work

Moment at 2.17.1 broke the Heroku build. Probably because it's es6 and we don't have a compiler for it.

Coverage remained the same at 99.351% when pulling a7304a09cc7e1f46de1e3f90e30089b8aad8499f on bugfix into 04db46dc7fd554e8abc40c2282bb198e588d32bf on master.


How do I run it on windows

How do I run it on windows. The commands are use in Linux.
Thank-you very much

It will not run on Windows. It probably never will, since Windows doesn't support most of the functionality it needs to run.

Can I run it use CGI-Win??

That might be possible. I'm not sure how to do it though, it would be tricky to get Java and screen to work with the web server, but it might work.


Ranks code update - OOM solution

Seems like .long() is causing a bump in the memory since it creates a new tensor from the bool, and shouldn't be necessary.
Also I deleted an unused variable to free up memory.
Hopefully should solve the OOM issues.

Hi Joe, Actually I'm not a 100% sure if it solves the issue yet, since we didnt capture any of the failure test cases.
So was thinking we could try it out on BAM first to see if any other failure cases occur(hence PR'd here), and if its resolved, then push upstream. What do you think?

Thanks again @SwapnilDreams100! Closing this now that it's been merged upstream.


Stop matching routes after first match?

Maybe I am getting it wrong but I thought after a route matches and callback is executed, klein should not try to match any other routes…
But I've just tried it out:
// Backend (Admin panel)

$klein->respond('GET', '/admin/?', function ($request, $response, $service) {
    return 'Hello Admin!';
});

// Main Views

$klein->respond('GET', '/[:fuubar]/?', function ($request, $response, $service) {
    return 'Hello Fuubar!';
});

This code creates: Hello Admin!Hello Fuubar!, is this intended?

Wouldn't skipRemaining() stop anything from being returned from inside the callbacks?

@Rican7 maybe just an Simple boolean Variable in the Klein class. so that skipRemaining() would set this var to true, so no execption is thrown, the route thats calls skipRemaining() get counted as matched.
So you only have to check if this Variable is true, then Skip all Remaining Routes.
Would be Simple to integrate


Yamaha RX-V679 Error Message on PUT Node

Thank you for your node-red-contrib-avr-yamaha.  I have installed and currently configured to my Yamaha RX-V679 MusicCast receiver.  Everything works well however, every time a command is sent via the PUT node, the command is received at the AVR and AVR functions correctly - but Node-Red always gives me the following message in debug message:
"Received unexpected response data: {"YAMAHA_AV":{"$":{"rsp":"PUT","RC":"0"},"Main_Zone":{"Surround":{"Program_Sel":{"Current":""}}}}}"
Is this something I have configured incorrectly or is this message because my Receiver Model is not entirely compatible with your code?   Other than the message in Node-Red, not sure it is really causing me any adverse issues.  Thanks again for your hard work.

Thanks for reporting this bug.
Please try the new version 0.8.5 which should fix your issue.

I am not seeing where version 0.8.5 is and available upgrade from the Node-Red "Manage palette" page.
I tried to simply reinstall using "sudo npm i node-red-contrib-avr-yamaha" command as well, but got errors.
Any special instructions on how to install this upgrade?  Thank you.

Looks like it toke the node-red flow registry one day to refresh the index. Can you please have a look if the nodes are now available in the palette?

You are correct.  Update is now available and I completed same update on my machine.  Your contrib is now working without error on my machine.  Thank you.

Happy to hear. Thank  you for taking the time to report the error and to test the fix. :-)


Integration with CRA?

Hi guys,
This project is amazing!
Would you be so kind as to demonstrate how to integrate it with create-react-app application?
I've tried ejecting, adding additional entry point (so it would split server.js from bundle), but it only works in legacy mode.
Any tips would be highly appreciated!
Thanks in advance

Is there a link to the repository (a minimal example of your code) so that we can debug it ourselves?

Sure thing, here it is: https://github.com/reflog/mock-test
A basic app, right after 'eject', I left a hint here: https://github.com/reflog/mock-test/blob/master/src/index.js#L6
Thanks in advance!

Ah, I think the problem is that you're serving server script from '/static/js/src/server.js'. As per spec:

the service worker client attempts to consult a service worker registration whose scope url matches its creation URL.

According to the Match Service Worker Registration algorithm below, we can infer that the max scope for a service worker is the location of the worker script itself.
So in your case, you can not claim the worker unless current page's location is nested under /static/js/src:

location
matches(modern mode)

http://localhost:3000/
❌

http://localhost:3000/static/js/src/index.html
✅

http://localhost:3000/static/js/src/what/ever/
✅

Sadly, up to now, we could only suggest you serve the server.js script from the root path of your app, i.e. http://localhost:3000/server.js. Since modifying output.filename option in webpack's config may affect the whole app, it's recommended to add a proxy option for webpack-dev-server:
{
  ...
  // at scripts/start.js#L261
  proxy: {
    '/server.js': {
      pathRewrite: {
        '^/': '/static/js/src/'
      },
      target: {
        host: host,
        protocol: protocol,
        port: port
      }
    }
  }
}

Then in src/index.js:
const client = createClient('server.js');

@VincentBel maybe we need to show a warning when the path of server script is non-root?

@reflog thanks to the detailed example, I found another potential issue: all chunks are inserted into index.html via html-webpack-plugin. I think it may be better to exclude your server script here:
plugins: [
  ...
  // at config/webpack.config.dev.js#L197
  new HtmlWebpackPlugin({
    inject: true,
    template: paths.appHtml,
+   chunks: ['src/app']
  }),
]

This is awesome, thank you! Will give it a shot and report back
On Fri, Jan 27, 2017, 19:59 Dolphin Wood<EMAIL_ADDRESS>wrote:

@reflog https://github.com/reflog thanks to the detailed example, I
found another potential issue: all chunks are inserted into index.html
via html-webpack-plugin. I think it may be better to exclude your server
script here:
plugins: [
...
// at config/webpack.config.dev.js#L197
new HtmlWebpackPlugin({
inject: true,
template: paths.appHtml,+   chunks: ['src/app']
}),
]
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/service-mocker/service-mocker/issues/16#issuecomment-275730561,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGtNHQyVlQjd4o1Q4i6N11n25FRz5cyks5rWjCCgaJpZM4LugA7
.

Yep. Works perfectly. Thank you!

@reflog hey dude, we found another easier solution 😆 . If you are using the 1.0.3 version, you can simply add the following options to webpack-dev-server:
var devServer = new WebpackDevServer(compiler, {
  ...
  // override service worker path restriction
  headers: {
    'Service-Worker-Allowed': '/'
  }
});

Even better. Thanks guys. It's a pleasure using this while prototyping without a backend, thank you!

Do I have to eject in order to use this solution? Looking to not eject.

@DarrylD yep, otherwise you are not able to inject third-party dependencies.

@DarrylD @reflog hey guys, I just came up with an idea: can we use file-loader to emit the sw.js?
We can code like:
import scriptURL from 'file-loader?name=sw.js!path_to_your_mocker.js'
import { createClient } from 'service-mocker/client'

const client = createClient(scriptURL);

I'm traveling right now so I'm not able to test it :(. But I suppose it should work as expected.

I'm too traveling (how ironic!), I'll test it soon as I get a moment to experiment.

@DarrylD it seems that the emitted file won't be bundled with webpack 😢 :

Maybe we need to write another worker loader...

Got one possible solution which is inspired by worker-loader:
// sw-loader.js
const SingleEntryPlugin = require('webpack/lib/SingleEntryPlugin');

module.exports = function swLoader() {}

module.exports.pitch = function pitch(request) {
  if (!this.webpack) {
    throw new Error('Only usable with webpack.');
  }

  const callback = this.async();

  const swCompiler = this._compilation.createChildCompiler('sw', {
    filename: 'sw.js',
  });

  swCompiler.apply(new SingleEntryPlugin(this.context, `!!${request}`, 'main'));

  swCompiler.runAsChild((err, entries, compilation) => {
    if (err) return callback(err);
    if (entries[0]) {
      const swFile = entries[0].files[0];
      return callback(null, `module.exports = __webpack_public_path__ + ${JSON.stringify(swFile)};`);
    }
    return callback(null, null);
  });
}

I'll pack a loader as soon as I get back to work :)

@DarrylD done here: https://github.com/idiotWu/sw-loader
Usage with CRA:
// eslint-disable-next-line import/no-webpack-loader-syntax
import scriptURL from 'path/to/node_modules/sw-loader!./sw.js';

Works perfect!


Legend Blank on LayoutForm

IF BUG, INCLUDE THIS PART:
Steps to reproduce

Load Spatial Data (ne_data)
Create Layoutform with map control
Try to add legend via the control

Using this data: http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/50m/cultural/ne_50m_admin_0_countries.zip
Using this code:
this.Map = new DotSpatial.Controls.Map(); // Map Control
...Form Init Method
Legend.AddMapFrame(Map.MapFrame);
Map.AddLayer(Program.INFILE); //INFILE = static string, filepath

...User clicks to preview layout
var frm = new LayoutForm()
            {
                MapControl = Map
            };

DotSpatial version: 1.9 & 2.0
Expected behaviour
Legend should appear with the correct legend as is shown in the Legend Control.
Actual behaviour
https://shifty.site/uploads/images/2017-04-11_20-47.png
Legend is blank with no discernible information.
Thanks for any help!

I ran the following code inside a button I added to DemoMap and then added a layout legend to the layout sheet and everything was working alright.
var frm = new LayoutForm();
           frm.MapControl = (Map)appManager.Map;
           frm.ShowDialog();

So please post the whole code so we can see what you are doing differently. Currently we have to guess how you created your Legend for example or how you see the layout legend if you didn't even open LayoutForm.

My bad.
https://github.com/SteveV0189/ShapeInfo/blob/master/InfoShape/MapForm.cs#L125
I edited the layout form to add an event for capturing the image of the form, but I have have also verified that the legend is blank on the release 1.9 and beta 2.0 versions.
I tried to follow the code trail along the SimpleApp project, but all of the code for the adding of layers/showing the layout is abstracted away into the LoadExtensions method of the appmanager, it seems. The tutorials here don't mention anything about an AppManager, so I'm now unsure if it's necessary or not for the legend to function.

Found the issue..I hadn't set the legend property of the map, instead I did this:  Legend.AddMapFrame(Map.MapFrame);
This made the legend work fully, but caused something to not sync right with the print layout.
Also can't fault the documentation because it IS in there, just very unnoticeable. Cheers, thanks for the help.


[modify] revert github acionts' trigger because workflow runs multiply

Coverage increased (+0.01%) to 84.315% when pulling 6576ff151135d1b8e26ac88a556b63e07fca59f8 on feature-github-actions-trigger into 9b831a7641ffc63f7c60a96922a0f84264e68d07 on master.


Test fails on moar-2022.04

Hello,
while trying to install the module as a dependency of App::Rak, I got the following test error:
===> Testing: Git::Blame::File:ver<0.0.2>:authzef:lizmat
[Git::Blame::File] No such method 'Failure' for invocant of type 'Str'
[Git::Blame::File]   in method TWEAK at ...../Git-Blame-File-0.0.2/lib/Git/Blame/File.rakumod (Git::Blame::File) line 150
[Git::Blame::File]   in method new at ...../Git-Blame-File-0.0.2/lib/Git/Blame/File.rakumod (Git::Blame::File) line 71
[Git::Blame::File]   in block  at t/01-basic.rakutest line 6
===> Testing [FAIL]: Git::Blame::File:ver<0.0.2>:authzef:lizmat

Which version of Rakudo are you using?

Probably an older one.  I've uploaded 0.03 to fez, and bumped App::Rak accordingly.
Please close if this fixes it.

Still fails but differently, this seems like a semantic issue:
[Git::Blame::File] # Failed test 'The object is-a 'Git::Blame::File''
[Git::Blame::File] # at t/01-basic.rakutest line 7
[Git::Blame::File] # Actual type: Failure
[Git::Blame::File] fatal: not a git repository (or any parent up to mount point /)
[Git::Blame::File] Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
[Git::Blame::File]   in method TWEAK at /home/ASTRON-INF/pm7342/.zef/tmp/49915d7d259c830a3f854b618cfbe99c26218bb2.tar.gz/Git-Blame-File-0.0.3/lib/Git/Blame/File.rakumod (Git::Blame::File) line 149
[Git::Blame::File]   in method new at /home/ASTRON-INF/pm7342/.zef/tmp/49915d7d259c830a3f854b618cfbe99c26218bb2.tar.gz/Git-Blame-File-0.0.3/lib/Git/Blame/File.rakumod (Git::Blame::File) line 71
[Git::Blame::File]   in block  at t/01-basic.rakutest line 6
[Git::Blame::File] Actually thrown at:
[Git::Blame::File]   in block  at t/01-basic.rakutest line 9

Nope, it was a stupid thinko on my part.  I always installed from the dir in which I develop the module.  Which is in a git repo.  So locally, the tests worked.  But not if downloaded from a tar file, that doesn't have the git info.  Duh.  And of course, in Github Actions, it just clones the repo, so there the tests worked also.
I've moved the tests to the xt directory, so I'll only run them locally.
Thanks for persisting.  zef update and zef install Git::Blame::File and all should be fine.  Please close if you concur :-)

Well yes, that's what I meant with semantics. :P Anyway, it works now indeed. :) Thanks for the quick response, closing this issue.


Adopt CoreML/MXNet data layout (NCHW) at library interfaces (for object detection)

We can push the MXNet-to-MPS-to-MXNet conversions into TCMPS, where this particular transpose can be implemented as a conversion between planar and "chunky" float images. In this way, we can standardize on the CoreML layouts where possible, for consistency, leaving our MPS usage of NHWC as an implementation detail.

LGTM - but I would wait for @gustavla's review. He knows this code best.

On a complete side note - when you do end up doing this for the AC as well - note that the AC doesn't actually need 4 dimension shapes. One of the dimension (Height by my convention) is always 1.
If no other toolkits are using the LowLevelApi (none should) - you can probably skip these conversions altogether, and stick with a single 3-dim shape.
As you might recall - the MXnet implementation has some redundant transposes and reshapes, which further complicate the weights layout.
These operations can be removed Using MXnet>0.12 APIs, and then it should be quite easy to find a simple, common layout for both MXnet and MPS.

Yeah, after getting further along in downstream work, I realized that MXNet data augmentation is already working with images in HWC, which is also what MPS wants. So for now, I'm going to leave the batch inputs and outputs as NHWC as this interface boundary, but standardize the model parameters (e.g. for Conv weights) to the CoreML format, since that's persistent.
So this last commit reverts almost half of the original PR....

Yeah, my thought is that the transpose isn't terribly costly; this is entirely about having consistent semantics at the main interfaces between components. Right now, this means just being able to load convolution parameters straight from CoreML (or MXNet params) into a cnn_module without any transpose, relying the cnn_module to transpose if necessary.
Especially with the most recent version of this PR, we're only moving the transpose into TCMPS for the network parameters init/export. This way, the training images can remain HWC all the way from SFrame  to augmentation to loading into the network (for MPS).

We did sort of an MPS transpose in the LSTM layer implementation, by playing around with offsets.
But I guess that was a sort of a special case, since the MPS encode() command we were using was sort-of designed for that, having a set of offsets part of its API.
It's probably very "cheap" in the sense that we didn't copy any data around, but I'm not sure how efficient it is with caching, etc.


Add constraint support for platform os

When deploying services on a mixed cluster of windows/linux systems, often configuration settings within the service will be unique (for example, host bind mounts) so there should be a clean way to make sure the tasks run on the desired nodes.
Perhaps something like node.platform.os==linux

I think this may be better done with engine labels. operatingsystem is already an Engine label. platform.os naturally falls in the same category. We want node labels to be used by cluster administrators for management purpose. For example, role or security label.
In this case, you can use engine.labels.operatingsystem==xxx to select engines with specific OS. Or you can add a engine label platform.os, then use constraint engine.labels.platform.os==windows to select nodes.

Labels are mutable by users and will vary from deployment to deployment.  The current Operating system label is too specific (ubuntu vs. redhat are both "linux").  We should have a deterministic way to filter between platforms that doesn't require manual intervention to set up both sides (the labels and the constraints).  This will lead to clearer documentation/best-practices, less steps for setting this up, and allow developers to build container aware products that work deterministically regardless of the user specific labels people set up in their own deployments.

We should have a deterministic way to filter between platforms that doesn't require manual intervention to set up both sides (the labels and the constraints).

Do you want to derive platform.os when a node joins and save it as an attribute? While this makes sense, it might not be so specific. We may need to define ARM, SSD, GPU, etc. More complexity may be introduced when devices can be hot plugged. I prefer a label based solution to deal with this.
Cc @aluzzardi.

I think this may be better done with engine labels. operatingsystem is already an Engine label.

Actually, it's a "fake" label generated by Classic Swarm :)
In Classic Swarm the only thing we had were labels (the equivalent of today's engine.labels) so we smashed extra information in there.
I think it would be completely reasonable to expose node.platform as a first class citizen (in the same way we have node.role today)

@dongluochen @aluzzardi Do you think we could prioritize this? Without it, there's no default way to constraint-schedule between Linux and Windows nodes (for example).

I'll create a PR to cover this task.

Thanks @dongluochen

As a side note, this should map what we have in NodeDescription.Platform (e.g. is and arch I believe?)

@dhiltgen can you verify that this does what we need?


Symbol not recognized in the workspace affecting autoimport

VSCode Version: 1.18.1, Typescript 2.6.1
OS Version: Windows 10 x64

Steps to Reproduce:

Install the most recent update and restart the editor
Go to Symbol in Workspace... try finding a symbol in your utils folder with no luck
Try invoking the import suggestion with no luck

Open the file with the concerned export and leave it on another tab
Auto importing now works.

Since I opened new editor (without a file), the Go to Symbol still didn't work.

create new file x.js anywhere in the project and try the import and Go To Symbol again.
Now it all works

If you close the exporting file, the symbol can't be find again and the autoimport suggestion won't work.

Try creating a jsconfig.json at the root of your workspace with the contents:
{
    "compilerOptions": {
        "target": "ES6"
    },
    "exclude": [
        "node_modules",
        "**/node_modules/*"
    ]
}

This tells VSCode to treat all js files in your workspace as part of the same project

This helped with the issue. Thanks.


Theme album formatted, rearranged and rewritten

Description
Edits to the theme album:

Unified formatting: The theme album contained many different styles, I chose one of them and rewrote all the others.
Rearranged Animes: I ordered the Animes and characters alphabetically by name.
Name additions: I added the full names for some Animes to enhance the quick search.

Motivation and Context
This change is not required, it just enhances readability of the theme album.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] Non-Functional Change (non-user facing changes)

Checklist:

[ ] I updated the version.
[ ] I updated the changelog with the new functionality.

@Unthrottled Would you like to have a new version for this, as it is only a documentation improvement?

Would you like to have a new version for this, as it is only a documentation improvement?

Nope, that should be fine. That checklist is there mostly so I don't forget anything.
Appreciate the effort! I'll probably re-sort the themes. I've been trying to keep my favorites near the top. I kind of figured if somebody was looking for something specific they would search for it. People just browsing would just start from top to bottom.
I'll have some time later to look at this. Thanks!


[QUESTION] An error occurred when incoming cpd

when calling the kinesis_video_stream->start(cpd) interface . I get error  "Failed to get the size of the buffer for hex decoding the codec private data with: 2"。
Is there a problem with the input cpd?
How to generate it ?

The error code you see 2 is STATUS_INVALID_ARG as defined here:
https://github.com/awslabs/amazon-kinesis-video-streams-pic/blob/master/src/common/include/com/amazonaws/kinesis/video/common/CommonDefs.h#L465
This is returned here in hexDecode:  https://github.com/awslabs/amazon-kinesis-video-streams-pic/blob/master/src/utils/src/Hex.c#L159
This error is thrown is the value is not properly hex encoded.  Perhaps you can print out your buffer and see what characters are wrong.

 Can you reference this ticket for details?

The hexencode is incorrect, I can see the video after I fix it。


142569467: Scaling engine needs to register with consul

LGTM, other than the couple of typos as mentioned.

LGTM

travis tests failed, kicked off again


Interpolate bad channels per epoch

I would like to interpolate bad channels on a per epoch basis. I noticed #1777 has the same desired feature but does not seem to have an efficient implementation yet, so it seems like a partial feature that I could work on. I would like as a basis something like a list of lists of bad channels i.e. something like:
epochs.interpolate_bads([["CZ"], [], [], ["F1", "F3"], ...])

What do you think?

Hum... I am not sure I get the use case. You have a denoising problem?

Besides @wmvanvliet 's use case for FASTER I also have a lot of epochs in my EEG data where a single channel acts weird, even though the same channel is perfectly normal in the majority of the other epochs of the rest of the experiment.

I was the same thing in many of my EEG datasets when working on FASTER. Manually going through the epochs and selecting bad channels is a pain though... but with some outlier detection, this interpolation of bad channels can really save some terrible datasets. I'm all for adding this functionality if @christianbrodbeck is up for it.

Why don't we add a parameter to the existing function that allows to interpolate epoch wise? But that would only be for epochs then. Maybe separate method or function would be cleaner then.
And yes, we need this for FASTER.

On 15 Mar 2015, at 12:32, Marijn van Vliet<EMAIL_ADDRESS>wrote:
I was the same thing in many of my EEG datasets when working on FASTER. Manually going through the epochs and selecting bad channels is a pain though... but with some outlier detection, this interpolation of bad channels can really save some terrible datasets. I'm all for adding this functionality if @christianbrodbeck is up for it.
—
Reply to this email directly or view it on GitHub.

@dengemann that would mean a separate InterpolationMixin for Epochs, or (since it would be used only once) just adding the corresponding interpolate_bads_eeg(self, channels_by_epoch=None) function to _BaseEpochs, right? If you're ok with that I will start working on a PR.
A related question: why is it not allowed to interpolate MEG channels? Does this have something to do with not knowing how to combine grad and mag information, and if so would it be valid for us KIT users with only mag to interpolate bad channels? That would also save epochs for us.

On 15 Mar 2015, at 14:56, Christian Brodbeck<EMAIL_ADDRESS>wrote:
@dengemann that would mean a separate InterpolationMixin for Epochs, or (since it would be used only once) just adding the corresponding interpolate_bads_eeg(self, channels_by_epoch=None) function to _BaseEpochs, right? If you're ok with that I will start working on a PR.

Wait. The API would the take a list of bads as input?

A related question: why is it not allowed to interpolate MEG channels? Does this have something to do with not knowing how to combine grad and mag information, and if so would it be valid for us KIT users with only mag to interpolate bad channels? That would also save epochs for us.

I think we discussed this, it was the grad / mag and the helmet VS head thing issue if I remember correctly. The good way to deal with it for MEG would be based on the forward model as in the fieldlines example.

—
Reply to this email directly or view it on GitHub.

@dengemann my API proposal was an optional list of lists, like
>>> epochs.interpolate_bads_eeg([["CZ"], [], [], ["F1", "F3"], ...])

Can you (or anyone) think of a better option?

How would you get this list of list in practice? I feel it exposes a complex API and that could be an internal thing in a high level denoising function
Regarding interp of Meg the issue is that you have a vector field and you need to interpolate using sensor orientation and maybe even geometry

How would you get this list of list in practice?

FASTER supposedly would generate the list automatically. I have a (wxpython and OS X dependent) GUI  that can create such a list. I assume there could be other ways of generating the list in the future, it seemed like the most obvious representation of the information.

I think we discussed this, it was the grad / mag and the helmet VS head thing issue if I remember correctly. The good way to deal with it for MEG would be based on the forward model as in the fieldlines example.

I can't find a relevant open issue (searching for "interpolate MEG" and such) is there one or should I create a new one?

I would say let's wait for Faster to be ready then.

I can't find a relevant open issue (searching for "interpolate MEG" and
such) is there one or should I create a new one?

feel free to create it.

I would say let's wait for Faster to be ready then.

@agramfort I need the feature now and I would be willing to work on it. Are you saying because my current use case is not everyone's use case you don't want to have the feature added before another use case is implemented?

Can we handle this using a private function? Christian could use it immediately, the mixin could use it, finally we can decide later about the public API.

On 15 Mar 2015, at 23:43, Christian Brodbeck<EMAIL_ADDRESS>wrote:
I would say let's wait for Faster to be ready then.
@agramfort I need the feature now and I would be willing to work on it. Are you saying because my current use case is not everyone's use case you don't want to have the feature added before another use case is implemented?
—
Reply to this email directly or view it on GitHub.

That would work for me

On Mar 15, 2015, at 7:04 PM, Denis A. Engemann<EMAIL_ADDRESS>wrote:
Can we handle this using a private function? Christian could use it immediately, the mixin could use it, finally we can decide later about the public API.

On 15 Mar 2015, at 23:43, Christian Brodbeck<EMAIL_ADDRESS>wrote:
I would say let's wait for Faster to be ready then.
@agramfort I need the feature now and I would be willing to work on it. Are you saying because my current use case is not everyone's use case you don't want to have the feature added before another use case is implemented?
—
Reply to this email directly or view it on GitHub.

—
Reply to this email directly or view it on GitHub.

Give it a try in a branch and WIP PR to make this public and let's talk about merge when faster is ready

closing for #1869

I got it working, here is an illustration of the problem (see the blue dotted channel in the top left plot and the topomap).

By the way if anyone is interested in the GUI let me know, these are the limitations:

requires wxPython
only one modality at a time GRAD, MAG or EEG
adapted to OS X, not sure what it would take to make it run smooth on other platforms


Fix input field arrow key navigation and make search query function accessible

Short description

Currently input fields for search are not navigatable via arrow keys. They should be navigatable with arrow keys + accessible with keyboard (like Tab and enter keys)
Proposed changes

[x] Add aria labels where it is necessary to make them accessible via keyboard
[x] Make list items focusable for Tab key (focus indicator is a visual indicator that “highlights” the currently focused element which is really important for keyboard users)
[x] Add support for up and down arrows for suggestion list view
[ ] Add support for left and right arrow keys on input change

Side effects

should be none

Resolved issues

Fixes: #3037

Pull Request Review Guidelines

[ ]  Add support for left and right arrow keys on input change

I just noticed this problem exists in other fields as well, for example: the "Source Code" view in TinyMCE. Maybe this is worth a separate PR?

[ ]   Add support for left and right arrow keys on input change

I just noticed this problem exists in other fields as well, for example: the "Source Code" view in TinyMCE. Maybe this is worth a separate PR?

i think this PR should also fix other fields...

Thank you, this makes keyboard navigation much easier!!
One thing I noticed: the first time I hit Tab (latest Firefox on Linux), nothing visually changes. However, if I press Enter, the search for the first (selected) element commences. For example, here I have pressed "h", then "Tab":

And here, I have pressed "h", then "Tab", then "Tab" again:

I think it's important to mark the selected elements a bit clearer.
Using the up/down arrow keys, the "hover" effect is good at communicating this:

So maybe that + a full outline for Tab?

Thank your for your review. On Tab an outlined border should appear. At least that is how it is on Chrome. I think Firefox interprets it differently and has its own default style for outline :)

Hmm, I guess this PR deserves a release note... Should we add it afterwards? @lunars97 @charludo @JoeyStk


[Potential Bug] in wav2vec (1.0?): targets always zero, loss computation potentially incorrect?

🐛 Bug
wav2vec (the og one) from the wav2vec readme, when called, as I understand, should return the contrastive predictive logits from the paper that are used to calculate the CPC objective.
Consider the vanilla example:
import fairseq, torch
print(fairseq.__version__)  # 0.12.2

torch.manual_seed(42)
device = 'cuda' if torch.cuda.is_available() else 'cpu'

model, cfg, task = fairseq.checkpoint_utils.load_model_ensemble_and_task(['fairseq/wav2vec_large.pt'])
model = model[0].train().to(device)

torch.manual_seed(42)

source = torch.rand(1, 32000).to(device) - 0.5

out = model(source)

print(out['cpc_targets'].min())  # tensor(0, device='cuda:0')
print(out['cpc_targets'].max())  # tensor(0, device='cuda:0')

This is problematic (right?) as the targets should reflect which of these 11 outputs is the positive sample for CPC and which 10 are the negative.
I tracked down the loss that's used - the wav2vec criterion, and it doesn't seem to do anything special with these targets?
I should mention, model.wav2vec_predictions.infonce is True. I believe that due to this condition, in model.wav2vec_predictions.forward, labels is created as:
labels = predictions.new_full((predictions.shape[0] // copies,), 0, dtype=torch.long)

but is not filled in.
The forward computation of model can also be reproduced by:
w2v_z = model.feature_extractor(source)
w2v_c = model.feature_aggregator(w2v_z)
cpc_logits, cpc_targets = model.wav2vec_predictions(w2v_c, w2v_z)

and it's model.wav2vec_predictions that doesn't seem to return the right targets.

It seems like this wasn't the case in the oldest commit of the model: https://github.com/facebookresearch/fairseq/blob/392fce8a9873e54eca71cfca9d98f2685fdf6238/fairseq/models/wav2vec.py#L405
and was introduced around the time of vq-wav2vec?

Also shouldn't wav2vec_predictions.infonce be set to False for wav2vec large?

I have the same error, the data suddenly changed to all zeros in model, it may be speech module problem


EN section is blank when editing a word

When opening the dialog to edit a word, the EN section is blank in the window.
To reproduce:

Add a word and put something in the EN section
Save and reload the file
Double-click on the new word to open the edit dialog

Expected behavior: The contents of the EN section that I put previously should be there when editing the word.
Actual behavior: The EN section is blank in the edit dialog.

Thank you for reporting. I also noticed this issue and fixed it in 5ac54b4c40f99a64f74e2d05146a6207f46bc1b5.


How to specify data-api on the Plausible script tag via next-plausible?

Per Plausible documentation it seems you can specify the data-api and src on the script to use custom paths. Is that possible in next-plausible? This would help statically generated web sites that use npm run export for Nextjs. Thanks

There was no way. I just added the api prop:
Fixed by f885e845e3dd8ee4782412a3c9002204607ab864.
I just published 1.8.0 with an extra api attribute that you can pass to override the data-api attribute.
npm i<EMAIL_ADDRESS>
Thanks @jobsort!

Please reopen if you still can't achieve what you wanted.

@4lejandrito is there a way to force the src property as well to be something like /custom/js/script.js?

There is no easy way to do this. Only cases when you self host your Plausible instance were considered.
I've added a way to set whatever you want as src:
<PlausibleProvider
    domain="example.com"
     src="/custom/js/script.js"
/>

I just published 1.9.0 with that change.
npm i<EMAIL_ADDRESS>
I guess that covers your use case.
Thanks @jobsort!

Thanks a lot @4lejandrito for making these changes. I can now use your package for statically generated Next websites!

Hi!
I've been thinking about this and I've moved to a more generic way of overriding script props:
<PlausibleProvider
  domain="example.com"
  scriptProps={{
    src: '/custom/js/script.js',
    'data-api': '/api/custom/event',
  }}
/>

This way users will be able to override any of the props of the <script> tag.
I've published it as 2.0.0:
npm i<EMAIL_ADDRESS>
Please let me know what you think.
Thanks @jobsort!


add CI badge #7

@kevinlang you want to do the same thing to exqlite as well?

@warmwaffles , sent a PR to exqlite with similar changes


npm i --save firebase-admin "error Unexpected end of JSON input while parsing near"

Cannot install firebase-admin-node suddenly
I have used this package previously on:

Ubuntu 16.04,
Node 8.9.1,
NPM 5.5.1

I am setting up a new environment right now with:

Ubuntu 16.04
Node 10.2.1
NPM 6.1.0

I keep getting this error -
Unexpected end of JSON input while parsing near '...yO+bxm7E0cwHbOkBOoI5N'
I was skeptical if it had something to do with old package-lock file or node_modules dir. So I created a brand new empty directory and tested; ended up with the exact same error.
 I think your local npm cache is corrupted:
47 http fetch GET 304 https://registry.npmjs.org/@firebase%2fapp-types 1281ms (from cache)
48 silly fetchPackageMetaData error for<EMAIL_ADDRESS>Unexpected end of JSON input while parsing near '...yO+bxm7E0cwHbOkBOoI5N'

Try clearing the cache:  https://docs.npmjs.com/troubleshooting/try-clearing-the-npm-cache

npm cache's claim:

All data that passes through the cache is fully verified for integrity on both insertion and extraction. Cache corruption will either trigger an error, or signal to pacote that the data must be refetched, which it will do automatically. For this reason, it should never be necessary to clear the cache for any reason other than reclaiming disk space, thus why clean now requires --force to run.

The npm cache is strictly a cache: it should not be relied upon as a persistent and reliable data store for package data. npm makes no guarantee that a previously-cached piece of data will be available later, and will automatically delete corrupted contents. The primary guarantee that the cache makes is that, if it does return data, that data will be exactly the data that was inserted.

But based on several issues (pretty common I guess), npm cache's "corruption-proof" seem to be just assumptions, not reality. :'(

Installs fine for me. I think your local npm cache is corrupted:
47 http fetch GET 304 https://registry.npmjs.org/@firebase%2fapp-types 1281ms (from cache)
48 silly fetchPackageMetaData error for<EMAIL_ADDRESS>Unexpected end of JSON input while parsing near '...yO+bxm7E0cwHbOkBOoI5N'

Try clearing the cache: https://docs.npmjs.com/troubleshooting/try-clearing-the-npm-cache

thanks, It is working
clear your npm cache by the following command
npm cache clean --force
then npm i --save firebase-admin


Update fs2-core to 1.0.2

Updates co.fs2:fs2-core from 1.0.1 to 1.0.2.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention @scala-steward in the comments below.
Have a nice day!

Codecov Report

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

@@           Coverage Diff           @@
##           master     #148   +/-   ##
=======================================
  Coverage   97.56%   97.56%
=======================================
  Files          13       13
  Lines         123      123
=======================================
  Hits          120      120
  Misses          3        3

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 3bb76e6...dba5bff. Read the comment docs.


[one.vm.chown] checks group quota twice on already owned resources

Description
Hi, OpenNebula terraform operator invokes one.vm.chown method for every created VM even in case if it is already owned by exact user and group.
(see the discussion in https://github.com/OpenNebula/terraform-provider-opennebula/issues/111 for more details)
In case if group has quota set and VM exceed this quota twice this operation will return an error:
<!---------- INPUT ------------>

<?xml version="1.0"?>
<methodCall>
    <methodName>one.vm.chown</methodName>
    <params>
        <param><value>oc4790:deadbeefdeadbeefdeadbeefdeadbeef</value></param>
        <param><value><i4>11756</i4></value></param>
        <param><value><i4>-1</i4></value></param>
        <param><value><i4>4577</i4></value></param>
    </params>
</methodCall>

<!--------- OUTPUT ------------>

<?xml version="1.0" encoding="UTF-8"?>
<methodResponse>
<params>
<param><value><array><data>
<value><boolean>0</boolean></value>
<value><string>[one.vm.chown] User [4787] : group [4577] limit of 4096 reached for MEMORY quota in VM.</string></value>
<value><i4>512</i4></value>
<value><i4>-1</i4></value>
<value><i8>-1</i8></value>
</data></array></value></param>
</params>
</methodResponse>

<!---------- END -------------->

To Reproduce
oneuser create quotatest quotatest
onegroup create quotatest
oneuser addgroup quotatest quotatest
EDITOR="echo 'VM = [ VMS = -2, CPU = 1, MEMORY = 1024 ]' >" onegroup quota quotatest
onevm create --memory 1000 --cpu 0.1 --name quotatest
onevm chgrp quotatest quotatest
onevm chgrp quotatest quotatest

While the first chown command will work with no problems, the second one will return the following error:
[one.vm.chown] User [0] : group [4606] limit of 1024 reached for MEMORY quota in VM.

Expected behavior
No error returned
Details

Affected Component: Core
Hypervisor: KVM
Version: 5.10.5

Additional context
Add any other context about the problem here.

Progress Status

[x] Branch created
[x] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

Merge for 6.0.4 release


[network] Sample eligible peers used for connections

This allows us to see what the current state for a node is in thinking
which peers it should be able to connect to.  It will help with
debugging on why a node is rejecting peers from connecting.
As the last sample change I will make for https://github.com/libra/libra/issues/6218 with the connected peers one I made earlier.
Will print out in the form of
2020-10-06T18:30:15.014306Z [tokio-runtime-worker] INFO network/src/connectivity_manager/mod.rs:486 Current eligible peers {"eligible_addrs":"{fc6a4571: [[/ip4/<IP_ADDRESS>/tcp/8080], []]}","eligible_keys":"{fc6a4571: [{}, {[X25519 public key: bc01d55dca171aea242e1a2d6be28a7975c46407331cd8478167138605122863]}]}","network_context":{"network_id":"Validator","peer_id":"07ff66cbd17377603e329855f3d17582","role":"validator"}}

/land


Open Text File if File Does Not Exist

This will open new files as empty text files for editing.

tagging issue #925


Refactor Helm Charts add support for Keycloak and Schemas

Refactored the helm charts.
I have moved bpa.schemas into it's own file, and that will have to be loaded via -Dmicronaut.config.files=classpath:application.yml,classpath:schemas.yml. But this allows us to create a ConfigMap that contains only schema information (as yaml) that can be loaded via helm charts (mounted as a volume). Adding schemas to runtime is controlled with the values file: schemas.enabled=true.
application.yml and security-keycloak.yml can be configured with ENV VARS, so the ConfigMaps for application and keycloak are Name/Value pairs and those ConfigMaps are loaded as env vars.  security-keycloak.yml is optional and controlled with the values file: keycloak.enabled=true.
Added in new templates for creating Openshift routes. These are optional and must be enabled and ingresses disabled. Was having lots of issues getting secured routes created using the ingress templates, this seemed easier.

added a change to allow overriding openshift route timeouts (default is 30 seconds) because calls like create cred. def. can take considerably longer. Change appAxios to use the default timeout of 0 (never timeout).

Finishing off the PR here, have incorporated the changes from main branch. Will follow up with updates to the charts repository.


[BUG] Filter on Parent Doc fields inside Nested knn query fails for many Query types

What is the bug?
When a document contains vectors in nested documents, and we perform a nested knn query with filters set on the parent documents fields, the filters can only be specific Query types (like TermQuery). If for example a Phrase Query is specified as a filter, the knn query fails to retrieve any results at all. There are several other Query types (like exists, range etc) which also fail.
How can one reproduce the bug?
Steps to reproduce the behavior:

Create a simple index with nested vector objects & text fields on the parent document to apply filters over
Index a couple of example documents
Perform a nested neural search or nested knn search with filter in the neural search query /knn query set on the parent document field - (let the term be an exact match with one of the doucments in index)

{
    "query_string": {
        "query": "field_standard: \"Hello World\""
    }
}

You can see that no results are returned

What is the expected behavior?
Evene when filters specify PhraseQuery or range query etc. the filters should be applied & results should be returned if any.
What is your host/environment?

OS: Windows
Version OpenSearch 2.17
Plugins - Neural Serach & knn plugin

Do you have any additional context?
On analysis, we found that @navneet1v added the functionality to support applying filters on parent documents here: https://github.com/opensearch-project/k-NN/issues/1356
The code uses the NestedHelper.mightMatchNestedDocs  method determine whether to filter is applied on Parent doucment or nested document. Unfortunately, mightMatchNestedDocs method checks for speicifc Query types individually to see if they contain "field" & check if it is present in the parent or the nested doc. This list of Query types in not complete. Many commonly uses Query types which have "field" are missing like Phrase query, Range query etc.
https://github.com/opensearch-project/OpenSearch/blob/f1c98a4da0cf6583212eecc9ed8ebc3cd426a918/server/src/main/java/org/opensearch/index/search/NestedHelper.java#L65

Although this issue might have to resolved directly on NestedHelper, I wanted to know the others opinion on this issue and how to go about it. It affects the knn search & hence the Neural Search (for nested documents) directly.

@heemin32 could you take a look at this?

I am also finding that must_not does not work.
Create index
PUT /knn
{
	"settings": {
		"index": {
			"knn": true,
			"knn.algo_param.ef_search": 100
		}
	},
	"mappings": {
		"properties": {
			"nested_field": {
				"type": "nested",
				"properties": {
					"my_vector1": {
						"type": "knn_vector",
						"dimension": 3,
						"method": {
							"name": "hnsw",
							"space_type": "l2",
							"engine": "faiss",
							"parameters": {
								"ef_construction": 128,
								"m": 24
							}
						}
					}
				}
			}
		}
	}
}```

Index documents

PUT /_bulk?refresh=true
{ "index": { "_index": "knn", "_id": "1" } }
{"nested_field":[{"my_vector1":[1,1,1]},{"my_vector1":[2,2,2]},{"my_vector1":[3,3,3]}], "parking": "false"}
{ "index": { "_index": "knn", "_id": "2" } }
{"nested_field":[{"my_vector1":[10,10,10]},{"my_vector1":[11,11,11]},{"my_vector1":[12,12,12]}], "parking": "true"}
{ "index": { "_index": "knn", "_id": "3" } }
{"nested_field":[{"my_vector1":[1,1,1], "parking": "false"},{"my_vector1":[2,2,2]},{"my_vector1":[3,3,3]}]}
{ "index": { "_index": "knn", "_id": "4" } }
{"nested_field":[{"my_vector1":[10,10,10], "parking": "true"},{"my_vector1":[11,11,11]},{"my_vector1":[12,12,12]}]}

Query using `must_not`

GET knn/_search
{
"query": {
"nested": {
"path": "nested_field",
"query": {
"knn": {
"nested_field.my_vector1": {
"vector": [
1,
1,
1
],
"k": 2,
"filter": {
"bool": {
"must_not": [
{
"term": {
"parking": "false"
}
}
]
}
}
}
}
}
}
}
}

Should exclude id 1 but it does not.

I opened this ticket https://github.com/opensearch-project/k-NN/issues/2339 that was closed as a duplicate of this ticket, however I wanted to note that I am seeing the issue with range filters on non-nested vector fields. Specifically, I am seeing no hits when using a knn query range filter for a date field.

Hi @kristib. I think I closed the issue to quickly. Your issue might not be a duplication of this issue as your case is not with nested field. Let me reopen it. Thanks!

@buddharajusahil will look into this.

Please assign this issue to me

Hi @krishy91 do you mind including the exact commands used to reproduce this bug? Just want to make sure I am reproducing one to one.


How to share weights between two Dense layers with transposed in/out dims ?

Hi,
I'm new to keras, and I'm working to define a BiDNN (https://github.com/v-v/BiDNN) like model using keras (using tensorflow as backend).
However, it's a little bit confused for me to do such thing like Lasagne (https://github.com/Lasagne/Lasagne) does, that share weights between two layers with transposed input and output dimensions. Just like the following Lasagne code:
l1 = DenseLayer(4, num_units=8, W=GlorotUniform())  # with input dim (4) and output dim (8)
l2 = DenseLayer(8, num_units=4, W=l1.W.T)                  # with input dim (8) and output dim (4)
Thus l2 shares l1's weights by transposing this tensor.
Is this possible in keras implementation? Thank you for any advises.

I don't know if anyone has built it in keras already, but I could be wrong.
Basically, use a Dense layer for one direction. Write a custom layer for the other direction.
The layer would roughly look like this:
class DenseTranspose(Layer):
  def __init__(other_layer):
    self.other_layer=other_layer
  def call(x):
    return K.dot(x-self.other_layer.b, K.transpose(self.other_layer.W))

Cheers

@bstriner Where do you get these K.dot and K.transpose operations from?

import keras.backend as K

@mattdornfeld Hi , do you get the way to do this?could you share your method?

Read through the code in files like core.py to see how the core layers work. K is the keras backend and is used for pretty much all computations (transpose, dot, sin, etc.). K is a proxy for either theano or tensorflow depending on what you are using. If you want to know more about that those functions do and how they work, refer to theano or keras as appropriate.
@buaaliyi note that with keras-2 that code would be self.other_layer.bias and self.other_layer.kernel. Any progress? If you have a simple layer and it seems like a common need you should push it to keras-contrib.
@Lzc6996 what is your question exactly?

@Lzc6996
Here's the code. I did run into problems using Keras's load_model function with this type of layers, since load_model doesn't expect the init function to have other_layer has an arg, but it works otherwise.
import tensorflow as tf

class DenseTranspose(Dense):
	"""
	A Keras dense layer that has its weights set to be the transpose of
	another layer. Used for implemeneting BidNNs.
	"""
	def __init__(self, other_layer, **kwargs):
		super().__init__(other_layer.input_dim, **kwargs)
		self.other_layer = other_layer

	def build(self, input_shape):
		assert len(input_shape) >= 2
		input_dim = input_shape[-1]
		self.input_dim = input_dim
		self.input_spec = [InputSpec(dtype=K.floatx(),
									 ndim='2+')]

		self.W = tf.transpose(self.other_layer.W)

		if self.bias:
			self.b = self.add_weight((self.output_dim,),
									 initializer='zero',
									 name='{}_b'.format(self.name),
									 regularizer=self.b_regularizer,
									 constraint=self.b_constraint)
		else:
			self.b = None

		if self.initial_weights is not None:
			self.set_weights(self.initial_weights)
			del self.initial_weights
		self.built = True

@mattdornfeld BTW, load_weights is way more reliable than load as soon as you start to do anything interesting. Plenty of open issues regarding load but I've never had a problem with load_weights.

This is a very interesting thread. I am thinking of implementing a ladder network in keras
The problem is that ladder network uses batch normalization, but the batch statistics are only updated on the clean patch, so I need to create a frozen batch normalization layer that shares the weights (moving_mean and moving_variance) with the standard batch_normalization layer of the clean patch
Your trick can be a reasonable clean solution


Hello

Hey, it's so great to see a new logistics pipe mod coming along! I personally was a great fan of the old one but it's sad to see it go. I honestly do believe it needed a rewrite because there were quite a few things that were buggy.
The one item I really miss was the logistics crafting table that that allowed you to partially craft what you needed and request items from the network and they would be sent to the table inventory.
Do you really need custom ores? Do they add something to LP2 that increases their value? It might be fun to have a multiblock structure required to be connected to the network to process a special LP2 ore or convert it from iron etc. This ore could then be used in more advanced LP2 modules and pipes. Mods adding lots of ore gen has caused some mod pack makers to just add a recipe for said item and remove the generation.
I would love to contribute ideas and code to help this project get up and running. Unfortunately I am still learning correct coding styles and how object oriented code works but I am very computer savvy and love scripting and playing with code.
Just thought I would contribute some, have a great day!

Hey, First of all thanks for stopping on by!
Glad to see you like it.
Now Regarding your concerns about the ores, they are basicly resources that unlock the different Tiers of Pipes that are planned.
Titanium will allow you to access the Industrial pipes. They are faster and more durable.
Vanadium will allow you to access the Warp Age, wich allow you to have very energy hungy but near instant travel pipes.
Also High quality Items, Modules and Structures will require these resources.
But they will just be standard furnace recipes. (We might provide dust and stuff to accompany IC2 and other crusher mods)
Regarding the Logistics Order Table, i plan to bring it back but it'll be a LOT of UI work :D
Everyone is free to contribute and offer stuff to the mod. Just note that i can be a bit picky when it comes to additions(Since I basicly have a design up and ready)

Ok, it is very fun to see what you have going and I hope you stay strong! I honestly have considered moving back to 1.7.10 just because I miss LP so much. The crafting was so fun and easy to setup.

What exactly is left to do?

Basicly? Everything
We still dont even have the modules, neither do we have more than 2 sets of pipes
We still need a model for the network core
All the recipes must be made
ect ect

I would love to help, either with programming, texturing, brainstorming or model making.

@Relentless Feel free to fork and Contribute in case of programming.
Modeling is not a big "needs to be done" right now, neither texturing.
We are approaching first item travel at the moment, with the first few modules on the way.
Wich me luck that i can get this stuff done.

Essentially, everyone can contribute, just be warned that your changes must pass my judgement. Tho I'm far from unmistakeable and open for discussion at any time.
And if I like your work, you might even become an official contributor.

Fully agree. I often contribute to repos on github. Mostly ArmA modding, but Java is the first thing I've learned so whenever I have enough time, I will watch trough the source code and help with the developement. Anyways, it's very nice that you rebuild this amazing modification. I loved it and I was thinking myself about recoding it before I found this repository.

What libaries is it missing? have you looked into that?

I share JugglerMaster's concern about additional ores. It would be great if industrial pipe could be made with processed vanilla items (BuildCraft used the magical lubricating properties of gold and diamonds, for example).
Instead of Vanadium, nearly-instant in the MineCraft world means the use of ender pearls in the recipe. If you're willing to get rid of custom ores but don't mind making us work for the faster pipes, may I suggest gold-dusted diamonds in the industrial pipes recipe and ender-coated diamonds for the express pipes (or perhaps a blend of diamond and gold dust and a blend of diamond and ender pearl dust). Pipes could then be dusted with the powdered lubricant in a crafting table or by right-clicking the pipe with dust to change the pipe in situ. Dusted pipes would only need a texture change, not a model change (as opposed to EnderIO conduits or that really big Thermal Expansion pipe with the block-sized casing).
Please allow the three grades of pipe to connect/interact without a step-down block of some sort.

It's also not the end of the world with world gen as many pack makers have resolved this issue of too many ores by simply disabling them and creating their own crafting recipes for them. It's pretty trivial to do that but just takes time for the pack maker.

In Situation Upgrading was in the original Design Paper indeed.
Tho My reasoning for using Vanadium and Titanium ore to gate the player through the tech progress is rather simple:

Uniqueness: I dont want to just simply require some diamonds or blended versions of that. and TBF, diamonds arent as rare as i want them to be. (Advanced recipes will definitly make use of them tho)
Effective Gating Mechanism: Vanadium is planned to be like super super rare and needed in medium-large quantities in the endgame content. Ender pearls and Diamonds are, IMO far to easy to optain in larger quantities these days. Especially in modded.
Mod Interop: Adding a rare ore gives players the incentive to use other mods to e.g. double their ore yield or set up massive quarries in order to advance to the lategame content.

At the end of the day, if you dont like the gating or feel like there are to many ores or simply dont like the recipes, you can allways go about and change the recipes via Minetweaker.
As most packmakers do so anyways...
This is concidered the VANILLA balance for Logistics Pipes 2
And im even debating to detect mods with ore double mechanisms and increase the endgame item cost if they are present automatically. Because im really not a friend of the easy rushing through the tech tree.

Is there a reason for the routing to be so convoluted?

List<Tuple<Boolean, Triple<NetworkNode, NetworkNode, Deque<Tuple<UUID, EnumFacing>>>>>

Is this still being worked on? No offense, just want to be informed. :)

@DAmNRelentless Im planning on picking up pace with it again soon, Reallife kind of got in the way of it as im going through a very rough time at the moment.
But as soon as things have settled ill be back on track trying to revive Logistics Pipes!

@ExpensiveKoala I dont even know where you took that extract from right now. If its from any router except the JumpPoint Search, its not my logic, but by collegue @Borimino

That's from https://github.com/Bitterholz/LP2/blob/master/src/main/java/com/sots/routing/Network.java#L115

Ah yes that... that really is nothing but Debug Code....
We used that to test if the system could sequentially find all routes from any given starting tile in the network(And boy it worked on the first try!)

@ExpensiveKoala
That method returns a list of all routes from a given node.
A route consists of a Boolean, which tells you whether the route has been computed yet, and a Triple, which gets updated once the route has been computed (at the same time the Boolean gets set to True). The Triple contains the Start and End nodes and a Deque (basically a Stack), which has the UUID for the node, which the Item should be at at that time, and the direction the Item should be going in from that node.
The Start and End nodes and the UUIDs for the nodes on the route might be unnecessary, but it has been a while since I have looked at that code, so I am not sure.

I want to help with this mod. I've got absolutely nothing to do for a month or so. It's just, I don't see what has been done and what needs to be. The issues with the check list only gives me a vague idea. Do you think you can show me what you want to be done/how you want it done and I wouldn't mind doing the grunt work.
Also, at this point I feel moving to 1.12.2 is better in the long run.

Hey Koala. And everyone else That would like to commit, discuss and or participate in any way.
Ive setup a discord server specifically for this Mod.
That way we can communicate a lot easier than over Github Issue talk.
Attached you find the join link:
https://discord.gg/S7AfEUP
See you on there!

@ExpensiveKoala Id love to talk about the changes you made when I get off work later


The string to be decoded is not correctly encoded

DOMException: Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.

file 1
import jseu from 'js-encoding-utils';

export const keyTobase64uri = keyArray => {
    return jseu.encoder.encodeBase64Url(keyArray);
};

file 2
const base64EncKeySalt = await keyTobase64uri(encryptionKeySalt);
encryptionKeySalt being a Uint8Array

Later when I call this
import jseu from 'js-encoding-utils';

export const base64uriToArray = encoded => {
    return jseu.encoder.decodeBase64(encoded);
};

const encryptionKeySalt = await base64uriToArray(base64EncKeySalt);

I get this error DOMException: Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.

@abhijithvijayan this isn't related to jscu. it is about jseu.
You should let me know your environment on which you executed the code.


Add fail Presto function

Delivers:

https://github.com/prestodb/presto/issues/21240
https://github.com/prestodb/presto/issues/21187
https://github.com/prestodb/presto/issues/20742
https://github.com/prestodb/presto/issues/21194

@rrando901 please fix the format errors.

@rrando901 Are you still working on it? I have similar comments as @czentgr. I can proceed with it if you are not actively working on this PR. Thanks.
CC: @mbasmanova

@amitkdutta Yes, I am actively working on this. Will be pushing up changes to add unit testing soon.

My apologies @amitkdutta. Are you still able to pick this one up? I've been pulled into some other work that requires my attention.

Superseded by #10191


[sensors_plus] Add Linux support

Use case
While Linux is relatively new to the handheld/smartphone market, there are several devices either already out or coming out soon — most notably the upcoming Steam Deck.
It'd be great to be able to tap into the sensors for these devices.
Proposal
Add Linux support to the sensors_plus package.

@elias8 @jpnurmi Could you please remove the stale label? This issue is still relevant and unresolved.

Giving some priority to this feature on Hacktoberfest, let's see if we can make it happen

I am working on this issue , as Hacktoberfest participant

Is this proposal viable aligned with the current implementation of event streams for specific sensors in the platform_interface package?
AFAIK on Linux there are iio or input device files for sensors and no userspace API, like on Android or iOS. So for Linux support we would need the possibility to specify device names at least and maybe other configuration options... Or correct me if I haven't dig deep enough in the Linux docs yet 😅


Add critbit support

May I suggest that you also use the critbit gem and add words to critbit?  In this way you can also do search by prefix.

Hi there. Thanks for the suggestion. But I'm not sure how this would be useful this would. It also seems to be a heavy dependency to introduce the gem. I'm a bit reluctant to have any JRuby dependencies here too. What do you think?

Your code has only to consider that instead
of working with Hash, it could work with any class that has the same Hash
interface.

Thanks. I'm having a hard time visualizing what you mean, but that's because I'm not familiar with CritBit.
I've made a few changes to the gem in the last couple of weeks. Are you aware of those changes? I've decoupled the Tokeniser and the Counter classes.

Hi Mohamad,
The Hash API should be a subset of the Critbit API. In principle, wherever
you use a Hash you could use a Critbit. The main difference is that Critbit
will keep the data in sorted order while Hash if you do hash.each will
cycle through the data in the order it was inserted. Bellow I show the use
of Critbit as a Hash:
crit = Critbit.new
add some key, value pairs to crit
crit["hello"] = 0
crit["there"] = 1
crit["essa"] = 10
crit["Essa é uma frase para armazenar"] = 100
assert_equal(4, crit.size)
assert_equal(0, crit["hello"])
assert_equal(1, crit["there"])
assert_equal(100, crit["Essa é uma frase para armazenar"])
fetch the key from crit
assert_equal(0, crit.fetch("hello"))
remove a key, value pair from crit.  Given the key it will return
the value and
remove the entry
assert_equal(0, crit.delete("hello"))
assert_equal(3, crit.size)
assert_equal(nil, crit["hello"])
crit.delete("not there") { |k| p "#{k} is not there" }
assert_raise ( KeyError ) { crit.fetch("hello") }
assert_equal("NotFound", crit.fetch("hello", "NotFound"))
crit also accepts complex objects
crit["works?"] = [10, 20, 30]
assert_equal([10, 20, 30], crit["works?"])
assert_equal(["works?", [10, 20, 30]], crit.assoc("works?"))
check if keys are stored in crit
assert_equal(true, crit.has_key?("there"))
assert_equal(false, crit.has_key?("Not there"))
crit stores data in sorted order, so we can call min and max on crit
assert_equal(["Essa é uma frase para armazenar", 100], crit.min)
assert_equal(["works?", [10, 20, 30]], crit.max)
crit also allows for checking value containment
assert_equal(true, crit.has_value?(100))
assert_equal(true, crit.has_value?([10, 20, 30]))
assert_equal(false, crit.has_value?("hello"))
method entries returns all entries in the Critbit... same as Hash
assert_equal([["Essa \u00E9 uma frase para armazenar", 100], ["essa", 10],
["there", 1], ["works?", [10, 20, 30]]], crit.entries)
it is possible to change a value for a given key
crit["essa"] = 20
assert_equal([["Essa \u00E9 uma frase para armazenar", 100], ["essa", 20],
["there", 1], ["works?", [10, 20, 30]]], crit.entries)
Critbit also allows to get data by prefix. Lets add some data to a Critbit:
crit = Critbit.new
crit is space efficient and stores prefixes only once and can be used to
find only strings that match a certain prefix
items = ["u", "un", "unh", "uni", "unj", "unim", "unin", "unio",
"uninc", "unind", "unine", "unindd", "uninde", "unindf",
"unindew", "unindex", "unindey", "a", "z"]
add items to the container
items.each do |item|
crit[item] = item
end
Let´s now retrieve only data that has prefix ‘unin’
crit.prefix = "unin"
Does each for all elements in the critbit with prefix 'unin'
print "["
crit.each do |key, value|
print "[#{key}, #{value}] "
end
print "]"
This is the result:
[[unin, unin] [uninc, uninc] [unind, unind] [unindd, unindd] [uninde,
uninde] [unindew, unindew] [unindex, unindex] [unindey, unindey]
[unindf, unindf] [unine, unine] ]
Does that help?

2015-10-27 21:35 GMT-02:00 Mohamad El-Husseini<EMAIL_ADDRESS>
Your code has only to consider that instead
of working with Hash, it could work with any class that has the same Hash
interface.
Thanks. I'm having a hard time visualizing what you mean, but that's
because I'm not familiar with CritBit.
I've made a few changes to the gem in the last couple of weeks. Are you
aware of those changes? I've decoupled the Tokeniser and the Counter
classes.
—
Reply to this email directly or view it on GitHub
https://github.com/abitdodgy/words_counted/issues/20#issuecomment-151675382
.

--
Rodrigo Botafogo
Integrando TI ao seu negócio
21-3010-4802/11-3010-1802


chore: release master

:robot: I have created a release beep boop
charts/ton-grpc: 0.3.1
0.3.1 (2023-10-25)
Bug Fixes

rollback to tcp healthchecks (bd7ec2f)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/getgems-io/tonlibjson/releases/tag/charts/ton-grpc-v0.3.1 :sunflower:


[FR] Add support for Mandrel trunk builds

#1 adds support for Mandrel releases. This issue is to track the addition of support for Mandrel trunk builds.
Please assign this issue to me.

Thanks for looking into this, @zakkak. Before we start: what use cases do we have for providing the ability to build Mandrel from source? Is this essentially compensating the lack of Mandel nightly (or dev) builds?

Is this essentially compensating the lack of Mandel nightly (or dev) builds?

Yes, I think that would be the main use case.
Note that Mandrel's trunk is essentially the oracle/graal head, as a result mandrel-trunk and trunk would build the same source code, just with a different "configuration".

Closing this as trunk has now been deprecated (see #3 ) and, although Mandrel can be built on reasonable time on github actions, adding a mandrel-trunk without trunk wouldn't be consistent or of much use (i.e. one couldn't test both distributions in a test matrix). People interested in building Mandrel from source in their github workflows are advised to have a look at https://github.com/graalvm/mandrel/blob/9c69df0897174bd57557217e8613701506a9e3f0/.github/workflows/base.yml#L102-L158


enhancement: UI-responsiveness

Overview
Adds responsiveness to the GE UI.
Demo

Large screen

Overflow button for the extra items

Click on any overflow menu item to render it on the response area.

Notes
Fixed omissions on AuthenticationWrapper file
Testing Instructions
Start GE
Resize the GE window to see the effects

#940 #884 #


Enhancement : Home Brew installation method / package

@guarinogabriel , it was great seeing your talk and chatting at the Austin Mage Titans event! I found this repository and immediately wondered why there wasn't a brew installation package...
Before I start hacking away at this I wanted to see if you had considered this already and run into any blockers?

Hi @beejhuff
Thanks for your interest to contribute with the project. There was a discussion about integrating Homebrew: https://github.com/guarinogabriel/Mac-CLI/issues/28
The only problem is that the "installation wizard" should be removed in order to make a brew package.
Do you think there is a way to implement Homebrew and implement the wizard?

There are definitely a few options as I've used homebrew to install packages that included wizard functionality. In general, Inseemmtj recall the general approach is to refactor the installation so that is has two components: installation which does the bare minimum installation of required files and file system permission configuration and the configurator which either runs the wizard or if it detects a config option file just uses those values to silently run the wizard as a background process.
I haven't dug too deep "LU but my guess is that you probably have some type of similarl logical structure at some level already, but I'll don deeper review when I'm done driving to visit family in a day or two.
For non-brew installations you'd just execute each component automatically in sequence so the user never had to worry about the change.

@beejhuff – I really like the idea of running brew install mac-cli and automate the process by using Homebrew as package manager.
You mention that you used homebrew to install packages that included wizard. Do you remember the name of those packages to investigate further?

I want to say that OpenShift from RedHat was one...I'm digging to through my local repos to confirm...

@guarinogabriel I totally second installing through brew.
Regarding the installation wizard, you might actually need it less than you think. I think all the "Do you want to install plugin X?" decisions could be left out, considering the extremely small size (a couple of Ko) of each plugin, and the fact that all the commands are "activated" anyway (in the --help section, in bash completions...). Just install every CLI function.
I would recommend avoiding using Mac-CLI to install other programs you can install with Homebrew (composer, pv, git, node, python, sass, fdupes...). Just set dependencies for things you absolutely need (node to install fast-cli? wget?) and let people choose the others they need (it is easy enough with brew install - you can still recommend to install those in the "Caveat" message). Focus on offering CLI functions for mac. Let programs such as strap bootstrap a new Mac environment for development.
Regarding the "Where is app/file X?" questions, you might be able to automatically get some of the answers (e.g., which mysql, which php, ).
For the Dropbox folder question, beyond the fact that it is extremely often ~/Dropbox, you can actually find that info in ~/.dropbox/info.json under personal.path.
For MySQL, you can get some variables from mysqladmin variables (socket, etc.).
Anyway, you currently ask for a few paths and configs (MySQL, PHP, etc.), but still assume others (e.g., you assume that MAMP is installed... I had to manually edit the config file to set mac mamp:start to launch apachectl -k start and mysql.server start). (It also installs composer when I had it already installed from Homebrew).
If you need more variables you can't obtain automatically, you may set a "Caveat" message indicating to fill in a config file with those variables (as well as config options such as echocommand with a default value).

@sbibauw's suggestions seem very sensible!
Is this still in the roadmap? Do you plan to implement this yourself or do you need help on it? Thanks for the work.

Hi @marnovo,
It is definitely on the roadmap, but unfortunately I am not available at the moment.
Any help is definitely appreciated, thanks!
Gabriel

Update file

File update

Hi everyone,
Since this is a very old Github Issue, I am proceeding by closing it but feel free to create Pull Requests for the improvements you would like to make on the project.


Multiple tracking worked with a-frame but not worked with threejs

Here my code:
let mindarThree = new MindARThree({
      container: containerRef.current,
      imageTargetSrc: mindFileBlob,
      uiScanning: 'no',
      filterMinCF: 0.0005,
      filterBeta: 0.001,
      warmupTolerance: 3,
      missTolerance: 3,
      uiLoading: 'no',
      maxTrack: 3,
 })

It still only tracking one marker at a time

can you setup a live demo site to test?


Add full support for Wait State simulation

Support SecondsPath and TimestampPath when simulating.

Codecov Report

Merging #69 into master will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #69      +/-   ##
==========================================
+ Coverage   98.61%   98.65%   +0.03%
==========================================
  Files           7        7
  Lines         434      446      +12
  Branches       62       64       +2
==========================================
+ Hits          428      440      +12
  Misses          2        2
  Partials        4        4

Impacted Files
Coverage Δ

src/awsstepfuncs/state.py
100.00% <100.00%> (ø)

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 8258e70...dafb38e. Read the comment docs.


BatchDelete fails with Contains

Hi. I really like this lib. Today I updated to the latest version and it seems to me there is a problem.
I need to perform a delete with an Contains check in the WHERE clause:
context.Items.Where(a => guidsToDelete.Contains(a.GuidId)).BatchDelete();
This worked perfectly in Version 2.4.7 and started to fail in 2.4.8.
It seems to me that query.ToParametrizedSql() actually generates a wrong SQL statement:

I prepared a test to reproduce it but have no idea how to fix this. Do you have an idea?

That part was recently added by another contributor.
@vladhorby  can you take a look.

Just initialize CProperty to new C() instead of leaving it null;
You can do it after setting CarCount or in a separate loop before calling BulkUpdate:
foreach (var entity in list)
{
    entity.CProperty = new C();
}

PS Upgrade NuGet to latest version since there was another issue with this that is now fixed.

With version 2.5.0 I have made a temporary fix, in a way that ToParametrizedSql() in not used when having Contains, which maps to ' IN ' in sql.


fix(helm): return errors if delete resources failed when upgrading

What this PR does / why we need it:
Raise this PR to close #11375
Special notes for your reviewer:
After we record the errors return by deleteResource() , should we remove the continue after deleteResource() failed?
https://github.com/helm/helm/blob/a3cbe35b5f081880e72b0d95a05c4b20d15bed90/pkg/kube/client.go#L448-L452
I found that if updateResource() failed, it will NOT skip add the info into res.Updated():
https://github.com/helm/helm/blob/a3cbe35b5f081880e72b0d95a05c4b20d15bed90/pkg/kube/client.go#L416-L421
I think change it might make it different from past, so I leave it be so.
If maintainers of helm think it should be fix too, I'm happy to fix that.
If applicable:

[ ] this PR contains documentation
[x] this PR contains unit tests
[ ] this PR has been tested for backwards compatibility

This will error if the resource being deleted doesn't exist. Since non-existence is the desired outcome, I don't think we should consider that an error.
You might be right that other errors should be returned though. Can you add a check for that?
Can you add tests?

@joejulian That's right, I will add a check before add it to array. And add unit tests for it and for this condition.

@joejulian I've added the check and unit test, please check if it's OK

@joejulian My PR was failed in style check, so I updated my code. I'm not familiar to github PR and helm contribution, should I wait for manager or contribution to review my code again? Is it enough to run make test before push my code?

Hi @joejulian! Sorry for my mistake, I thought I push my code but I didn't, so failed in style check again. Could you code review again?

@joejulian This pr seems stucked here for a long time, and this bug is still bothering me, who can I contact to move on?

@dayeguilaiye @joejulian  @mattfarina The same bug bothers me, could this PR be merged? Thanks

Same here, any progress on this one?

+1 on this issue. Would be great if you merge this

+1. It would be great if you merge this


Configure development tools

I need to set up development tools like prettier and eslint, and make sure Typescript is set up to behave well with NextJS and Tailwind.

:tada: This issue has been resolved in version 1.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[RecoveryServicesBackup] Fix for issue 39837

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

Fix for issue #39837

API change check
API changes are not detected in this pull request.


Emulate a JATOS environment?

I'm not sure what it would take to do this (but I think I'm willing to pitch in as-needed)... but I've grown rather annoyed with the import/export loop to test with JATOS. 😅
Do you know if there might be a way to interact with JATOS during a development build? The simplest solution would be to point to something like... locahost:9000/assets/javascripts/jatos.js, but that won't actually emulate a true JATOS environment (a la interacting with jatos.batchSession and equivalents).

Interesting idea. Maybe proxying a provided JATOS experiment (URL), except for the assets there? Open to contributions!

Yea, I haven't given enough thought to how this would work in practice, but here's a similar issue I raised over on JATOS.

Hi, I made a post in the issue raised over at JATOS. I don't want to cross-post here, so please read it there and hopefully comment: https://github.com/JATOS/JATOS/issues/257#issuecomment-1081828764.


Fix missing types exports

Fix missing types export, error:
Could not find a declaration file for module '@fleet-sdk/mock-chain'. <EMAIL_ADDRESS>implicitly has an 'any' type.
  There are types at<EMAIL_ADDRESS>but this result could not be resolved when respecting package.json "exports". The '@fleet-sdk/mock-chain' library may need to update its package.json or typings.ts(7016)

Also remove src directory from published packages as it's not needed

Codecov Report

Merging #57 (6f066e1) into master (65d5b33) will not change coverage.
Report is 1 commits behind head on master.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master       #57   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           98        98
  Lines        14375     14383    +8
  Branches      1308      1310    +2
=========================================
+ Hits         14375     14383    +8

see 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Capture of Object* is not compatible with Object*.

https://github.com/jspecify/jspecify-reference-checker/pull/165#discussion_r1503356503
Using a wildcard that captures Object* is not compatible with an Object* bound.

As discussed in https://github.com/jspecify/jspecify-reference-checker/pull/165#discussion_r1504549615, I'm hoping that we can justify avoiding an error in this case.
If you want to get the tests to pass with the current behavior, then I suggest jspecify_but_expect_warning instead (to indicate that the checker currently produces an error in strict mode but (if I'm right) that it shouldn't).


Failed to parse configuration at: logging.appenders.

Get this error while trying to use library:
Failed to parse configuration at: logging.appenders.[1]; Could not resolve type id 'raven' into a subtype of [simple type, class io.dropwizard.logging.AppenderFactory]: known type ids = [AppenderFactory, console, file, syslog]
 at [Source: N/A; line: -1, column: -1] (through reference chain: com.company.launcher.WebServiceConfiguration["logging"]->io.dropwizard.logging.LoggingFactory["appenders"]->java.util.ArrayList[1])

contents of config.yml
logging:
  level: INFO
  appenders:
    - type: console
    - type: raven
      dsn: http://XXX

I got rid of this exception by adding dropwizard-raven to the classpath.

@siddjain i have this issue and i have dropwizard-raven in the pom.xml, what else could it be?


Bug with typescript perfomance when use flag -r

I inform you that there is a bug that drastically affects the use of the library when the -r mode is enabled: https://github.com/microsoft/TypeScript/issues/42937
It was found by me thanks to your library :)
If possible, you should redo this part of the code until the typescript fixes this problem.

@mixalbl4-127 Wow, that's interesting!
Probably it can happened because of I use TPromise type

Thank you for issue

TPromise will be removed at 6.0.0 version. It was the useless type.


Web-Console: add more side column functions to query view

Add more functions to the column tree menu, functions are specific to the type of column the menu belong to. Additionally only some columns are available if no groupBy is detected.

This looks great! Huge functionality increase. 👍 after CI


Provide CDN link

Please provide a link to a single minified CSS stylesheet on some CDN, e.g. CDNJS or jsDelivr. All CSS frameworks should have it.

Thanks @niutech for the suggestion, we'll provide it soon

Hello @zetareticoli, I would like to work on this issue under hacktoberfest. Assign this issue to me so I can start working on it.


Node.js require() does not work

BinSize can only be imported using the import BinSize from "binsize" syntax, which makes it incompatible with Node.js.

Fixed in v1.0.0


Allow setting of individual properties from Uri in ConnectionFactory

For when having weird and wonderful usernames and/or passwords without having the pain of escaping them etc.

I've updated the version props to match 2.0.0 for the latest, @houseofcat - do you think there's a chance this could be merged before the release, please? I'm less fussed about the other two PRs (not including the BufferBlock changes for Dataflow, which I'm going to close for now anyway) but this one would be really useful, and isn't currently possible to override due to the nature of the ConnectionPool constructor and overrides.


Audit and document quality/feature parity across each language

We should document level of support for each language:

Document tier of support for each language
Review supported features (e.g. indexed reads, ordered reads) and standardize these for Tier 1 supported languages

Note that there are multiple levels of ordered reading. I believe some readers support chunks being out of order, but don't make an effort to reorder/merge messages across chunks that overlap.

Adrian: make a matrix of features

Feature matrix here: https://www.notion.so/foxglovehq/Library-Feature-Matrix-43bc4544abf3463884fb719ec449b264

👍 we should move this to public documentation once we have the website up


Error when executing RPC call delegator::get()

After having deployed our delegator example I'm unable to execute the RPC transaction get() : i32:

The return value should be i32, but it's the unit type (). There is no network traffic visible in the browsers web dev tools, hence I assume it's an error which happens already in the UI.
How to reproduce
I've attached all necessary files here.

First deploy adder, accumulator and subber
Then deploy delegator (with endowment 1000000) while providing the hashes of those sub-contracts:

accumulator_hash: 0x694f690cebfca6ada3e548747b9e9438f4a277c77e8dc66bbdbfc441d921b3c7
adder_hash: 0x74de7cebd87ffc53621987d0ec18f610867dfd22b56ee8f7162e3a7bbef99bd4
subber_hash: 0x27b8eebfe9e80ae0d90f7f7b60f4acfe530b7f1025e5b462e49719757a88f0d4

First, canvas-ui failed to display meaningful error messages, this was implmented by https://github.com/paritytech/canvas-ui/pull/99
The correct evaluation of the error messages revealed that the gas estimation was wrong. We traced this back to substrate in https://github.com/paritytech/substrate/issues/8693
Which was finally fixed by: https://github.com/paritytech/substrate/pull/8976, which closes the issue.


VirusTotal false positives only after downloading Windows exes?

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.07.29. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2018.07.29

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[ ] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[x] Question
[ ] Other

Description of your issue, suggested solution and other information
I downloaded the Windows exe from the link in the Github Readme and also from the youtube-dl Download Page. I usually run the exe file through VirusTotal before downloading and both of them came out clean.
However, after I downloaded them, I just ran the exe file through VirusTotal again via uploading it and got what I assume to be 3 false positive results.
I have both Kaspersky Total Security and Malwarebytes installed on one PC, with Avast and Malwarebytes installed on another PC (both running Windows 10). Neither one was infected with anything, and have never been infected with anything AFAIK, and I run them at more thorough levels of treatment than they should, so I'm surprised that nothing comes up. I even ran scans using all of them on both PC's to make sure, with nothing wrong coming up. I should also note this regardless of the browser used: Opera, Firefox, Chrome, or Edge
All of the hashes are the same and correspond to the same SHA256 hash of the 2018.07.29 exe file on the youtube-dl Download Page as of this moment:
acd5e953ee1852fa8aca34a69b68226aba8945ab27242fd9291522ce14158731
I just wanted to ask if anyone has any idea why this would happen?

Happen what? False positives is a common thing for AV. Ask these AV engines why.

I understand that. I meant that, what could possibly change in the file that would trigger a false positive after I've downloaded it to my system when it's clean?