BrowserAdaptor's viewbox is too small when rendering invalid TeX with SVG output

Issue Summary
I'm trying to render TeX to SVG by using MathJax 3 modules directly for more control over a more advanced integration.
When typesetting an equation into SVG which produces an error, the produced SVG's viewbox seems to default to some nearly zero-width default width when using BrowserAdaptor instead of LiteAdaptor. The execution context is of course the browser, not Node.js.
However, when using LiteAdaptor, the viewbox is large enough for the error message.
Steps to Reproduce:
Please see example code sandbox here: https://codesandbox.io/s/mathjax-3-browseradaptor-svg-issue-fzv69?file=/src/index.js

Run the example sandbox
Notice that in the example, the SVG produced is of somewhat correct width, and it shows the error message (albeit with black text on a black background).

Open the console in CodeSandbox to see that the generated SVG has a viewbox with enough width to reveal the text, and the rect element has a nonzero width.<svg
    style="vertical-align: -0.452ex"
    xmlns="http://www.w3.org/2000/svg"
    width="25.792ex"
    height="2.149ex"
    role="img"
    focusable="false"
    viewBox="0 -750 11400 950"
    xmlns:xlink="http://www.w3.org/1999/xlink"
>
    <defs></defs>
    <g
        stroke="currentColor"
        fill="currentColor"
        stroke-width="0"
        transform="scale(1,-1)"
    >
        <g data-mml-node="math">
            <g data-mml-node="merror" data-mjx-error="Missing close brace">
                <rect
                    data-background="true"
                    width="11400"
                    height="950"
                    y="-200"
                ></rect>
                <g data-mml-node="mtext" style="font-family: serif">
                    <text
                        data-variant="-explicitFont"
                        transform="scale(1,-1)"
                        font-size="884px"
                    >
                        Missing close brace
                    </text>
                </g>
            </g>
        </g>
    </g>
</svg>

In the code sandbox, perform the following code change, save, and refresh the preview window.@@ -5,7 +5,7 @@ import { browserAdaptor } from "mathjax-full/js/adaptors/browserAdaptor";
 import { liteAdaptor } from "mathjax-full/js/adaptors/liteAdaptor";
 import { RegisterHTMLHandler } from "mathjax-full/js/handlers/html";

-const adaptor = liteAdaptor();
+const adaptor = browserAdaptor();
 RegisterHTMLHandler(adaptor);

 const tex = new TeX({});

Notice that the SVG's viewbox is now too small for the text, and the rect's with is 0.<svg
    xmlns="http://www.w3.org/2000/svg"
    width="0.113ex"
    height="2.149ex"
    role="img"
    focusable="false"
    viewBox="0 -750 50 950"
    xmlns:xlink="http://www.w3.org/1999/xlink"
    style="vertical-align: -0.452ex"
>
    <defs></defs>
    <g
        stroke="currentColor"
        fill="currentColor"
        stroke-width="0"
        transform="scale(1,-1)"
    >
        <g data-mml-node="math">
            <g data-mml-node="merror" data-mjx-error="Missing close brace">
                <rect
                    data-background="true"
                    width="0"
                    height="950"
                    y="-200"
                ></rect>
                <g data-mml-node="mtext" style="font-family: serif">
                    <text
                        data-variant="-explicitFont"
                        transform="scale(1,-1)"
                        font-size="884px"
                    >
                        Missing close brace
                    </text>
                </g>
            </g>
        </g>
    </g>
</svg>

Additionally, here's a diff of the two SVGs:
@@ -1,12 +1,12 @@
 <svg
-    style="vertical-align: -0.452ex"
     xmlns="http://www.w3.org/2000/svg"
-    width="25.792ex"
+    width="0.113ex"
     height="2.149ex"
     role="img"
     focusable="false"
-    viewBox="0 -750 11400 950"
+    viewBox="0 -750 50 950"
     xmlns:xlink="http://www.w3.org/1999/xlink"
+    style="vertical-align: -0.452ex"
 >
     <defs></defs>
     <g
@@ -19,7 +19,7 @@
             <g data-mml-node="merror" data-mjx-error="Missing close brace">
                 <rect
                     data-background="true"
-                    width="11400"
+                    width="0"
                     height="950"
                     y="-200"
                 ></rect>

Technical details:

MathJax Version<EMAIL_ADDRESS>Client OS: Windows 10 version 10.0.19044
Browser: Chrome 97.0.4692.71, Firefox 96.0.2

Supporting information:

Please supply a link to a (live) minimal example page, when possible.

https://codesandbox.io/s/mathjax-3-browseradaptor-svg-issue-fzv69?file=/src/index.js

If your issue is with the display of the mathematics produced by MathJax, include a screen snapshot that illustrates the problem, when possible.

LiteAdaptor (with text selected in the browser to reveal the text):

BrowserAdaptor (with text selected):

Check your browser console window for any error messages, and include them here.

None

Include the MathJax configuration you are using, and the script tag that loads MathJax itself.

// npm i<EMAIL_ADDRESS>import { mathjax } from "mathjax-full/js/mathjax";
import { TeX } from "mathjax-full/js/input/tex";
import { SVG } from "mathjax-full/js/output/svg";
import { browserAdaptor } from "mathjax-full/js/adaptors/browserAdaptor";
import { liteAdaptor } from "mathjax-full/js/adaptors/liteAdaptor";
import { RegisterHTMLHandler } from "mathjax-full/js/handlers/html";

const adaptor = browserAdaptor();
RegisterHTMLHandler(adaptor);

const tex = new TeX({});

const svgOutput = new SVG({
  fontCache: "local"
});

const doc = mathjax.document("", {
  InputJax: tex,
  OutputJax: svgOutput
});

const node = doc.convert("\\text{\\begin{align}\\end{align}", {
  display: true,
  em: 50,
  ex: 25,
  containerWidth: 1100
});

const svg = adaptor.innerHTML(node);

console.log(svg);
document.getElementById("app").innerHTML = svg;

Thanks for the detailed report.
Here's what's going on.  First, note that by default MathJax will typeset error messages using the browsers serif font rather than the MathJax TeX fonts (as that is more efficient and generally looks better).  But when MathJax has to typeset text using a font other than the MathJax TeX fonts, it doesn't have the font data needed to tell the sizes of the characters itself, so it has to determine the size some other way.
For the liteAdaptor, that is done by making the size proportional to the width of the string (which is woefully inadequate, but the best it can do for now).  That is why the box is too large in your case (it assumes all characters are .5em wide, and that just isn't the case).
For the browserAdaptor, MathJax inserts the text temporarily into the DOM and asks the browser to measure it, and then converts that size into its internal measurements.  But in your case, you have used mathjax.document("",...), and when you pass a string to mathjax.document(), it parses your string as a new DOM, and that DOM is detached from any window, so is not displayed.  That means that the browser won't compute any measurements within that DOM, and everything comes back as having width 0.  So MathJax can't tell how big anything is, and you get the near zero width element that you are seeing (it is actually set to be 1px wide according to the ex value that you have given it because some browsers don't show 0 width elements at all).
To resolve that issue, you should use mathjax.document(document,...) so that you are using the actual displayed document for the size computations.
Alternatively, you can tell MathJax to use its MathJax TeX fonts for error messages, so that it can compute the width properly without needing the browser to perform measurements.  To do that, use
const svgOutput = new SVG({
  fontCache: "local",
  merrorFont: ''
});

to disable the merrorFont.  That will also work with the liteAdpator to get the width to match the text.
As for the black background, that is due to the fact that you haven't included the CSS that the SVG output generates, and so the styling that is supposed to be applied to the background rectangle (and the text itself) is not being done.  To resolve that, you can either get the CSS from the SVG by using
svgOutput.stylesheet(doc)

or you could fold the CSS into the SVG element itself using
//
//  Minimal CSS needed for stand-alone image
//
const CSS = [
  'svg a{fill:blue;stroke:blue}',
  '[data-mml-node="merror"]>g{fill:red;stroke:red}',
  '[data-mml-node="merror"]>rect[data-background]{fill:yellow;stroke:none}',
  '[data-frame],[data-line]{stroke-width:70px;fill:none}',
  '.mjx-dashed{stroke-dasharray:140}',
  '.mjx-dotted{stroke-linecap:round;stroke-dasharray:0,140}',
  'use[data-c]{stroke-width:3px}'
].join('');

const svg = adaptor.innerHTML(node).replace(/<defs>/, `<defs><style>${CSS}</style>`);

instead.

Thank you for the thorough response! I can confirm that passing in document does, in fact, fix the sizing issue together with merrorFont: ''. The CSS was also missing, and we opted to bake those styles in as styles due to some SVG renderer requirements.
Thank you very much for your help.

Glad it worked out for you!


Cannot create chat, Failed to establish new connection

After running make chat and create, I run into error: HTTPConnectionPool(host='localhost', port=8000): Max retries exceeded with url: /api/conversation/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f689d426a90>: Failed to establish a new connection: [Errno 111] Connection refused')). Any ideas?

@pedrolsdm Can you share screenshot and give more clarity on error ?

You have to have make run going in a separate terminal window (in order to have a server make chat can connect to)- doing that resolved this for me.


Ensure barriers with measure within 1m of stream start point are included in bcfishpass.py add-downstream-ids

Why is blue_line_key=360612053 (BULK, trib to Maxan Cr) broken at 104.3m (when running model using new gradients)?
The 20% gradient barrier is at 0.93m, the stream should not be split at all - it should all be excluded from accessible habitat.
There does not appear to be any barrier at 104.3m, the only barrier noted is the 20% at 0.93m.
Seems like something in 02_model/sql/00_segment_streams.sql is slightly off - I don't see any other instances of this issue with just a quick visual scan of the output accessible streams and definite barriers in Bulkley.

No, breaking at 104.3m is expected - we break streams at all barriers and there is a 15% at that location. Issue seems to be that the resulting segment is somehow not getting coded as upstream of the 20% barrier.

FWA_Downstream() already has a tolerance argument - use it.


Write tests to track reuse of oldLayer mechanism in PaintingContext

The PaintingContext has a number of methods to push a new compositing layer into the scene description via methods such as PaintingContext.pushClipRect(...). The last parameter of these methods is an optional reference to the engine layer that was created on the previous call to that method from the same RenderObject, typically named oldLayer.
Currently, the use of this oldLayer mechanism is on the honor system as its optional nature means that code in the framework never really needs to save the prior layers and send them back down in terms of producing the correct output.
With the introduction of code to track the stable parts of a Flutter Engine scene via these oldLayer objects, it will become more important for the framework to actually save the previous layer objects and pass them down in subsequent push*Layer methods. If this is not done then the engine will have to assume that the layer represents brand new content that has not appeared in previous scenes and it may spend time and (battery) energy redrawing pixels that haven't changed.
We can manually look for such cases where there are calls to any of the pushLayer methods that don't save the return value, but we have no way to test for compliance.
We should be able to write tests that pump a tree of widgets into the widget tester and then pump them again through a PaintingContext that can detect if oldLayer parameters are used in all cases. This will help us both to initially find code that does not save and reuse the layers and also to track them for regressions over time.

See also: https://github.com/flutter/flutter/issues/33939

In general, something like this should work
    await tester.pumpWidget(...);
    final _MockPaintingContext c = _MockPaintingContext(tester.layers.first as ContainerLayer);
    tester.allRenderObjects.first.paint(c, Offset.zero);
    expect(c.missingOldLayerCount, 0);

...

class _MockPaintingContext extends PaintingContext {

  _MockPaintingContext(ContainerLayer layer) : super(layer, Rect.zero);

  @override
  ClipPathLayer pushClipPath(bool needsCompositing, Offset offset, Rect bounds, Path clipPath, PaintingContextCallback painter, {Clip clipBehavior = Clip.antiAlias, ClipPathLayer oldLayer}) {
    if (oldLayer == null) {
      ++_missingOldLayerCount;
    }
    return super.pushClipPath(needsCompositing, offset, bounds, clipPath, painter, clipBehavior: clipBehavior, oldLayer: oldLayer);
  }

  @override
  ClipRRectLayer pushClipRRect(bool needsCompositing, Offset offset, Rect bounds, RRect clipRRect, PaintingContextCallback painter, {Clip clipBehavior = Clip.antiAlias, ClipRRectLayer oldLayer}) {
    if (oldLayer == null) {
      ++_missingOldLayerCount;
    }
    return super.pushClipRRect(needsCompositing, offset, bounds, clipRRect, painter, clipBehavior: clipBehavior, oldLayer: oldLayer);
  }

  @override
  TransformLayer pushTransform(bool needsCompositing, Offset offset, Matrix4 transform, PaintingContextCallback painter, {TransformLayer oldLayer}) {
    if (oldLayer == null) {
      ++_missingOldLayerCount;
    }
    return super.pushTransform(needsCompositing, offset, transform, painter, oldLayer: oldLayer);
  }

  @override
  ClipRectLayer pushClipRect(bool needsCompositing, Offset offset, Rect clipRect, PaintingContextCallback painter, {Clip clipBehavior = Clip.hardEdge, ClipRectLayer oldLayer}) {
    if (oldLayer == null) {
      ++_missingOldLayerCount;
    }
    return super.pushClipRect(needsCompositing, offset, clipRect, painter, clipBehavior: clipBehavior, oldLayer: oldLayer);
  }

  int get missingOldLayerCount => _missingOldLayerCount;

  int _missingOldLayerCount = 0;
}

I'm not quite sure which hierarchies it should be run on.

Another way to do testing would be to add an oldLayer statistic to the tracing. We could track the statistic for our common benchmarks for the %age of reused layers.
The two mechanisms would have different goals. The tests would try to detect when a RenderObject didn't even try to save the old layer and the statistics would test the practical advantage on an application with animations and transitions.


Support for Sennheiser Busylight

Sennheiser has another light that could be added to this library.
https://www.youtube.com/watch?v=B7D7DkVItKI

There is a surprising lack of information about this piece of hardware. Guess I'll have to order one and snoop it to find out how it works.

@JnyJny Get in touch with the support - I made good experiences asking Luxaflor and Kuando for free examples.

It would seem this light has been discontinued by the manufacturer. I've found it for sale in Europe and Australia, shipping to the US would have doubled the price of the light. Unless someone loans me one it's unlikely this will ever get supported.


Replace template_file data source with templatefile function call

Closes https://github.com/AgnostiqHQ/covalent-azurebatch-plugin/issues/26

[ ] I have added the tests to cover my changes.
[x] I have updated the documentation and CHANGELOG accordingly.
[x] I have read the CONTRIBUTING document.

 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.

added to https://github.com/AgnostiqHQ/covalent-azurebatch-plugin/pull/32


Help icon block the audio control in small screen

The help icon is preventing me to use the controls of the audio player. One suggestion could be make the help icon small size, like the home icon size and move to the top right corner. I don't think people really use this help icon a lot, perhaps they might use help icon once in a year!

I think the help button was supposed to move into the "help & feedback" section found in the nav drawer.

@umairidris that's correct except their widget just stays there...
Might just move it


[CI][easy] fix code coverage report script

Motivation
We worked around Cargo's feature unification so that we can separate
testing and fuzzing code (1d1cb400 [build]).  But the original
cargo test is not able to run the tests on a crate. We need to pass
--all-feature option as well.
This fixes the following error when running the coverage report script
error[E0433]: failed to resolve: could not find `test_helpers` in `libra_types`

(Write your motivation for proposed changes here.)
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Tested locally and observed the coverage test runs through crates.

@bors-libra r+

:pushpin: Commit 19b5b61 has been approved by huitseeker

:hourglass: Testing commit 19b5b615fd39372406b63ad61e94b2c88514cc53 with merge 38d2a1ed3fde793784b2dba978ee349099cdecfe...

:sunny: Test successful - checks-circle_commit_workflow
Approved by: huitseeker
Pushing 38d2a1ed3fde793784b2dba978ee349099cdecfe to master...


Add script to automaticallly run notebooks

Closes #355
Changes

Added a script nb_autorun.py that runs notebooks and reports any errors or warnings it encounters. It can also optionally update the cell outputs, and create GitHub issues.
Updated notebooks and dependencies to remove or silence problems found by this script. Most of these changes were trivial, with the exception of the quantum volume notebook that needed more attention.
Updated the code cell outputs.
Added a GitHub workflow to run this script on PRs with changed notebooks.

Implementation details

The script will not execute any cells with the uses-hardware tag.
The script will ignore any warnings in cells with the ignore-warning tag.
I've moved some duplicated code across the different tests to it's own file (tools.py). The main thing is the code that parses the arguments, but I also moved some formatting functions so I could use them in the new script (see https://github.com/Qiskit/platypus/commit/783ca0e3673753c5e4f7577f0e47d68076743300 and https://github.com/Qiskit/platypus/commit/eb86e07772e92e4e85c66bef089a67705d9650a1)

How to read this PR

The bulk of this PR is in the scripts/content_checks directory, especially the nb_autorun.py script. You can test this script locally using python3 scripts/content_checks/nb_autorun.py

Note: This will take a while to run as most of the notebooks are computationally expensive, so you may want to create test notebooks with errors / warnings in them and either update scripts/content_checks/notebook_paths.txt or pass specific paths with python3 scripts/content_checks/nb_autorun.py path/to/file.ipynb

The workflow will need extra attention as I've never written one before and am not sure how to test it. The idea is that it just installs everything and then runs nb_autorun.py.
Optionally, also review the changes made to the notebooks.

Screenshots

Closing as I've re-packaged this into a neater PR.


protoc unknown flag --experimental_allow_proto3_optional

I see you've done several commits to try to get protoc to work on different machines.
I'm on Ubuntu 20.04.5 LTS (Focal Fossa, bullseye/sid) which supplies <IP_ADDRESS>-2ubuntu5 of protobuf-compiler
which complains with
  Compiling nostr-rs-relay v0.8.6 (/data/nostr/nostr-rs-relay)
error: failed to run custom build command for `nostr-rs-relay v0.8.6 (/data/nostr/nostr-rs-relay)`

Caused by:
  process didn't exit successfully: `/data/nostr/nostr-rs-relay/target/release/build/nostr-rs-relay-f8880fbac01359b8/build-script-build` (exit status: 1)
  --- stdout
  cargo:rerun-if-changed=proto/nauthz.proto
  cargo:rerun-if-changed=proto

  --- stderr
  Error: Custom { kind: Other, error: "protoc failed: Unknown flag: --experimental_allow_proto3_optional\n" }

Maybe I need to upgrade the OS to 22.04.1 LTS (Jammy Jellyfish)?

  I guess 20 has a version of protobuf compiler too old to even accept the experimental flag :/

Ubuntu 22 fixed it.
I tried to upgrade the VPS and ruined it and spent half a day rebuilding/configuring a new server.  But it did fix this issue.


Document managed state of ImmutableArray

Document the fact that the Engine may modify the underlying contents of
the ImmutableArray that is returned from Engine.getEntities.
This addresses issue #224

Thanks a lot!


Large memory consumption 5GiB

Hi,
I'm reporting the overzealous memory consumption, only with the program open, with no scripts running.
Today arrived at 5GiB.
Dbeaver 4.1.3
OS: Ubuntu 17.04 zesty
Kernel: x86_64 Linux 4.10.0-32-generic
Openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-2ubuntu<IP_ADDRESS>-b11)
OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)

Hi there,
I've heard about it before at this thread, please take a look, may it's the cause for this huge memory consumption.

Thanks man @carlosspohr,
Using export SWT_GTK3 = 0 solved my problem.
Thanks.

Thank you @carlosspohr. It looks like this question was solved. It will be closed.


Update Sample05_IndexingDocuments.md

Index name must only contain lowercase letters, digits or dashes, cannot start or end with dashes and is limited to 128 characters.

Thank you, @doggy8088, for bringing this issue to our attention. It has been resolved and released in the https://www.nuget.org/packages/Azure.Search.Documents/11.5.1 package.


Carbon devtool page

Related Ticket(s)
closes: https://github.com/carbon-design-system/carbon-for-ibm-dotcom-website/issues/1196
follow-on issue:  #1316
Description
This PR adds a new page under resources called Carbon Devtools, turns resources into a "drop down menu", and identifies potential places we can link from.
I'm not married to any of this, and images still need to be worked on. I wanted to make sure image placements, and images in general were things we wanted before I spent some time on those.
Changelog
New

Carbon Devtools Resource Page

Changed

Updated resource navigation menu
Updated pages with link to Carbon Devtools

Had the discussion with James and Jan and more folks on the team. I agree this might not be the right task to pick up right now, and we can close this PR.


improve reload

Hi @lbbrhzn,
Try changing:
assert await async_setup_entry(hass, config_entry)
with this:
hass.config_entries.async_setup(config_entry.entry_id)

I think I should use config_entries.async_remove as well.


Fork app error

When I forking dashboard sub app, shows me a error that CommandError: There is no app with the label 'dashboard.catalogue'
I ran a command that python manage.py oscar_fork_app dashboard.catalogue myappsfolder/. It is working well when I ran python manage.py oscar_fork_app dashboard myappsfolder/.
Technical details

Python 3.6.8
Django==2.2.4
django-oscar==2.0

I solved it. It was python manage.py oscar_fork_app catalogue_dashboard. I was doing it by previous versions.


ARROW-17326: [Go][FlightSQL] Add FlightSQL support for Go

This implements initial support for FlightSQL in Golang and is sufficient to pass the flight_sql integration scenario.
As a follow-up in a subsequent PR i'll implement an equivalent example to the C++ SQLite example using Go.
Also closes #12496

I'll give this till end of today and then merge if no one has any comments or asks me to wait for them to have a chance to look through it


I want to learn, how make animation text in Python

Pls, helppp, I am learn( I very want to animations in my scripts, help(0(((

I think this should be on StackOverflow

why people keep asking this question while they have the source code

why people keep asking this question while they have the source code

I try to learn source code, but, this work, did not work(((

bruh, just google about the library then you find a lot of explanations

self.slowType("Made by: Drillenissen#4268 && Benz#8295", .02) # Print who developed the code

#pip slowprint
import slowprint
slowprint("This is text on github", 0.2) #("text", speed)


Code for evaluation article

Article : Field vs. Constructor Injection

Added Code example for evaluation article Field vs. Constructor Injection


Sync integrated web-wallet login and extension

The idea is if you have the extension installed - to be still presented the section with the web-wallet, synced with your account credentials.
This depends on finalising #528 + implementing the new design.

I don't think that we need new designs for that. This task is technically complex, but it should be doable. Most probable it required some Vuex refactoring, setting a syncing of state in different directions.


The Kernel crashed while executing cross_validate for the decision tree on the remote server

Applies To

[X] Notebooks (.ipynb files)
[ ] Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?
I ran the following code on my remote machine through VSCode.
from sklearn import datasets
from sklearn.model_selection import train_test_split
from sklearn.linear_model import LogisticRegression
from sklearn.model_selection import cross_validate
from sklearn import preprocessing
from sklearn import tree
import numpy as np
from scipy import stats

covtype = datasets.fetch_covtype()
X = covtype.data
y = covtype.target
X_train, X_test, y_train, y_test = train_test_split(X,y,test_size=0.2,random_state=0)

# get the mode of y
mode_num = stats.mode(y).mode[0]
print('The mode of y is:', mode_num)

y_binary_train = np.where(y_train == mode_num, 1, 0)
y_binary_test = np.where(y_test == mode_num, 1, 0)
print("y_binary_train", y_binary_train)
print("y_binary_test", y_binary_test)

min_max_scaler = preprocessing.MinMaxScaler()
X_train_minmax = min_max_scaler.fit_transform(X_train)
X_test_minmax = min_max_scaler.fit_transform(X_test)

And
dt = tree.DecisionTreeClassifier()
dt.fit(X_train, y_binary_train)
DTree_perform = cross_validate(dt,X_train,y_binary_train, cv=3, scoring='roc_auc')['test_score'].mean()
DTree_perform_test = dt.score(X_test, y_binary_test)

print("Decision Tree train set score", DTree_perform)
print("Decision Tree test set score", DTree_perform_test)

The second piece of code failed with the info:
Canceled future for execute_request message before replies were done
The Kernel crashed while executing code in the the current cell or a previous cell. Please review the code in the cell(s) to identify a possible cause of the failure. Click [here](https://aka.ms/vscodeJupyterKernelCrash) for more info. View Jupyter log for further details.

But the same code is working perfectly normally on my local machine, even though my remote machine has better CPU and memory. I used a virtual env with Python 3.9.5. I tried many times but the same result is returned.
I wonder if it is a bug of vscode-jupyter on the remote server or a glitch in my remote server. I suspect it is the former.
VS Code Version
1.67.1 (Universal)
Jupyter Extension Version
v2022.4.1021342353
Jupyter logs
info 21:4:38.565: Execute Cell 7 /home/yongxin/projects/datascience/hw4/HW4.ipynb
error 21:4:38.682: Cell execution failed without request, for cell Index 7 [o [Error]: Cannot execute code, session has been disposed.
	at _.requestExecute (/home/yongxin/.vscode-server/extensions/ms-toolsai.jupyter-2022.4.1021342353/out/extension.node.js:2:163895)
	at k.executeCodeCell (/home/yongxin/.vscode-server/extensions/ms-toolsai.jupyter-2022.4.1021342353/out/extension.node.js:2:635446)
	at k.execute (/home/yongxin/.vscode-server/extensions/ms-toolsai.jupyter-2022.4.1021342353/out/extension.node.js:2:634859)
	at k.start (/home/yongxin/.vscode-server/extensions/ms-toolsai.jupyter-2022.4.1021342353/out/extension.node.js:2:630159)
	at async t.CellExecutionQueue.executeQueuedCells (/home/yongxin/.vscode-server/extensions/ms-toolsai.jupyter-2022.4.1021342353/out/extension.node.js:2:647254)
	at async t.CellExecutionQueue.start (/home/yongxin/.vscode-server/extensions/ms-toolsai.jupyter-2022.4.1021342353/out/extension.node.js:2:646714)] {
  category: 'sessionDisposed'
}
warn 21:4:38.683: Cell completed with errors [o [Error]: Cannot execute code, session has been disposed.
	at _.requestExecute (/home/yongxin/.vscode-server/extensions/ms-toolsai.jupyter-2022.4.1021342353/out/extension.node.js:2:163895)
	at k.executeCodeCell (/home/yongxin/.vscode-server/extensions/ms-toolsai.jupyter-2022.4.1021342353/out/extension.node.js:2:635446)
	at k.execute (/home/yongxin/.vscode-server/extensions/ms-toolsai.jupyter-2022.4.1021342353/out/extension.node.js:2:634859)
	at k.start (/home/yongxin/.vscode-server/extensions/ms-toolsai.jupyter-2022.4.1021342353/out/extension.node.js:2:630159)
	at async t.CellExecutionQueue.executeQueuedCells (/home/yongxin/.vscode-server/extensions/ms-toolsai.jupyter-2022.4.1021342353/out/extension.node.js:2:647254)
	at async t.CellExecutionQueue.start (/home/yongxin/.vscode-server/extensions/ms-toolsai.jupyter-2022.4.1021342353/out/extension.node.js:2:646714)] {
  category: 'sessionDisposed'
}
info 21:4:38.684: Cancel all remaining cells true || Error || undefined
info 21:4:38.685: Cancel pending cells
info 21:4:38.685: Cell 7 executed with state Error
info 21:4:42.263: Execute Cell 8 /home/yongxin/projects/datascience/hw4/HW4.ipynb
info 21:4:43.721: Restart requested file:///home/yongxin/projects/datascience/hw4/HW4.ipynb
info 21:4:43.722: Restart kernel execution
info 21:4:43.722: Cancel pending cells
info 21:4:43.722: Starting raw kernel env (Python 3.9.5) for interpreter /home/yongxin/projects/datascience/hw4/env/bin/python
info 21:4:43.723: Restarting undefined
info 21:4:43.737: Kernel launching with ports 9040,9041,9042,9043,9044. Start port is 9000
info 21:4:43.839: Process Execution: > ~/projects/datascience/hw4/env/bin/python -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
> ~/projects/datascience/hw4/env/bin/python -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
info 21:4:43.866: Adding env Variable PYTHONNOUSERSITE to /home/yongxin/projects/datascience/hw4/env/bin/python
info 21:4:43.886: Process Execution: > ~/projects/datascience/hw4/env/bin/python -m ipykernel_launcher --ip=<IP_ADDRESS> --stdin=9043 --control=9041 --hb=9040 --Session.signature_scheme="hmac-sha256" --Session.key=b"1c4b9564-837e-4e7d-9786-17ff70bd026d" --shell=9042 --transport="tcp" --iopub=9044 --f=/home/yongxin/.local/share/jupyter/runtime/kernel-649804juHfUC3GQuIH.json
> ~/projects/datascience/hw4/env/bin/python -m ipykernel_launcher --ip=<IP_ADDRESS> --stdin=9043 --control=9041 --hb=9040 --Session.signature_scheme="hmac-sha256" --Session.key=b"1c4b9564-837e-4e7d-9786-17ff70bd026d" --shell=9042 --transport="tcp" --iopub=9044 --f=/home/yongxin/.local/share/jupyter/runtime/kernel-649804juHfUC3GQuIH.json
info 21:4:43.886: Process Execution: cwd: ~/projects/datascience/hw4
cwd: ~/projects/datascience/hw4
info 21:4:44.240: ipykernel version 6.13.0 for /home/yongxin/projects/datascience/hw4/env/bin/python
info 21:4:44.240: ipykernel location ~/projects/datascience/hw4/env/lib/python3.9/site-packages/ipykernel/__init__.py for /home/yongxin/projects/datascience/hw4/env/bin/python
warn 21:4:44.734: StdErr from Kernel Process /home/yongxin/projects/datascience/hw4/env/lib/python3.9/site-packages/traitlets/traitlets.py:2389: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.
  warn(
/home/yongxin/projects/datascience/hw4/env/lib/python3.9/site-packages/traitlets/traitlets.py:2343: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '1c4b9564-837e-4e7d-9786-17ff70bd026d' instead of 'b"1c4b9564-837e-4e7d-9786-17ff70bd026d"'.
  warn(

info 21:4:44.746: Kernel Output: NOTE: When using the `ipython kernel` entry point, Ctrl-C will not work.

To exit, you will have to explicitly quit this process, by either sending
"quit" from a client, or using Ctrl-\ in UNIX-like environments.

To read more about this, see https://github.com/ipython/ipython/issues/2049

To connect another client to this kernel, use:
    --existing kernel-649804juHfUC3GQuIH.json

info 21:4:45.123: Got new session 3c2106b2-987d-422c-b879-756ee7aa2f1c
info 21:4:45.123: Started new restart session
info 21:4:45.129: Executing silently Code (idle) = import sys\nprint(sys.executable)
info 21:4:45.437: Executing silently Code (completed) = import sys\nprint(sys.executable)
info 21:4:45.605: UpdateWorkingDirectoryAndPath in Kernel
info 21:4:45.605: Executing silently Code (idle) = import os\nimport sys\n%cd "/home/yongxin/projects/datascience/hw4"\nif os.getcwd() not in sys.path:
info 21:4:45.645: Executing silently Code (completed) = import os\nimport sys\n%cd "/home/yongxin/projects/datascience/hw4"\nif os.getcwd() not in sys.path:
info 21:4:45.645: Waiting for idle on (kernel): 3c2106b2-987d-422c-b879-756ee7aa2f1c -> idle
info 21:4:45.645: Finished waiting for idle on (kernel): 3c2106b2-987d-422c-b879-756ee7aa2f1c -> idle
info 21:4:46.762: Cancel all remaining cells true || Error || undefined
info 21:4:46.762: Cancel pending cells
info 21:4:46.762: Cell 8 executed with state Error
info 21:4:49.228: Execute Cell 7 /home/yongxin/projects/datascience/hw4/HW4.ipynb
info 21:4:52.748: Cancel all remaining cells true || Error || undefined
info 21:4:52.748: Cancel pending cells
info 21:4:52.748: Cell 7 executed with state Error
info 21:5:10.459: Execute Cell 7 /home/yongxin/projects/datascience/hw4/HW4.ipynb
info 21:5:13.400: Cell 7 executed with state Success
info 21:5:16.53: Execute Cell 8 /home/yongxin/projects/datascience/hw4/HW4.ipynb
error 21:6:3.787: Disposing session as kernel process died ExitCode: undefined, Reason: /home/yongxin/projects/datascience/hw4/env/lib/python3.9/site-packages/traitlets/traitlets.py:2389: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.
  warn(
/home/yongxin/projects/datascience/hw4/env/lib/python3.9/site-packages/traitlets/traitlets.py:2343: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '1c4b9564-837e-4e7d-9786-17ff70bd026d' instead of 'b"1c4b9564-837e-4e7d-9786-17ff70bd026d"'.
  warn(

info 21:6:3.788: Dispose Kernel process
error 21:6:3.788: Raw kernel process exited code: undefined
error 21:6:3.790: Error in waiting for cell to complete [Error: Canceled future for execute_request message before replies were done
	at t.KernelShellFutureHandler.dispose (/home/yongxin/.vscode-server/extensions/ms-toolsai.jupyter-2022.4.1021342353/out/extension.node.js:2:1322339)
	at /home/yongxin/.vscode-server/extensions/ms-toolsai.jupyter-2022.4.1021342353/out/extension.node.js:2:1341391
	at Map.forEach (<anonymous>)
	at v._clearKernelState (/home/yongxin/.vscode-server/extensions/ms-toolsai.jupyter-2022.4.1021342353/out/extension.node.js:2:1341376)
	at v.dispose (/home/yongxin/.vscode-server/extensions/ms-toolsai.jupyter-2022.4.1021342353/out/extension.node.js:2:1334858)
	at /home/yongxin/.vscode-server/extensions/ms-toolsai.jupyter-2022.4.1021342353/out/extension.node.js:2:537744
	at t.swallowExceptions (/home/yongxin/.vscode-server/extensions/ms-toolsai.jupyter-2022.4.1021342353/out/extension.node.js:2:920640)
	at u.dispose (/home/yongxin/.vscode-server/extensions/ms-toolsai.jupyter-2022.4.1021342353/out/extension.node.js:2:537722)
	at t.RawSession.dispose (/home/yongxin/.vscode-server/extensions/ms-toolsai.jupyter-2022.4.1021342353/out/extension.node.js:2:541401)
	at runMicrotasks (<anonymous>)
	at processTicksAndRejections (node:internal/process/task_queues:96:5)]
warn 21:6:3.790: Cell completed with errors {
  message: 'Canceled future for execute_request message before replies were done'
}
info 21:6:3.792: Cancel all remaining cells true || Error || undefined
info 21:6:3.792: Cancel pending cells
info 21:6:3.792: Cell 8 executed with state Error

Coding Language and Runtime Version
Python 3.9.5
Language Extension Version (if applicable)
Python 3.9.5
Anaconda Version (if applicable)
N/A
Running Jupyter locally or remotely?
Remote

tried many times but the same result is returned.
I wonder if it is a bug of vscode-jupyter on the remote server or a glitch in my remote server.

Thanks for filing this issue.
This looks like a a problem with the setup of the remote jupyter server.
With remote Jupyter servers, we merely send the code for execution to the Jupyter server, there's absolutely no setup involved at our end apart from connection.
I'd double check the setup, by setup i mean the installation of the sklean packages on the remove machine. If it works locally, then this means you have it installed correctly & on the remote machine things are either not setup correctly or the kernel is crashing for some other unknown reason. Unfortunately when dealing with remote Jupyter servers, we don't really know why kernels crash.
You might want to optionally look at the logs on the remote jupyter server to figure this out.
Closing this issue as this is specific to a package that's installed on a remote Jupyter server.

Thank you for the suggestions!


Hello, is 2D skeleton or 3D skeleton used

Hello, is 2D skeleton or 3D skeleton used

We used 3D skeleton for NTU-RGB+D and NW-UCLA datasets.
Thank you !


RelayNodeHash, RelayNodeEqual

Introduces RelayNodeHash and RelayNodeEqual to allow variable nodes to be compared by vid and not through pointer equality.
This fixes many failing passes, including alter_op_layout, pass annotation, some of auto_quantize, combine_parallel_batch_matmul, combine_parallel_conv2d, combine_parallel_dense, convert_op_layout, dynamic_to_static, eliminate_common_subexpr, fold_constant, fuse_ops, inline, lambda_lift, pass_manager, merge_composite, partition_graph, some of to_normal_form, some of cps, and to_graph_normal_form

Thanks Lily! Really awesome work!!


How to add crx to Firefox

I want to add a new version of an extension to Firefox. Unfortunately I get a message that the file is crx corrupted.

You need this version: https://github.com/Brawl345/Image-Reverse-Search-WebExtension/releases/tag/v3.4.1 or install it from addons.mozilla.org. v4 is incompatible with Firefox since it uses Manifest v3.

Ahh well.
Anyway I see that the extension doesn't work with Firefox 107.0.1 portable x64 (I thought the new version was fixed).
I even deleted the whole profile and just added this extension to do a test.
Details: on the google page, a message appears:
"Oops! something went wrong".
Same in TinEye: "Oops, something didn't work!".
Bing loads endlessly.
In version 93 it works.

It works for me on Firefox 108. Make sure you use a public accessible image.


ROE-606 Validate manging officer field characters

JIRA link
https://companieshouse.atlassian.net/browse/ROE-606
Change description
Three further validation error messages to cover the fields specific to the individual managing officer.
Work checklist

[x] Tests added where applicable
[x] UI changes meet accessibility criteria

Merge instructions
We are committed to keeping commit history clean, consistent and linear.  A BREAKING CHANGE can be part of commits of any type,
types other than fix: and feat: are allowed, for example build:, chore:, ci:, docs:, style:, refactor:, perf:, test:, and others,
footers other than BREAKING CHANGE: <description> may be provided.

looks ok to me, will have to wait for martin to confirm once he's free


Show Granted Item on same line in form

There's some housekeeping stuff in there from the flat modifiers progress because I keep having to stash the changes and bring them back, so figured I might as well push up the safer stuff.


Go19 backward compatibility

Add support for Go 1.9 bits, but keep backward compatibility

Coverage remained the same at 96.893% when pulling e2d3b02eaeded7c3c9ec60e99213d04145c72f95 on go19-backward-compatibility into 988f4f24992fc745de53c42df0da6581e42a6686 on master.

Coverage decreased (-0.006%) to 96.887% when pulling e50f6331a528e717b638f91ee5b9d672b6951037 on go19-backward-compatibility into 988f4f24992fc745de53c42df0da6581e42a6686 on master.

Coverage decreased (-0.006%) to 96.887% when pulling 137ee1ab11e3a90d30cb5595f912c995a4d0ed60 on go19-backward-compatibility into 988f4f24992fc745de53c42df0da6581e42a6686 on master.

Coverage decreased (-0.006%) to 96.887% when pulling b77e40d9e7c5702f8f2d94076e76595e1724a6f4 on go19-backward-compatibility into 988f4f24992fc745de53c42df0da6581e42a6686 on master.

Hi @lemire
Here is a version that continues to support 1.8 (and maybe earlier, but the make qa script requires 1.8 or higher).
Which version do you think it would be better to keep, this or the just 1.9 version?
I think this is better, tho a bit sloppy. When the next version of Go comes out, I might change some function signatures and require 1.9.

I think that backward compatibility is good to have, at least temporarily. It is not like anyone has a strong incentive to stick with an old version of Go for years...


Add a search bar to the docs site.

Is there an easy way to enable a search bar for the documentation site to facilitate navigation?
cc @listx

Looks like there are many options: https://gohugo.io/tools/search/

Some live examples (FYI: these websites are also using Docsy):

https://kubernetes.io/docs/home/
https://glossary.cncf.io/
...

If I run hugo locally I can just edit this line https://github.com/kubernetes-sigs/prow/blob/1005b0be14d394fcb2dca13462951433a79f042a/site/config.toml#L136 to true and the sidebar now has a search box. I think this might be sufficient for now. The other option is to create the Google-backed search which is probably better, but then I think we need someone in the community to do the creation of this. @mrbobbytables is this something you've done before?

@listx Fixed this in https://github.com/kubernetes-sigs/prow/pull/38
/close


feature(login): add error state to login page component

fixes https://github.com/patternfly/patternfly-next/issues/1017

Deploy preview for pf-next ready!
Built with commit 4ae40fcdae65eedc7543c2a9c59e08246da1d9e5
https://deploy-preview-1045--pf-next.netlify.com


Load Balancer loses Host IP-Address binding on upgrade

Rancher Versions:
Server: 1.3.0
healthcheck: 0.2.0
ipsec: 0.0.2
network-services: 0.0.8
scheduler: 0.2.0
kubernetes (if applicable):
Docker Version:
1.11.2 (on the node)
OS and where are the hosts located? (cloud, bare metal, etc):
Ubuntu 14.04 LTS, Bare Metal (node)
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Single Node Rancher Server, external DB
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
Steps to Reproduce:

Create a second IP adress for a single network interface using an alias. For example:

eth0 is <IP_ADDRESS>
eth0:1 is <IP_ADDRESS>

Create a load balancer (I used current lb-service-haproxy:v0.4.9 coming with rancher 1.3.0)
Create a service rule linking to a service
Click on "Show host IP address options" below the list
Enter one of the IPs afore mentioned to bind haproxy to, e.g. <IP_ADDRESS>
Create loadbalancer
After the loadbalancer is running everything is working as expected
Now Edit/Upgrade loadbalancer and do something without touching the IP address options mentioned before
Click on "Edit" to finish your changes

Results:

The IP bindings are dropped
The IP bindings are also not shown when opening them by blickin ong "IP adress options"
This results in haproxy hijacking <IP_ADDRESS>'s ports as well without any visible conflict even if they are used on the host system outside rancher's managed network which leads to most mysterious effects.

Expected:

The IP bindings are kept as they have been configured

@proligde This is a Duplicate of #7288.  The host-ip is being saved on create thou.  Until it's fixed when you edit/upgrade you will have to re-enter the host-ip.  Will try to get dev to fix for next major release.


Cannot find "Certificate Template" section under MMC (Windows 2019-2022)

[Enter feedback here]
I am trying to find the section under the MMC after I select "Add/Remove Snapins. Not sure if it exists.

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

ID: 20f487a0-5d22-9db1-67b8-b8e16aa07d23
Version Independent ID: 14d72ae1-1b8c-4682-7226-f115b69061a8
Content: Get Started with Virtual Smart Cards - Walkthrough Guide (Windows 10) - Microsoft 365 Security
Content Source: windows/security/identity-protection/virtual-smart-cards/virtual-smart-card-get-started.md
Product: w10
GitHub Login: @Dansimp
Microsoft Alias: dansimp

Hello @tdsan ,
are you sure AD CA role is installed on the server you are doing it?
Thank you

Hello @tdsan ,
did you have a chance to check it?
Thank you


UltrackWidget: include z axis on 3d tracks

Fixes #158

I made a change to fix the tests; otherwise, LGTM!
Let's wait for the CI.
Thanks @ilan-theodoro

It really seems that ultrack doesn't work with numpy > 2.1, that's really unfortunate.

@ilan-theodoro I think we really need python-mip on conda, I'll see how can help us with that.
Can you do a quick fix by pinning the versions for now?


Use role operator with API (BIG-IP 13.0.0)

Hello.
I am trying disable nodes on F5 throw API.
I have code:
node_exists = mgmt.tm.ltm.nodes.node.exists(partition='Common',name=node_ip)
node = mgmt.tm.ltm.nodes.node.load(partition='Common',name=node_ip)
node.session = "user-enabled"
node.update()
And this work with admin account, but do not work with role "operator".
User with role operator can disabling and enabling nodes and members in the pool throw GUI. But can't do it throw API.
What i do incorrect?
Traceback (most recent call last):
File "node-restart-3.1.py", line 290, in
auto()
File "node-restart-3.1.py", line 95, in auto
node.update(state="user-disabled")
File "/usr/lib/python2.7/site-packages/f5/bigip/tm/ltm/node.py", line 72, in update
return self._update(**checked)
File "/usr/lib/python2.7/site-packages/f5/bigip/resource.py", line 579, in _update
response = session.put(update_uri, json=data_dict, **requests_params)
File "/usr/lib/python2.7/site-packages/icontrol/session.py", line 284, in wrapper
raise iControlUnexpectedHTTPError(error_message, response=response)
icontrol.exceptions.iControlUnexpectedHTTPError: 400 Unexpected Error: Bad Request for uri: https://ip-f5:443/mgmt/tm/ltm/node/~Common~node-ip/
Text: u'{"code":400,"message":"01070822:3: Access Denied: user (test) does not have modify access to attribute (node_address_app_id) of object (node_address)","errorStack":[],"apiError":3}'
I do not nodify ip address....
Thanks.

For the API, you will need to create a custom role. Details here: https://devcentral.f5.com/articles/icontrol-rest-fine-grained-role-based-access-control-30773


Include terminal name in terminal textarea title

Currently focusing the terminal reads something like "Terminal 1", "Terminal 2". It should read "Terminal 1, bash", "Terminal 2, (custom title)", etc.
Context: https://github.com/microsoft/vscode/issues/95573#issuecomment-637445449

Or simply the title you set... Maybe the title, then "Terminal 1" in brackets?

Or maybe go absolutely wild, and have it as a configurable string. Something like "$n (Terminal $i)", where $n is the name you set, and $i is the index.

I can look into fixing this issue if it is still open

@tabaddor please do 🙂, the backlog for us essentially means we want to do this eventually.

On it. @chrisnorman7 Quick clarification, but what was meant by "custom title" in the issue description above?
I guess more specifically, with Terminal X, (custom), is the (custom) the user's choice? How will that terminal name be determined?

@tabaddor by custom I mean when you rename a terminal via this command:

Not sure what the image says, but when you rename the terminal with the
"Terminal: Rename" command.
Thanks so much for dealing with it.
Take care,
Chris Norman
On Mon, 8 Jun 2020 at 18:36, Daniel Imms<EMAIL_ADDRESS>wrote:

@tabaddor https://github.com/tabaddor by custom I mean when you rename
a terminal via this command:
[image: image]
https://user-images.githubusercontent.com/2193314/84062167-d9e1ab80-a973-11ea-9c94-1bc0b751d552.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/99072#issuecomment-640771039,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABBUZ2IONQFIMK63RM2XJ5TRVUOR3ANCNFSM4NQVEKNQ
.

I anticipate changing this line:

https://github.com/microsoft/vscode/blob/162abc77c787ff7a31ad221277dc7c9d0b437ade/src/vs/workbench/contrib/terminal/browser/terminalInstance.ts#L487

to this:
xterm.textarea.setAttribute('aria-label', nls.localize('terminalTextBoxAriaLabel', "Terminal {this._id}, {this._title}"));
Though prior to setting this attribute I anticipate I will need to add a simple check to see if the title was set or not, along with ensuring this attribute is updated on title changes (renamed instances). Although the latter should already be accounted for.

To get localization to work it will need to be "Terminal {0}, {1}", this._id, this._title), and yes good thinking we should have an if in there are 2 separate nls.localize calls, one with and one without the title.

Will a submit a PR, but any way to get around this:

Was thinking of using a ternary conditional operator, but would see the same warning.

Where should I see this? When I focus the terminal, voiceover reads "Terminal 1, complentary, group"

I'm also not getting what I'd expect from this issue.
What's read:
Terminal 2  edit
blank
Red dot where I clicked:

What I'd expect that to read: "Terminal 2 powershell"

I'm going to take a shot at this for Grace Hopper's Open Source Day!

I see that this issue hasn't been fully resolved as of now. I would like to try to fix it if it is still available to work on.
As I am completely new to this project, I would appreciate some code pointers. With the pointers above I have already found out where the string "said by the narrator" is set. But could someone point me to the entry point for Terminal:Rename?
Thank you, looking forward to making my first contribution.

I found the entry point of Terminal:Rename (if anyone is searching for it, see here) and have resolved the issue.
A pull request has been created at #112317.

Thanks a lot for creating a PR!


pull request for e2e test at 11/16/2016 16:26:03

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Not working

I just try today and seems IMDB update their website, nothing appears while is active...

I just checked, and I still see the usual page and the script works fine for me. Can you link me a page that doesn't work for you?

http://www.imdb.com/title/tt1853728/
Tempermonkey shows is running but, nothings change. Tried on 3 computers, and non of them work. Looks IMDB update their page

Just found it, after installation have to restart Tampermonkey to make it work, and open all option is not work, all others is working thanks


Batch file problem

System Details

OS: Windows 10 22h2 19045.3757
Thorium Version: Portable 119.0.6045.214

Problem
The batch file creates the folders "~dp0\USER_DATA\cache" and saves the data there.
Screenshots

Additional Notes
When I delete "--disk-cache-dir="%~dp0%\USER_DATA\cache" all data saves in USER_DATA folder. Can this cause problems if I use it withous this?
If I understand everything correctly, data should saves in USER_DATA folder, not in the "~dp0\USER_DATA\cache"

@Akaro5 Correct. Let me look into it. In the meantime, you can just remove that line if you dont care about thorium writing its cache to your system TEMP folder.

@Akaro5 Fixed, the goal was to prevent cache writes outside the dir, but it looks like it puts it in USER_DATA even without the flag, so I just removed it and reverted back to the way the .bat files were before. The lastest M120 release has this fix.


Unable to debug java maven projects

UPD: after a lot of experiments, looks like debug is failing due to java-plugin version 0.7.8 and tested also with 0.7.9
Using gauge runner 1.1.4 with java-plugin 0.7.7 debug works fine.
Using intelliJ Idea 2020.1 with gauge-plugin version 0.3.21
Reproducing steps:

Init a new project using command 'gauge init java_maven'
mvn clean install
Tring to debug a step get the error:

Testing started at 10:43 AM ...
"C:\Program Files\Gauge\bin\gauge.exe" run --machine-readable --hide-suggestion --simple-console D:/Gauge/template-project/specs/example.spec
Runner Ready for Debugging
Listening for transport dt_socket at address: 57392
Error ----------------------------------
[Gauge]
Failed to start gauge API: Timed out connecting to java
Get Support ----------------------------
Docs:          https://docs.gauge.org
Bugs:          https://github.com/getgauge/gauge/issues
Chat:          https://spectrum.chat/gauge
Your Environment Information -----------
windows, 1.1.4, c982558
html-report (4.0.12), java (0.7.9), json-report (0.3.5), screenshot (0.0.1), spectacle (0.1.4)
Process finished with exit code 1
gauge.log
Runner Ready for Debugging
14-09-2020 10:53:21.512 [java] [DEBUG] running - C:\Program Files\Java\jdk-14.0.1\bin\java.exe [-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=57656,timeout=25000 -Dfile.encoding=UTF-8 com.thoughtworks.gauge.GaugeRuntime --start]
14-09-2020 10:53:21.512 [java] [DEBUG] stdout/stderr is logged to logs\12988-java.exe.out
14-09-2020 10:53:22.289 [java] [INFO] Listening for transport dt_socket at address: 57656
14-09-2020 10:53:44.326 [Gauge] [CRITICAL] Failed to start gauge API: Timed out connecting to java
12988-java.exe.out
Listening for transport dt_socket at address: 57656
$ java -version
openjdk version "14.0.1" 2020-04-14
OpenJDK Runtime Environment (build 14.0.1+7)
OpenJDK 64-Bit Server VM (build 14.0.1+7, mixed mode, sharing)

Closing as this is a duplicate of https://github.com/getgauge/gauge-java/issues/501


Idea about 26 speak

Add slide from https://github.com/EcutDavid/stack

Working on implement slide, closing.


AttributeError: 'module' object has no attribute 'nms_cuda'

AttributeError: 'module' object has no attribute 'nms_cuda'

There is a situation can cause this error when you did not run the make.sh before training or validation.


OMA Standalone OrthoXML error

Hello dear developers,
I encountered a problem loading orthoXML file of OMA Standalone analysis. As far as I know OMA doesn't generate any scores for orthologs (similar to FAS score from hamstr/fdog). But PhyloProfile doesn't allow to upload orthoxml file without any variables.
Is it possible somehow to use the files without scores for visualization in PhyloProfile?
Thank you!

Hi @akiselev-lrsv ,
PhyloProfile works also with input files that have no extra values except the presence / absence of orthologs. Please check our wiki page at https://github.com/BIONF/PhyloProfile/wiki/Input-Data
For using oma standalone orthoxml file as input, you need to have additionally a mapping file for the taxon IDs.
Best,
Vinh

Hi @trvinh
I have already studied the Input Data wiki page.
I have tried with OMA output converted with convert_oma_standalone_orthoxml.py using the matrix for taxonID
OMA_converted.orthoxml.txt
And I get the error like this

I also tried OrthoFinder orthoxml output
Orthofinder.orthoxml.txt
And got the error like this

Test files and manually composed files in the short format are working well.
Thank you for your help!
Andrei

Hi Andrei,
Then I will need to test it with your input file, but after 04.01.2021. Currently I am on vacation :)

@akiselev-lrsv
Hi Andrei,
you were right, the orthoxml parsing function of PhyloProfile could not work with input files that don't have any variables. Sorry about that! I have already fixed it in the version v1.4.5 . Please wait at least 2 days until Bioconductor update the changes. If you are in hurry, you can install the dev version using devtools.
One difference between the xml files from OMA and OrthoFinder, which could also cause problem, is the xmlns within the orthoxml tag. In the OMA file, it was defined as:
xmlns="http://orthoXML.org/2011/"

while in the OrthoFinder, it looks like this:
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

The parser function cannot work with xmlns, but with xmlns:xsi. I have also modified the python script (convert_oma_standalone_orthoxml.py) to rename xmlns to xmlns:xsi. So, if you encounter an error message like "Unsupported XML format! Please check the file header!", you can check that tag line. Actually, if you don't need the details, you can remove them and keep only <orthoxml>.
Hope that it solves the issue!
Happy new year and best regards,
Vinh

@akiselev-lrsv
Hi Andrei,
you were right, the orthoxml parsing function of PhyloProfile could not work with input files that don't have any variables. Sorry about that! I have already fixed it in the version v1.4.5 . Please wait at least 2 days until Bioconductor update the changes. If you are in hurry, you can install the dev version using devtools.
One difference between the xml files from OMA and OrthoFinder, which could also cause problem, is the xmlns within the orthoxml tag. In the OMA file, it was defined as:
xmlns="http://orthoXML.org/2011/"

while in the OrthoFinder, it looks like this:
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

The parser function cannot work with xmlns, but with xmlns:xsi. I have also modified the python script (convert_oma_standalone_orthoxml.py) to rename xmlns to xmlns:xsi. So, if you encounter an error message like "Unsupported XML format! Please check the file header!", you can check that tag line. Actually, if you don't need the details, you can remove them and keep only <orthoxml>.
Hope that it solves the issue!
Happy new year and best regards,
Vinh

Hi @trvinh
Now it works, thank you for your updates!
When I submit orthoxml file from OrthoFinder it doesn't calculate the number of orthologs. Shouldn't it work with othoxml format?
Best
Andrei

Hi @trvinh
Now it works, thank you for your updates!
When I submit orthoxml file from OrthoFinder it doesn't calculate the number of orthologs. Shouldn't it work with othoxml format?
Best
Andrei

Hi Andrei,
ich must show the number of orthologs after the input file is corrected read. Did you parse the NCBI taxonomy info, since I saw you have non-ncbi taxonomy IDs in the input file?
Best, Vinh

Hi Andrei,
ich must show the number of orthologs after the input file is corrected read. Did you parse the NCBI taxonomy info, since I saw you have non-ncbi taxonomy IDs in the input file?
Best, Vinh


Mobile Support?

I'm still currently new to this idea and love the project i would love if someone could explain to me how the mobile support is supposed to work, because currently driving out catching pokemon then coming back into the house gets difficult.

Basically, you portforward port 8000 (http://www.portforward.com has a nice guide on how to portforward on most routers)
You will then scan the QR code that comes up when you hit "Activate" alternatively you can type in the address it gives you which allows you to see the map on safari.
Happy hunting!

@killerjerick Thank you thank you thank you! Luckily i have some general experience with port forwarding and figured it out quite easily. Thanks heaps!


Allow passing a path to a cert on disk when joining a cluster

This is not a bug, it's a feature request.
The cluster bootstrap docs here show how to join a cluster.https://lxd.readthedocs.io/en/latest/clustering/
But it seems that embedding a pem-encoded cert inside yaml is our only option.
Templating yaml with large strings (like certificates) is error prone. It would be friendlier to automation if a filepath could be specified instead. This would avoid the need to run sed to post-process the cluster cert, and embed it in yaml.
Perhaps something like "cluster_certificate_path"
cluster:
  enabled: true
  server_name: <%= $server_name %>
  server_address: <%= $server_addr %>
  cluster_address: <%= $cluster_addr %>
  cluster_certificate_path: "<%= $certificate_path %>"
  cluster_password: <%= $trust_password %>

@stgraber , I know this is tagged as later but I can tackle this issue if this is ok for you.

@presztak sure, go for it!

@presztak We usually use soon to indicate that the LXD team at Canonical will be implementing it within the next 6 months or so whereas later usually means that if nobody else implements it, we're unlikely to do it any time soon.
So feel free to pick issues from either of them. If we have doubts about whether we want something to be implemented at all, we'll use the Maybe tag which indicates we'll need some convincing or extra discussion before we can move forward with that issue.


I lent 588 DoC but when I click on withdraw MAX, show  585.59...

I lent 588 DoC but when I click on withdraw MAX, show  585.59...
See:

Another thing that could be improved: For now if I insert an value to redeem that is higher than Max, I'm still able to click on Redeem button. I think the button should be inactive if the value inserted is higher than Max value allowed to Redeem.

Fixed.


Write up conclusions about elasticsearch performance

also forward the invoice to the finance department!
and close the account.

Acccount closed, invoice forwarded.


How add new image icon in grid control column

Apart from edit & delete icons, i want to add my customized icon in grid control column. I want to write my custom action If this icon is clicked.
Can you please provide simple example?
Thanks

You need to override the various templating functions in [control](https://github.com/tabalinas/jsgrid/blob/master/src/fields/jsgrid.field.control.js) and append your own buttons to the default ones, i.e.
itemTemplate: function(value, item) {
    var buttons = this.__proto__.itemTemplate.call(this, value, item);

    //add whatever you want here

    return buttons;
},

Appreciate if you can provide sample examples/links.

@sri596, not sure what you are expecting from examples, but it's quite straightforward based on the @tonisostrat 's snippet:
itemTemplate: function(value, item) {
    var $result = this.__proto__.itemTemplate.call(this, value, item); //the default buttons

    var $myButton = $("<button>").click(function() { console.log('my button clicked') });

    return $result.add($myButton);
},

PS: probably better would be to use Object.getPrototypeOf instead of __proto__, find more info  here.


Type 'String' has no member 'round'

XCode 10.0(10A255)
Deployment Target 9.3
cocoapods 1.5.3
SwiftSpinner (1.6.2)
How to fix this issue ?

@andreamazz ?

same issue

Is the swift version of the pod’s target set to 4.2?

Is the swift version of the pod’s target set to 4.2?

Yes

That doesn't seem like a Swift version issue to me. The property changed its value type in iOS12, I'll have a look

@teerayuthton I also can't reproduce here. Could you please give a try to the demo app in the SwiftSpinner repo and check if it's compiling for you?

@teerayuthton I also can't reproduce here. Could you please give a try to the demo app in the SwiftSpinner repo and check if it's compiling for you?

okay i will try again

In your demo project the auto complete display "lineCap" with type CAShapeLayerLineCap
But in my project display String type !!???

And i don't know why?

@teerayuthton okay, in that case it's probably best to try reinstalling your dependencies. What I would do in your place is to delete the Pods folder and the pods lock file as well as the workspace file and then run a fresh pod install ...

I am having the same issue.  I have not upgraded my project to Swift 4.2.  Is that required to eliminate these errors?  Thanks.

I deleted my pods and lock file, did a fresh install.  And clean build.  Same problems.

One other clue.  I switched to "Legacy Build System" in my project just recently due to another issue.  In your project, you are new New Build System (File--Project Settings).  Your project on Github builds fine without the errors.  Odd.

So I found a solution to this problem. The issue arrises if you update all the PODS in your Workspace before converting your source to Swift 4.2.  I was using Swift 4 with SwiftSpinner 1.5.0.  I updated all my pods before I updated my project source files.  Mistake.  Once I updated all the source files (and not the pods), then deleted all the existing PODS in the project directory, then ran Pod Install, I got things working with SwiftSpinner 1.6.2

So I found a solution to this problem. The issue arrises if you update all the PODS in your Workspace before converting your source to Swift 4.2. I was using Swift 4 with SwiftSpinner 1.5.0. I updated all my pods before I updated my project source files. Mistake. Once I updated all the source files (and not the pods), then deleted all the existing PODS in the project directory, then ran Pod Install, I got things working with SwiftSpinner 1.6.2

Thank!!!!!!! @daver234 your solution it worked!!!!!!

same issue i have
I am using swift 4 that why issue come
In swift 4.2+ its working fine
But i don't want to change swift version of my project.
So i find out below solution. it will working in swift 4
circleLayer.lineCap = "round"


Issue Lazy Loading Pinterest

Hi, a few days ago I was able to lazy load Facebook, Twitter and Instagram, now I'm trying to lazy load some Pinterest's embeds, but just work with the follow button, it's not working with Pinterest boards, profiles, etc...
Does anyone have the same issue? What should I do?
Thanks.

Hi again! I already fixed this!
The issue was happening because Pinterest gives us this tag structure (without text inside of the tag):

But, if you add some text inside of the tag, it works perfect:
Pinterest
If you're working with some backend script, you should add the text dynamically. Hope someone else found this comment useful. :)


I'm not sure, it's likely an Unbound config issue. What DoT providers do you have setup? Only one or multiple?
You could also try qmcgaw/dns:v2.0.0-beta (see the v2.0.0-beta branch) which is my own implementation with a bunch of better things, although it's lacking dnssec validation for now (that's why it's in beta)

thank you. I did not realized quad9 was in the list. removing it fixed the issue.


Added a custom menu example.

Description
Added an example of a custom menu.

This still needs some additional work to figure out if the code for highlighting the active page in the menu needs to be rewritten (or removed).
Types of Changes

[ ] Documentation update
[ ] Bug fix
[x] New feature
[ ] Breaking change1

1The change breaks (or has the potential to break) existing functionality.
Checklist:

[ ] I am familiar with the Contributing Guidelines.
[ ] I agree with the terms of the Contributor Agreement.
[ ] My name is on the list of contributors.
[ ] My code follows the code style guideline of this project.
[ ] The changes introduced by this pull request are covered by existing or newly introduced tests.

If necessary:

[ ] I have updated the API documentation as part of the package doc-strings.
[ ] I have created a separate pull request to update the framework documentation on signac-docs and linked it here.
[ ] I have updated the changelog.

@bdice is this ready for review?

Closing for now, please feel free to reopen if there is renewed interest.


Ember Data 15+ compatibility

Includes some general test cleanup

Every test does a full setup and teardown cycle, this should make all tests atomic (no shared state or required running order)
Moved enqueue tests into unit tests and reduced execution time
Renamed all integration test filenames so that they match the title shown in mocha
adapters are not singletons anymore so needed to use store.adapterFor instead of container.lookup('adapter:x') emberjs/data#2915

Passes on 15, 16.1 (and canary!)
_getRef now takes type as either a string or a class, closes #141

@brendanoh @MattMSumner please help test :)

@tstirrat @sararob I will upgrade a Pai.rs branch to this version today as well as to ED Canary and see what works.
If I have issues will revert to beta 16.1, then 15 etc.

Well currently on Ember 1.11 and ED beta 16.1 all is well. Tried Ember canary originally and this was a problem: https://github.com/emberjs/data/issues/2967 Thankfully it is fixed by https://github.com/emberjs/data/pull/2959 but didn't try ED canary yet but will.
Live by canary. Die by canary.

@tstirrat I tested in the blog demo and everything looks good to me! Nice work.

Great!! I also tried it on a local pairs app.. no ghosting problem either. perhaps that was only in beta.14.1...

Hey, would like to help test this. How do I use this version of Emberfire, preferably through bower?

@oskarrough you can add the following to you devDependencies in package.json:
    "emberfire": "git://github.com/firebase/emberfire#ts-ed-beta-16-compat",

:+1:


Linorobot2 wrapper for other 4 wheel robots

I can't remember whether it was a pull request here or on another repo, but I vaguely remember someone adding a wrapper for linorobot2 so it can be more easily used for other robots.  Is that the case for robots with different motor controller boards and imu sensors?

You can find it here: https://github.com/linorobot/linorobot2/blob/galactic/linorobot2_bringup/launch/custom_robot.launch.py . This launches a Sphere RVR robot by setting custom_robot to True when launching bringup.launch.py

Thanks!


Search by partial document title (node title)

Description
Search results should reveal all nodes with title partially matching the search text. "Partial match" in this case means that
exact searched text is contained within node title.
Couple of examples:

if user searches by "5025" then file document "brother_005025.pdf" should be returned as part of search results.
if user searches by "4998" then document "brother_004998.pdf" should to be in search results.

Currently (as of 3.0.1) searches 1. and 2. do not yield any search results.
Info:

Papermerge Version: 3.0.1

All I needed to do is to type "*" in search bar i.e. search by "*5025" and "*4998". Feature is there, was just not documented.
Documentation was updated: https://docs.papermerge.io/3.0/user/search/


Ticket #26432: Fix size tuple order when using numpy reshape on a GDALBand

Could you please add a regression test in tests/gis_tests/gdal_tests/test_raster.py?

I improved the existing test test_band_data by checking the len of rows & columns of the numpy array + some arbitrary values that were swapped before.

buildbot, add to whitelist.

@yellowcap, care to review?

Currently two .DS_Store files are coommited, please remove those from the patch.

@yellowcap  ok thanks for the feedbacks (didn't know about reverse, cool!)
I'll update this tomorrow :wink:

@Opa- you are most welcome, thanks for reporting and fixing the bug.

Hi,
Taking your advices into account I updated the pull request, it is more clearer now thanks to you and it test the numpy array entirely. I dropped the raster.tif to txt via numpy.savetxt() and the reference array is now fully loaded & tested.

merged in 461f74ab19b7b0f393c475a55b4880227a8e4413, thanks!


AltRank - KeyError 'vt'

Describe the bug
When running altranky.py script, suddenly today (2022-04-26) from about midnight UTC, altrank.py script started to fail on key 'vt'.
To Reproduce
Run python3 altrank.py.
Expected behavior
Running without exception.
Log
2022-04-26 09:49:42 - altrank - INFO - 3C Cyber Bot-Helper altrank
2022-04-26 09:49:42 - altrank - INFO - Started on Tuesday 09:49:42 2022-04-26
2022-04-26 09:49:42 - altrank - INFO - Notifications are enabled
2022-04-26 09:49:42 - altrank - INFO - Loaded configuration from '/3commas-cyber-bots/altrank.ini'
2022-04-26 09:49:42 - altrank - INFO - Reloaded configuration from '/3commas-cyber-bots/altrank.ini'
2022-04-26 09:49:42 - altrank - INFO - Fetched 3Commas pairs blacklist OK (6 pairs)
2022-04-26 09:49:42 - altrank - INFO - Fetched 3Commas BTC price OK (40642.19 USDT)
Traceback (most recent call last):
  File "/3commas-cyber-bots/altrank.py", line 359, in <module>
    lunarcrush = get_lunarcrush_data(logger, program, config, usdtbtcprice)
  File "/3commas-cyber-bots/helpers/misc.py", line 92, in get_lunarcrush_data
    f"rank:{crush['rank']:3d}  acr:{crush['acr']:4d}   gs:{crush['gs']:3.1f}   vt:{crush['vt']:8f}   "
KeyError: 'vt'

Environment:

Python version: 3.9.7
Operating System: Linux lunar-crush-vps 5.13.0-40-generic #45-Ubuntu SMP Tue Mar 29 14:48:14 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Version of software: Latest files (as 2022-04-26)

Workaround
The error is on line 92 in /helpers/misc.py which is debug log.
Remove the vt:{crush['vt']:8f} part from this line, and the script should be running fine.

Thank you for reporting, it seems LunarCrush removed a field from the data.
I have updated the code


RE 1: Crows and spiders not spawn at all

Crows and spiders will not appear in any seed except their normal locations. Is there any possibility to make them back to pool of randomized enemies? And is there a way to fixing the chimeras so it doesn't cause crashes anymore?

What version of BioRand and seed do chimeras crash on?
As for enemies, you can only swap certain enemy types with other types. For example zombies can not be changed to spiders, dogs can not be swapped with hunters. Chimeras crash in any room other than the lab.

I'm playing on the latest version of BioRand 2.1.4 and in this version no chimeras cause a crash. My point was, is there any hope that the bug related to chimeras outside the lab will ever be fixed and will they return to randomized enemies? I saw that they could be randomized in older versions of BioRand.

I saw that they could be randomized in older versions of BioRand.

Yes, but the game crashed when you killed them.

My point was, is there any hope that the bug related to chimeras outside the lab will ever be fixed and will they return to randomized enemies?

Possibly, right now I do not know what causes the crash and how to fix it.

Possibly, right now I do not know what causes the crash and how to fix it.
Thanks for respond. Maybe it will be possible to find the cause and remove it one day I hope so.
You are doing an amazing and hard job keep it coming.

I Want To Say First And Foremost I Have No Idea What Is Going On Under The Hood Of RE, However With That Said I Am ONLY Speculating!
Maybe It Could Be Related To A Memory Issue? Killing The Chimera In A Place That It Is Not Supposed To Be Could Maybe Cause The Engine To Fail At Trying To Rewrite/Load/Create Data Causing It To Crash. At The Risk Of Sounding Stupid I Don't Know If It's Possible To Essentially Pre-Cache All The Data Involving The Chimera And It's Animations Like For Example Spawning The Maggots, Blowing Off Limbs, Blood, Etc. Could Be Causing An Error Because The Maggots Are Only Loaded When You Enter The Labs.
I'm Not An Experienced Programmer By Any Means And I'm Talking Out Of My Ass In Hopes That It Could Be Possible To Try This,

I expect it is to do with it spawning an effect or another entity when it is killed. If the room doesn't have the required things loaded - it crashes.

RE 1 now no longer has this limitation


Add consignment ref to email subject

There is also a mail link on the error message for the filechecks failure for judgments. Not sure if this should include a consignment ref as well? But this would mean another call to db. One for the consignment ref and another for the fileStatus.


Issue with creating files when using Ollama/Deepseekcoder V2 in Aider

Issue
Issue with Ollama/Deepseekcoder V2 in Aider
I tried using Aider with Gemini, and it works fine with no issues at all. However, when I tried it with Ollama/Deepseekcoder V2, it didn't work well.
Issues Encountered

Incorrect File Path Creation:

When I assign tasks to create something, after writing the code, it always asks to create the file under the wrong path. For example:Allow creation of new file path/to/create_video.py? (y) it adds the path/to/ for some reason.

We can ignore this, and it does create the file anyway, but it's still an inconvenience.

Confusion with Code Content:

The main issue that makes the whole thing unusable is when it tries to create files with incorrect commands. For example:Allow creation of new file create_video('path/to/audio_file.wav', 'output_video.mp4')? y

This is not even a file that should be created. It seems to get confused by elements within the code and tries to apply them incorrectly later.

Steps to Reproduce

Use Aider with Ollama/Deepseekcoder V2.
Assign a task to create a new file.
Observe the incorrect file path prompts and attempts to create files with code commands.

Expected Behavior

The tool should correctly identify the paths and files to be created without getting confused by the content of the code.

Environment

Aider version: v0.45.0
Operating System: Ubunut

Version and model info
Environment

Aider version: v0.45.0
Operating System: Ubunut

The ollama page shows quantization Q4_0, so I think it's been quantized?
https://ollama.com/library/deepseek-coder-v2

I'm going to close this issue for now, but feel free to add a comment here and I will re-open or file a new issue any time.

I am using, the same model as above ollama/deepseek-coder-v2 and i got the following
The LLM did not conform to the edit format.
https://aider.chat/docs/troubleshooting/edit-errors.html

No filename provided before ``` in file listing

Why is this happening? can i help to solve it?

As @paul-gauthier recommends I have downloaded deepseek not quantized.
This one https://ollama.com/library/deepseek-coder-v2:16b-lite-base-fp16
I am not having the above errors, but not so usefull yet (some weird dialogues like "Ok, any changes I propose will be to those files", "I switched the greeting text from "Hello" to "Hey")


Typescript: Type 'string[]' is not assignable to type 'string' ts(2322)

🐛 Bug Report
I get a type error when I use some string as a child of Button.
Type 'string[]' is not assignable to type 'string'.ts(2322)

To Reproduce
Create a button component with a string child.
<Button style={styles.likeButton} icon={HeartIcon}> {'SOME TEXT'} </Button>
Expected behavior
No error
Example Repository
https://github.com/boraikizoglu/button-ts-error-ui-kitten
UI Kitten and Eva version

Package
Version

@eva-design/eva
1.4.0

@ui-kitten/components
4.4.1

typescript
3.8.3

@boraikizoglu this is not a library issue. Adding spacings before { and after } equals to empty strings, so the error is correct - you pass 3 strings. I don't think with the code above you expect to render 3 strings instead of one, so I'm going to close this.
So instead of
<Button> Text </Button>

Use
<Button>Text</Button>


 Likely because heap.page_count won't increase when allocating more than that.
Example:
#include <mimalloc.h>
bool test_visit(const mi_heap_t *heap, const mi_heap_area_t *area, void *block, size_t block_size, void *arg) {
    printf("I'm visiting a block of size %zu\n", block_size);
    return true;
}

int main() {
    mi_heap_t *heap = mi_heap_new();
    mi_heap_malloc(heap, 2097152);
    mi_heap_malloc(heap, 2097160);
    mi_heap_malloc(heap, 24576);
    mi_heap_visit_blocks(heap, false, &test_visit, NULL);
    return 0;
}

Expected result:
I'm visiting a block of size 24576
I'm visiting a block of size 2097152
I'm visiting a block of size 2097160

Actual result:
I'm visiting a block of size 24576
I'm visiting a block of size 2097152

Yes, this is not right :-( Unfortunately, there is no easy fix without impacting performance. I need a bit mo re time to figure out a good way to do this. TBC

Sure, no problem. Is it always the same size on all platforms, or is there a way to check at which size will it stop visiting?

@daanx have you thought about it? I guess it is complicated since the page is not registered in the heap itself (i.e. abandonned) and can be freed by any thread?
But does that also means that mi_heap_destroy won't delete them?

Hi @epoupon, indeed it is a bit tricky as such pages are treated as abandoned... that is good for the core allocator but not great for the heap walking (and indeed, mi_heap_destroy won't work for those -- didn't realize this yet).
I want to do an interim release soon (this week) but I will look into this issue after that; it needs to be fixed.

Thanks for your support! Will it be also fixed in the 1.x branch?

This is fixed now in the latest dev/dev-slice branches -- huge pages are now no longer abandoned but still eagerly decommitted if freed from other threads.


Only filter the remotes in a mixed visualization search

Now the search is filtering all the visualizations checking for non null display name when remotes are in the search type. This PR fix it
Please @juanignaciosl check this PR when green

I hadn't seen exclude_imported_remote_visualizations, looks wrong, and this change might not address the actual problem. I've proposed a suggestion, give it a look.


ol.interaction.Modify: Uncaught TypeError: a.b[e] is undefined

Hi,
I want to modify a simple LineString geometry by using the modify ineraction. However everytime I click on the blue circle a few times in a row the above error is occurring. How can it be? Everything else is working fine.
Here is my code:
var lineFeature =  new ol.Feature({
geometry: new ol.geom.LineString([ol.proj.fromLonLat([11.5, 45.1245]), ol.proj.fromLonLat([5.5,50.52465])]),
});
var features = new ol.Collection();
features.push(lineFeature);
var featureOverlay = new ol.layer.Vector({
source: new ol.source.Vector({features: features}),
style: styleFunction
});
var modify = new ol.interaction.Modify({
features: features,
});
var map= new ol.Map({
target: 'map',
layers: [ raster, featureOverlay],
interactions: ol.interaction.defaults().extend([ modify ]),
view: new ol.View({
center: ol.proj.fromLonLat([10.5, 52.458]),
zoom: 7
})
});
featureOverlay.setMap(map);

Can you show the stack trace with the debug version? Also a jsFiddle might help here.

I had this same issue. I think the problem is that if you have "shift" as the delete condition, sometimes when you shift-click on a node to delete it, it accidentally initiates a node drag event. Then the delete takes place and the node drag event is still going on. When the node drag event finishes, it tries to update the position of a node that was deleted which leads to the error. I'm not familiar enough with the code to fix it, but I think you would need to somehow complete all node drag events prior to the delete or prevent a delete if a node drag is taking place.
A separate issue is that you can shift-click on a linestring before you really start editing it which leads to a this.dragSegments_.length being undefined.


fix(tensor-rt): allow deprecated declarations for some tensorrt packages

Signed-off-by: M. Fatih Cırıt<EMAIL_ADDRESS>Description
Part of: https://github.com/autowarefoundation/autoware.universe/issues/2330
Until we upgrade the packages, we can allow deprecated declarations in CMakeLists.txt files of the respective packages.
# TODO(package_name): Remove once upgrading to TensorRT 8.5 is complete
add_compile_options(-Wno-deprecated-declarations)

I've compiled all with latest TensorRT 8.5 and it compiles fine. I've also checked the traffic_light_ssd_fine_detector and it seems to be working just fine in latest version.

I went for this quick fix because updating enqueueV2 to enqueueV3 was complicated for me, I didn't want to spend more time on it.
I was going to add updated and deprecated codes together like I did in https://github.com/autowarefoundation/autoware.universe/pull/2325 but enqueueV3 part didn't work as I expected and I didn't want to spend more time on it.
This simple fix should be ok until someone with better experience can take on the rest of issues.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

cc @yukkysaito @kenji-miyake @wep21

This is a very simple change PR, I'd appreciate if we can merge it soon.


Width and height are wrong in animations with multiple devices.

In the below project, the animation's automatically comuted width and height should be 128 x 96 but is 128 x 32
driver:
  typename: .serial.driver.TeensySmartMatrix
  width: 128
  height: 32

drivers:
  - device_id: 10
  - device_id: 11
  - device_id: 12

layout:
    typename: matrix
    width: 128
    gen_coord_map:
        - {dx: 32, dy: 32}
        - {dx: 32, dy: 32}
        - {dx: 32, dy: 32}

Workaround - explicitly specify width and height in the animation.

If that is broken it's recent. That has always worked fine for multidriver
On Tue, Nov 27, 2018, 5:33 PM Tom Swirly<EMAIL_ADDRESS>wrote:

In the below project, the animation's automatically comuted width and
height should be 128 x 96 but is 128 x 32
driver:
typename: .serial.driver.TeensySmartMatrix
width: 128
height: 32
drivers:

device_id: 10
device_id: 11
device_id: 12

layout:
typename: matrix
width: 128
gen_coord_map:
- {dx: 32, dy: 32}
- {dx: 32, dy: 32}
- {dx: 32, dy: 32}
Workaround - explicitly specify width and height in the animation.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ManiacalLabs/BiblioPixel/issues/1082, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AA6a6gSURlEIbShMEUb4RqVPyFD0Whtiks5uzb3XgaJpZM4Y2eeQ
.

I stand corrected, it's supposed to error out if you don't pass it a
coord_map when using multi-driver:
https://github.com/ManiacalLabs/BiblioPixel/blob/dev/bibliopixel/layout/matrix.py#L71-L88
Which you did... but it's wrong. You have a 128x96 display but are passing
it three 32x32 shapes for the coord map.
On Tue, Nov 27, 2018 at 5:35 PM Adam Haile<EMAIL_ADDRESS>wrote:

If that is broken it's recent. That has always worked fine for multidriver
On Tue, Nov 27, 2018, 5:33 PM Tom Swirly<EMAIL_ADDRESS>wrote:

In the below project, the animation's automatically comuted width and
height should be 128 x 96 but is 128 x 32
driver:
typename: .serial.driver.TeensySmartMatrix
width: 128
height: 32
drivers:

device_id: 10
device_id: 11
device_id: 12

layout:
typename: matrix
width: 128
gen_coord_map:
- {dx: 32, dy: 32}
- {dx: 32, dy: 32}
- {dx: 32, dy: 32}
Workaround - explicitly specify width and height in the animation.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ManiacalLabs/BiblioPixel/issues/1082, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AA6a6gSURlEIbShMEUb4RqVPyFD0Whtiks5uzb3XgaJpZM4Y2eeQ
.

Aha, what should I be passing it?

ah, the dx should be 128?  but why is it "d"x then?

Yep... Why would dx be 32??? Your driver is driving a 128x32 panel, so of
course the X component of the coord_map shape should be 128.
On Tue, Nov 27, 2018 at 5:49 PM Tom Swirly<EMAIL_ADDRESS>wrote:

ah, the dx should be 128? but why is it "d"x then?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ManiacalLabs/BiblioPixel/issues/1082#issuecomment-442248405,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA6a6j04wRkQnmjWC1b0rpKSpN7jCXKvks5uzcGOgaJpZM4Y2eeQ
.

So why is it "d"x, then?  :-D
I have a lovely light going, so I'm closing this one!

We need to document this thoroughly but all in good time.


Implemented the actuarial angle notation

This PR adds support for the actuarial angle notation (\angl, and \angln as a macro for the very common \angle{n}).
I've not yet added the functions to docs/supported.md because I'm not sure in which section it belongs, if it belongs to an existing section at all. Need help there on this little detail.
Anyway, here what it looks like :

(I'm afraid that the vertical bar is somewhat too thin when rendering at low sizes, but it's the same width as \overline so I'm trusting you guys there).

[clabot:check]

Any progress on this?  I'm happy to help if I can.

Hi to all ! Unfortunately, I don't currently have the time to work on this. I'm not sure how much KaTeX internals have changed since I started this PR, it might be way outdated. I do encourage @jameswasher or anyone else interested to either take up where I left off, or simply start anew.
On the other hand, depending on how a project (that makes heavy use of KaTeX) I'm working on progresses, there might be a renewed need for the actuarial angle to be implemented – in which case I'll likely try to get this merged. However, I don't really expect this to happen before a couple of months at least.
In conclusion : if you have a need for this to be implemented, please, continue my work or just start a new PR and close this one. If you don't, I'll likely eventually do it, but it might take some time.

[clabot:check]

Just came across #2334 – maybe we should just close this PR ?

@perfaram Thank you for the PR!


[BUG] No pre-packaged detection rules for Google workspace and VPC Flow log types

What is the bug?
There are no pre-packaged detection rules for Google workspace and VPC Flow log types
How can one reproduce the bug?
Steps to reproduce the behavior:

Go to the Detection rules page under Detectors
Filter by Log type with options gworkspace and vpcflow

What is the expected behavior?
We should have some rules pre-packaged for these log types
Do you have any screenshots?

Do you have any additional context?
N/A

Investigation update:
Rules are present under the gworkspace directory but since they have duplicate ids, we need to change them so that they are returned for the gworkspace log type

There are no sigma rules for vpc flow


fix #92

let's go!

Thank you for your contribution.

I'm concerned about old commits being present. Let's fix it so this PR only contains your changes.
Have you personally tested that the emulation works as expected with your changes?
I think the proposed changes should not affect PR_EmulateIncomingRPC, because BitStream RPC doesn't have a packetid at the beginning.
The bs->resetReadPointer() call can be removed if bs->SetReadOffset(8) is added.

I tested (samp-node) in my environment, but I didn't try to write in native .pwn.
I found this issue because when I tried to call emulate natives, the data packet seemed to have an error offset.
For example, I clearly set the player's position, but data was wrong.
If resetReadPointer is redundant, let's remove it.
because I couldn't find the source code related to open.mp, I just saw that all open.mp calls reset the offset to 8


Resolve cppcheck errors by adding explicit constructors and consts

🦟 Bug fix
Fixes cppcheck complaints.
Summary
At least for me on the head of the main branch, I see these errors:
jwnimmer@call-cps:~/jwnimmer-tri/build-ign-math/ign-math$ make codecheck

ign-math/include/ignition/math/Plane.hh:66:15: style: Class 'Plane' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
      public: Plane(const Vector3<T> &_normal, T _offset = 0.0)
              ^
ign-math/include/ignition/math/OrientedBox.hh:142:35: style: Parameter '_pose' can be declared with const [constParameter]
      public: void Pose(Pose3<T> &_pose)
                                  ^
ign-math/include/ignition/math/SemanticVersion.hh:66:15: style: Class 'SemanticVersion' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
      public: SemanticVersion(const unsigned int _major,
              ^
ign-math/include/ignition/math/graph/Edge.hh:50:5: style: Struct 'EdgeInitializer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
    EdgeInitializer(const VertexId_P &_vertices,
    ^
ign-math/include/ignition/math/graph/Vertex.hh:63:13: style: Class 'Vertex' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
    public: Vertex(const std::string &_name,
            ^
ign-math/include/ignition/math/graph/GraphAlgorithms.hh:343:16: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm]
      vertices.push_back(vPair.second.get());
               ^
ign-math/src/Frustum.cc:159:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm]
    if (plane.Side(_p) == Planed::NEGATIVE_SIDE)
^
ign-math/src/Kmeans_TEST.cc:51:10: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm]
    elem += math::Vector3d(0.1, 0.2, 0.0);
         ^
ign-math/src/Temperature_TEST.cc:101:0: information: Unmatched suppression: knownConditionTrueFalse [unmatchedSuppression]
  EXPECT_TRUE(temp == temp2);
^
Built target cppcheck

This PR fixes all except the last one.
Checklist

[x] Signed all commits for DCO
[x] ~Added tests (N/A)~
[x] ~Updated documentation (as needed)~
[x] ~Updated migration guide (as needed)~
[x] codecheck passed (See contributing)
[x] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge

I think for the last one, the suppression comment can just be dropped.

I think for the last one, the suppression comment can just be dropped.

I've removed that line now.  I had been wondering if I was running cppcheck incorrectly (or a different version, or something) where my results did not match with anyone else.


mw1.wsj.net

Energized Protection - block ⚡

Let's make an annoyance free, better open internet, altogether!

Issue Submit Form

  Provide the following infos properly, which will help us to resolve your issue quickly.

Issue(s):
Type x in between [ ] and make sure there isn't any space between brackets. Example; for Your Selected Issue(s), type like this - [x]
You can select more than one category of issues if you need to!

[x] Whitelist
[ ] Blacklist
[ ] App Broken
[ ] Website Broken
[ ] Request
[ ] Other Issue

Pack(s):
Write the name of the pack(s) you are using.

Pack(s) Name:  Ultimate, basic

Extension(s):
Also name the extension(s) if you are using any. If you don't then leave it blank.

Extension(s) Name:

Domain(s):
If you are submitting this issue for whitelist/blacklist issue, send us the domain(s) for whitelisting/blacklisting here. Kindly use the Code Tag to prevent tracking.

Domain(s):

mw1.wsj.net

Your Config:
Just to ensure there is no issues or conflicts with other app/software/magisk module/extension/source list.
Make sure you are running Energized Protection Service only.

Client: PiHole

Version: 5.0

Details:
Write us a lil bit more about your issue or query. You can attach any screen shot or log of the issue or advert, this will help to highlight it.

Your Issue Detail:
This domain breaks MarketWatch
For example, try and visit https://www.marketwatch.com/investing/fund/epgfx/holdings

Thank you for making Energized Protection great, with your kind help!
A project by Ador with ❤

This still valid? The domain in questionis as of this writing not included in

basic https://block.energized.pro/basic/formats/hosts.txt
ultimate https://block.energized.pro/ultimate/formats/hosts.txt

Looks like it was removed, or mistaken, thanks.


Githika filecleanup

https://github.com/openforis/collect-earth-online/issues/801

You are missing all of the changes to geo-dash-help.js

Made the changes to geo-dash-help.js


Category check mark not checked during session search

Describe the bug
Tapping the name of a category during a session search turns on the checkbox, but tapping the checkbox itself does not turn on the checkbox.
To Reproduce

Go to 'Search'
Click on 'Category'
Tap the checkbox
The checkbox is not checked.

Expected behavior
Tap the checkbox itself to check the box.
Screenshots
https://user-images.githubusercontent.com/51113946/194061041-4e32d036-e702-4858-b427-a06a7bafacfc.mp4

Good catch!

i'll do this ✋

Thanks! Assigned👍


Feature request: Show Trigger Words (trainedWords)

I would love to see somewhere what Trigger Words need to be used with a Lora or even a Checkpoint. I know they are in the Civitai.info file but I would be perfect to see them in the Ui somewhere. For excample with the show/hide extra networks images

Yea that would be fantastic!
On Thu, Jun 8, 2023 at 3:24 PM Vincent Blokker @.***>
wrote:

I would love to see somewhere what Trigger Words need to be used with a
Lora or even a Checkpoint. I know they are in the Civitai.info file but I
would be perfect to see them in the Ui somewhere. For excample with the
show/hide extra networks images
—
Reply to this email directly, view it on GitHub
https://github.com/civitai/sd_civitai_extension/issues/78, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/A7JVNUC7VSTQPVVXWPCVWXTXKJGILANCNFSM6AAAAAAY7357FA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

The Civitai-Helper (not the official Addon) does this if you open Extra-Networks (small orange/black button under "Generate").
https://civitai.com/models/16768?modelVersionId=31558
Often, you also have to click the additional button next to "refresh", but then it kinda works. Except for Lycoris.
Would be cool to have this in the official Addon, though.


HTTPS error on Win7

Hi guys,
Just FYI: the demo playground may not work on some Win7 machines because the Root Cisco Cert you're using to sign your certificate with is not known.

I tried opening the same website on a Virtual Ubuntu on the same machine - all works perfectly. Not sure that you want to support all dinosaur-age operating systems, but still letting you know :-)

That's probably something the guys as @netlify should be aware of. cc @bdougie?

Thanks for the heads
I tested on chrome 54 on my win7 VM and was able to reproduce, but when I updated to the latest version (60) it seemed to resolve the error.

For good measure, I confirmed it works on IE11.

I my case the failure occurs both in Chrome 59 / IE11 (Win 7 only)