Error when getting the namespace view from the kernel

Description
What steps will reproduce the problem?

What is the expected output? What do you see instead?
Please provide any additional information below
  File "/anaconda/lib/python3.6/site-packages/qtconsole/base_frontend_mixin.py", line 163, in _dispatch
    handler(msg)
  File "/anaconda/lib/python3.6/site-packages/spyder/widgets/ipythonconsole/namespacebrowser.py", line 214, in _handle_execute_reply
    self.handle_exec_method(msg)
  File "/anaconda/lib/python3.6/site-packages/spyder/widgets/ipythonconsole/shell.py", line 311, in handle_exec_method
    view = ast.literal_eval(data['text/plain'])
  File "/anaconda/lib/python3.6/ast.py", line 85, in literal_eval
    return _convert(node_or_string)
  File "/anaconda/lib/python3.6/ast.py", line 66, in _convert
    in zip(node.keys, node.values))
  File "/anaconda/lib/python3.6/ast.py", line 65, in <genexpr>
    return dict((_convert(k), _convert(v)) for k, v
  File "/anaconda/lib/python3.6/ast.py", line 66, in _convert
    in zip(node.keys, node.values))
  File "/anaconda/lib/python3.6/ast.py", line 65, in <genexpr>
    return dict((_convert(k), _convert(v)) for k, v
  File "/anaconda/lib/python3.6/ast.py", line 84, in _convert
    raise ValueError('malformed node or string: ' + repr(node))
ValueError: malformed node or string: <_ast.Call object at 0x12f124400>

Version and main components

Spyder Version: 3.2.0
Python Version: 3.6.1
Qt Versions: 5.6.2, PyQt5 5.6 on Darwin

Dependencies
pyflakes >=0.6.0 :  1.5.0 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pygments >=2.0   :  2.2.0 (OK)
pandas >=0.13.1  :  0.20.1 (OK)
numpy >=1.7      :  1.12.1 (OK)
sphinx >=0.6.6   :  1.5.6 (OK)
rope >=0.9.4     :  0.9.4-1 (OK)
jedi >=0.9.0     :  0.10.2 (OK)
psutil >=0.3     :  5.2.2 (OK)
nbconvert >=4.0  :  5.1.1 (OK)
sympy >=0.7.3    :  1.0 (OK)
cython >=0.21    :  0.25.2 (OK)
qtconsole >=4.2.0:  4.3.0 (OK)
IPython >=4.0    :  5.3.0 (OK)
pylint >=0.25    :  1.6.4 (OK)

What were you evaluating when you get this error?

Note to self: take a look at
https://stackoverflow.com/questions/14611352/malformed-string-valueerror-ast-literal-eval-with-string-representation-of-tup

Hi,
Today I made some package downloads and updates:
conda install -c anaconda nltk
conda install -c conda-forge textblob
conda install -c conda-forge spacy
conda install -c anaconda gensim
After that I am getting these error messages as I am trying to parse RDF/XML files like:
import rdflib
from rdflib import Graph
fileid = "http%253A%252F%252Fboards.ie%252Fvbulletin%252Fsioc.php%253Fsioc_type%253Dthread%2526sioc_id%253D9"
Parsing the file
g = Graph()
g.parse("boards.ie SIOC Datasets/1998/threads/" + fileid,format = "xml")
tokenizing the message content
import pprint
for stmt in g:
pprint.pprint(stmt)
Also my Variable Explorer does not show any variables.
Thank you
Deniz

On 29 Jul 2017, at 18:12, Carlos Cordoba<EMAIL_ADDRESS>wrote:
What were you evaluating when you get this error?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/spyder-ide/spyder/issues/4855#issuecomment-318844840, or mute the thread https://github.com/notifications/unsubscribe-auth/AHHNatUnr7M7cOOZ1zzcIGo16NC9hMoeks5sS2fvgaJpZM4OnX8k.

Thanks for the reproducible code. We'll take a look at this as soon as possible.

Also my Variable Explorer does not show any variables.

That's caused by the error you reported.

@dalthviz, please take a look at this one.

Hi @mitchell5 I tried the updates and the code you provided but it doesn´t run (maybe the parse part and the fileid are not correct) it says it can't find the source.
However, running something like
from rdflib import Graph
## Parsing the file
g = Graph()
g.parse("http://www.w3.org/2000/10/swap/test/meet/blue.rdf",format = "xml")
# tokenizing the message content
import pprint
for stmt in g:
    pprint.pprint(stmt)

works for me, and the last tuple (saved in the stmt var) is shown in the variable explorer:

Could you try again with the code above and see if the error still happen, maybe could be something in the source are you trying to parse? all the info will be greatly appreciated :)

Hi Daniel,
Thank you for your interest in the problem. I am still getting similar error messages although I get the evaluation right after I ran my code.
The error I get now:
File "/anaconda/lib/python3.6/site-packages/qtconsole/base_frontend_mixin.py", line 163, in _dispatch
handler(msg)
File "/anaconda/lib/python3.6/site-packages/spyder/widgets/ipythonconsole/namespacebrowser.py", line 214, in _handle_execute_reply
self.handle_exec_method(msg)
File "/anaconda/lib/python3.6/site-packages/spyder/widgets/ipythonconsole/shell.py", line 311, in handle_exec_method
view = ast.literal_eval(data['text/plain'])
File "/anaconda/lib/python3.6/ast.py", line 85, in literal_eval
return _convert(node_or_string)
File "/anaconda/lib/python3.6/ast.py", line 66, in _convert
in zip(node.keys, node.values))
File "/anaconda/lib/python3.6/ast.py", line 65, in
return dict((_convert(k), _convert(v)) for k, v
File "/anaconda/lib/python3.6/ast.py", line 66, in _convert
in zip(node.keys, node.values))
File "/anaconda/lib/python3.6/ast.py", line 65, in
return dict((_convert(k), _convert(v)) for k, v
File "/anaconda/lib/python3.6/ast.py", line 84, in _convert
raise ValueError('malformed node or string: ' + repr(node))
ValueError: malformed node or string: <_ast.Call object at 0x1469c9518>

On 29 Jul 2017, at 23:21, Daniel Althviz Moré<EMAIL_ADDRESS>wrote:
Hi @mitchell5 https://github.com/mitchell5 I tried the updates and the code you provided but it doesn´t run (maybe the parse part and the fileid are not correct) it says it can't find the source.
However, running something like
from rdflib import Graph
Parsing the file
g = Graph()
g.parse("http://www.w3.org/2000/10/swap/test/meet/blue.rdf",format = "xml")
tokenizing the message content
import pprint
for stmt in g:
pprint.pprint(stmt)
works for me, and the last tuple (saved in the stmt var) is shown in the variable explorer:
https://user-images.githubusercontent.com/16781833/28748582-010349ba-7481-11e7-8d3c-09ba4e0cf64e.png
Could you try again with the code above and see if the error still happen, maybe could be something in the source are you trying to parse? all the info will be greatly appreciated :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/spyder-ide/spyder/issues/4855#issuecomment-318863553, or mute the thread https://github.com/notifications/unsubscribe-auth/AHHNakSW_E13urSnJgY33zlZYaNw2mJyks5sS7BpgaJpZM4OnX8k.

@mitchell5, please provide a working example if you want us to fix this. For example
fileid = "http%253A%252F%252Fboards.ie%252Fvbulletin%252Fsioc.php%253Fsioc_type%253Dthread%2526sioc_id%253D9"

is not a valid URL, so the rest of your code fails.

Hi,
The files are on my local. But it does not matter what code I ran, I ran into the same errors. Recently, the program just shut itself.
Thanks in advance for the help,
File "/anaconda/lib/python3.6/site-packages/qtconsole/base_frontend_mixin.py", line 163, in _dispatch
handler(msg)
File "/anaconda/lib/python3.6/site-packages/spyder/widgets/ipythonconsole/namespacebrowser.py", line 214, in _handle_execute_reply
self.handle_exec_method(msg)
File "/anaconda/lib/python3.6/site-packages/spyder/widgets/ipythonconsole/shell.py", line 311, in handle_exec_method
view = ast.literal_eval(data['text/plain'])
File "/anaconda/lib/python3.6/ast.py", line 85, in literal_eval
return _convert(node_or_string)
File "/anaconda/lib/python3.6/ast.py", line 66, in _convert
in zip(node.keys, node.values))
File "/anaconda/lib/python3.6/ast.py", line 65, in
return dict((_convert(k), _convert(v)) for k, v
File "/anaconda/lib/python3.6/ast.py", line 66, in _convert
in zip(node.keys, node.values))
File "/anaconda/lib/python3.6/ast.py", line 65, in
return dict((_convert(k), _convert(v)) for k, v
File "/anaconda/lib/python3.6/ast.py", line 84, in _convert
raise ValueError('malformed node or string: ' + repr(node))
ValueError: malformed node or string: <_ast.Call object at 0x13151af60>

On 30 Jul 2017, at 16:02, Carlos Cordoba<EMAIL_ADDRESS>wrote:
@mitchell5 https://github.com/mitchell5, please provide a working example if you want us to fix this. For example
fileid = "http%253A%252F%252Fboards.ie%252Fvbulletin%252Fsioc.php%253Fsioc_type%253Dthread%2526sioc_id%253D9"
is not a valid URL, so the rest of your code fails.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/spyder-ide/spyder/issues/4855#issuecomment-318907523, or mute the thread https://github.com/notifications/unsubscribe-auth/AHHNapTU9V_dQ3EpGdx_6UPXMpXdKmtnks5sTJrugaJpZM4OnX8k.

So does is this error appear for you even if you run 1+1 in a console?

Yes, it does

On 30 Jul 2017, at 17:08, Carlos Cordoba<EMAIL_ADDRESS>wrote:
So does is this error appear for you even if you run 1+1 in a console?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/spyder-ide/spyder/issues/4855#issuecomment-318911655, or mute the thread https://github.com/notifications/unsubscribe-auth/AHHNakST949N3W9R8HTO2piUHuZQpeUNks5sTKpvgaJpZM4OnX8k.

And are using a different Python interpreter in
Preferences > Python interpreter

?

I am using the default one ?

On 30 Jul 2017, at 17:14, Carlos Cordoba<EMAIL_ADDRESS>wrote:
And are using a different Python interpreter in
Preferences > Python interpreter
?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/spyder-ide/spyder/issues/4855#issuecomment-318912035, or mute the thread https://github.com/notifications/unsubscribe-auth/AHHNanpFD65zlshEgiJtIfRs5u2dK6J-ks5sTKvggaJpZM4OnX8k.

Then, please run
spyder --reset

in a terminal and try again.

Thank you, it seems like it solved the problem :)

On 30 Jul 2017, at 17:22, Carlos Cordoba<EMAIL_ADDRESS>wrote:
Then, please run
spyder --reset
in a terminal and try again.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/spyder-ide/spyder/issues/4855#issuecomment-318912433, or mute the thread https://github.com/notifications/unsubscribe-auth/AHHNarR3IkrCUgLVnlHe4tHPUWAn84Wwks5sTK2zgaJpZM4OnX8k.

Great! Thanks for letting us know about it.

Hi,
Sorry for bothering again, but I get the same problem even when I run 1+1. I tried to reset spyder(spyder --reset) but it didn’t solve the issue this time.
File "/anaconda/lib/python3.6/site-packages/qtconsole/base_frontend_mixin.py", line 163, in _dispatch
handler(msg)
File "/anaconda/lib/python3.6/site-packages/spyder/widgets/ipythonconsole/namespacebrowser.py", line 214, in _handle_execute_reply
self.handle_exec_method(msg)
File "/anaconda/lib/python3.6/site-packages/spyder/widgets/ipythonconsole/shell.py", line 311, in handle_exec_method
view = ast.literal_eval(data['text/plain'])
File "/anaconda/lib/python3.6/ast.py", line 85, in literal_eval
return _convert(node_or_string)
File "/anaconda/lib/python3.6/ast.py", line 66, in _convert
in zip(node.keys, node.values))
File "/anaconda/lib/python3.6/ast.py", line 65, in
return dict((_convert(k), _convert(v)) for k, v
File "/anaconda/lib/python3.6/ast.py", line 66, in _convert
in zip(node.keys, node.values))
File "/anaconda/lib/python3.6/ast.py", line 65, in
return dict((_convert(k), _convert(v)) for k, v
File "/anaconda/lib/python3.6/ast.py", line 84, in _convert
raise ValueError('malformed node or string: ' + repr(node))
ValueError: malformed node or string: <_ast.Call object at 0x12bb9eeb8>

On 30 Jul 2017, at 17:38, Carlos Cordoba<EMAIL_ADDRESS>wrote:
Closed #4855 https://github.com/spyder-ide/spyder/issues/4855.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/spyder-ide/spyder/issues/4855#event-1184842877, or mute the thread https://github.com/notifications/unsubscribe-auth/AHHNavoI3dGaDn0YtERdakXx-vudqS5uks5sTLF2gaJpZM4OnX8k.

Hi @mitchell5 , maybe you could try to create another env? (you can do it with something like conda create -n new_env anaconda) and see if in the Spyder of that env the error persists? Also, did you install any library with pip? I think this is some kind of installation issue.

Hi,
Yes, before I installed anaconda,  my system had python 2 and I installed python 3 and some libraries with pip3. I was using python with IDLE until I installed anaconda environment. I tried to create new environment but nothing has changed. Sorry for taking so much time. What would you suggest for me to do in this situation?
Thanks in advance

On 30 Jul 2017, at 23:46, Daniel Althviz Moré<EMAIL_ADDRESS>wrote:
Hi @mitchell5 https://github.com/mitchell5 , maybe you could try to create another env? (you can do it with something like conda create -n new_env anaconda) and see if in the Spyder of that env the error persists? Also, did you install any library with pip? I think this is some kind of installation issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/spyder-ide/spyder/issues/4855#issuecomment-318935327, or mute the thread https://github.com/notifications/unsubscribe-auth/AHHNah7hlgYBTeUBUFY1DIK-dVL9dIwlks5sTQfigaJpZM4OnX8k.

@mitchell5, I really don't understand where this error is coming from. If you want to help us to solve it, please follow these steps:

Put a line with print([data['text/plain']]) before line 311 in /anaconda/lib/python3.6/site-packages/spyder/widgets/ipythonconsole/shell.py.
Restart Spyder.
Go to the menu View > Panes > Internal console and copy the text printed there after you run 1+1 in a console.
Post the result here.

With that info we will be able to understand why the console is not returning the result Spyder expects.

@dalthviz, giving that this is a very critical error (because it makes the IPython console unusable), I think we should catch all errors when trying to use ast.literal_eval in handle_exec_method (specifically in get_namespace_view and get_var_properties) and raise a new error that includes the values of view and properties.
I think something like this should work:
if 'get_namespace_view' in method:
    if data is not None and 'text/plain' in data:
        try:
            view = ast.literal_eval(data['text/plain'])
        except Exception as error:
            error = to_text_string(error)
            view = to_text_string(data['text/plain'])
            text = "An error occurred while getting a "
                   "representation of your namespace. "
                   "The error was {0} and the obtained "
                   "value was {1}".format(error, view)
            raise ValueError(text)
    else:
        view = None
    self.sig_namespace_view.emit(view)

This way we will be able to better understand what the kernel is sending to Spyder.
However, the problem with this is we would also need the code a user is running in the console to make sense of the namespace representation we get in the error.
Let's wait to see if more errors like this one are reported in the future before implementing this solution.

Hi,
Thank you for the direction. I did what you have said below:
Spyder Internal Console
This console is used to report application
internal errors and to inspect Spyder
internals with the following commands:
spy.app, spy.window, dir(spy)
Please don't use it to run your code

WARNING:traitlets:kernel died: 6.001140832901001

But before that I uninstalled Anaconda and reinstalled it. Now, I got another error but I think this is because of my application:
Spyder Internal Console
This console is used to report application
internal errors and to inspect Spyder
internals with the following commands:
spy.app, spy.window, dir(spy)
Please don't use it to run your code

WARNING:traitlets:kernel died: 6.001140832901001
Traceback (most recent call last):
File "/Users/denizgokalp/anaconda/lib/python3.6/site-packages/qtconsole/base_frontend_mixin.py", line 163, in _dispatch
handler(msg)
File "/Users/denizgokalp/anaconda/lib/python3.6/site-packages/spyder/widgets/ipythonconsole/namespacebrowser.py", line 189, in _handle_execute_reply
self.handle_exec_method(msg)
File "/Users/denizgokalp/anaconda/lib/python3.6/site-packages/spyder/widgets/ipythonconsole/shell.py", line 248, in handle_exec_method
view = ast.literal_eval(data['text/plain'])
File "/Users/denizgokalp/anaconda/lib/python3.6/ast.py", line 85, in literal_eval
return _convert(node_or_string)
File "/Users/denizgokalp/anaconda/lib/python3.6/ast.py", line 66, in _convert
in zip(node.keys, node.values))
File "/Users/denizgokalp/anaconda/lib/python3.6/ast.py", line 65, in
return dict((_convert(k), _convert(v)) for k, v
File "/Users/denizgokalp/anaconda/lib/python3.6/ast.py", line 66, in _convert
in zip(node.keys, node.values))
File "/Users/denizgokalp/anaconda/lib/python3.6/ast.py", line 65, in
return dict((_convert(k), _convert(v)) for k, v
File "/Users/denizgokalp/anaconda/lib/python3.6/ast.py", line 84, in _convert
raise ValueError('malformed node or string: ' + repr(node))
ValueError: malformed node or string: <_ast.Call object at 0x1317f4208>

On 1 Aug 2017, at 00:01, Carlos Cordoba<EMAIL_ADDRESS>wrote:
@mitchell5 https://github.com/mitchell5, I really don't understand where this error is coming from. If you want to help us to solve it, please follow these steps:
Put a line with print([data['text/plain']]) before line 311 in /anaconda/lib/python3.6/site-packages/spyder/widgets/ipythonconsole/shell.py.
Restart Spyder.
Go to the menu View > Panes > Internal console and copy the text printed there after you run 1+1 in a console.
Post the result here.
With that info we will be able to understand why the console is not returning the result Spyder expects.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/spyder-ide/spyder/issues/4855#issuecomment-319220483, or mute the thread https://github.com/notifications/unsubscribe-auth/AHHNavwirXxDM3-fwP_nvru_3HURB7f9ks5sTlysgaJpZM4OnX8k.

I'm closing this one because we don't a way to reproduce it, sorry.


Problem With API

The api has a problem when making a request about the state of the weather

The solution was to change the api used


bad syntax highlight on 0.14.0

updated to new version, my syntax goes wrong after all...
all color red

What atom version do you have?
On Saturday, 16 January 2016, Preschian Febryantara <
<EMAIL_ADDRESS>wrote:

updated to new version, my syntax goes wrong after all
all color red
—
Reply to this email directly or view it on GitHub
https://github.com/orktes/atom-react/issues/138.

--
Ystävällisin terveisin,
Jaakko Lukkari

@orktes I confirm - today I updated atom-react to the newest version (0.14.0) and it doesn't work with jsx. Below screenshot:

I have the newest atom version (1.4.0).
I tried disabling and enabling; uninstall, restart atom and install (and again restart) - nothing. I reverted to the 0.12.10 temporarily.

@orktes my atom version 1.4.0. random error tho
@Krzyrok nice, will try~

Something's definitely weird with syntax highlighting now. In this screenshot, return is sometimes blue and sometimes purple. image changes from orange to white. And generally the amount of red is overwhelming. It's pretty hard to understand what's going on.

Hi! it seems that the hack around the new method and func call syntax in language-javascript caused some 'return (' to appear as a function call. Just pushed a fix for it.
Amount of red color (and other colors) seems to be more related to changes in the default theme (property references are now red etc.) as I get the same with regular javascript highlighting as well :)

v0.14.1 published. Fixes the issue with blue return tokens.

I am using 0.14.1 and I have problem when I have ' in my text:

@capaj I'm having the same issue.

@capaj Same issue here with 0.15.0

@ElegantScripting @capaj
A temporary solution for the apostrophe in your text is to wrap the text in braces:
<div>{`This string's apostrophe won't cause the red highlighting issue`}</div>


Releasing intermediate checkpoints

Hi @stephenroller and @suchenzang ,
Thank you for your work on this project! I believe the public release of these models and the training data would benefit so many of us in the research community.
I am wondering if you have plans releasing the intermediate checkpoints of different models? I am interested in study how model evolve over time and the training dynamics so having access to those checkpoints during training will be really helpful.
Thank you!

Do you have a sense of how many intermediate checkpoints (per model) that you need for your study?

Closing due to inactivity. We are still looking into this on our end.


Added libglew-dev for ubuntu:focal to the rosdep base rules

This is needed to build tools such as the MoveIt Perception pipeline.
Signed-off-by: Gavin Suddrey<EMAIL_ADDRESS>

I thought the same thing, but did not want to assume on whether precise and earlier would no longer be supported.


6.5.0 on Taub

Original issue: https://charm.cs.illinois.edu/redmine/issues/102

No body.

Original date: 2013-03-26 01:14:04

Charm++ is built with;

net-linux-x86_64 arch
icc and gcc compilers
3 different options; debug: "-g", trace: "--disable-error-checking -optimize" and production: "--with-production"
2 versions; smp and non-smp

Charm++ is NOT BUILT, when building with trace: "--disable-error-checking -optimize" option, both in icc and gcc compilers, both smp and non-smp versions.
In all other versions Charm++ built successfully.
Other than some AMPI fails which is reported in another bug report, all of the autobuild tests passes on Taub.

Original author: Nikhil Jain
Original date: 2013-03-26 01:28:56

"Charm++ is NOT BUILT, when building " - you mean there is a compilation error? If yes, please open a new bug with necessary information, and crash report.

Original date: 2013-03-27 15:37:49

Great - what's the path that I can announce to users?

Original date: 2013-03-28 03:24:24

The known issues blocking some of these builds (#119, #131) have been dealt with. We want to get everything from the 6.5 release wrapped up so we can announce the installed paths for users. If I don't see an issue complete and a path recorded tomorrow, I'm going to start nagging.

Original date: 2013-03-28 13:50:18

The path is /home/acun2/charm on Taub, now it builds with --disable-error-checking option, however issue #133 is still there.


Show room capacity and type on new reservation page

Why?
We want users to be able to click on the room names in the table which would open a dialogue box/ go to a page with the room's information. It should display the capacity of the room as well as the type of room ("Pairing Room", "Small Group", "Large Group").

@aarjavjain2002 / @yuvrajjain2003 / @wherthey Since #416 was closed, this can be re-done in a separate, standalone PR. I will also tag this as "Good First Issue".


conf: drop obsolete legacy machines

We don't build them anymore, and there are no known users, so let's not offer them anymore.

Appropriate conf.sample cleanup: https://github.com/bisdn/bisdn-linux/pull/88


[SPARK-10377] [SQL] [BRANCH-1.4] Rename TakeOrderedAndProject back to TakeOrdered.

https://issues.apache.org/jira/browse/SPARK-10377
https://github.com/apache/spark/pull/8252#issuecomment-136480957 renames TakeOrdered to TakeOrderedAndProject, which breaks user/third-party code using Spark 1.4 branch (e.g. Cassandra connector https://github.com/datastax/spark-cassandra-connector/blob/v1.4.0-M3/spark-cassandra-connector/src/main/scala/org/apache/spark/sql/cassandra/CassandraSQLContext.scala#L90). This PR renames this class back to TakeOrdered.

@frodeso This is the change to rename it back.

Merged build triggered.

Merged build started.

Test build #41851 has started for   PR 8545 at commit 8e659eb.

Our physical operator TakeOrderedAndProject is also public, @frodeso do you use this?

Test build #41851 has finished for   PR 8545 at commit 8e659eb.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/41851/
Test PASSed.

I believe that we've also made other strategy renames in recent patches, including a rename of the join selection strategy (it's no longer called HashJoinStrategy). Does this imply that we need to change that name back as well?

Is that in branch 1.4? Looks like we still have HashJoin in 1.4 branch. This PR changes the name of TakeOrderedAndProject back TakeOrdered for 1.4 branch. So, users use it do not need to change code for a minor update (when 1.4.2 is released).

Ah, gotcha. They're still going to have to update for 1.5, though, and will need to use reflection if they want to be compatible across 1.4.x and 1.5.x (or ship multiple versions of their library).

Yeah, I think it makes sense to update their lib since those Strategies used by our planner are all private APIs.

@cloud-fan I did a quick of their repo. Looks like they have their own SQLContext and refer to the TakeOrdered strategy at there. Looks like it is fine that we do not rename the operator.

@cloud-fan @yhuai  I just did the same and came to the same conclusion. We are not actually involved in the connector, just a user of it so no guarantees though.
Thanks for the quick response!

@frodeso This one has been merged. When we release 1.4.2, the name of that strategy will be the same.

@yhuai Thanks, much appreciated!


Document how to start the Jupyter server

I think we should have instructions on

running the jupyter server without docker
running everything with docker (maybe even use a image for that)

@rodolfo-viana what do you think?

@jtemporal, that is great! <3

How about adding a section on "running with conda"?

@willianpaixao you mean how to do it when you only have anaconda installed?

@jtemporal yes. Sounds silly, but you need one line to install the dependencies (basically the libs listed in requirements.txt) and one line to run Jupyter that comes with Anaconda.

It could be nice @willianpaixao I'd totally merge a PR with that instructions ^.^


Math Magicians Full Website

This branch required the following:

To create a website consisting of 3 pages: Home, Calculator, and Quote.
The general layout should match these wireframes.
Every page should have a route.
Navigation links for all 3 routes are displayed on each page.
Use React Router to make the routes work

Hi @arslanbisharat
Thanks for the review message.
Happy Coding


Server life cycle...

Hi just a quick question, you say 'the server stops responding when the view is terminated / destroyed', is that actual shutting down of the app? Or just when the use hits home (etc)?
Just wondering if the app is still open but the user has navigated away from it if the server will still respond? I'm trying to display info to the user via web sockets when the user has navigated away from the app and assessing my options...
Cheers

The server is destroyed on actual shutdown of the App. It does not survive as a background service.
When the app is running in the background, it should work ok.
When the app (activity) is paused it may not receive messages or accept new connections, but on resume it's back to normal, and previously connected sockets still are, normally.
I think that's more accurate like that.
The Home button may pause or not the app, I think it depends on the platform.
I should probably review the description in the README.
Tell me if the behaviour is actually otherwise. Thanks


Fix: UWP Sample

I have not tested, please test it.

Hi @JKennedy24,
Congrats your pull-request is merged.
But your commit user and email are different with your GitHub account.

Could you set GitHub's user and email to local repository?


[sw] Use the toolchain clang-format

The lowrisc toolchain contains an up-to-date version of clang-format. Moving to using this version keeps everyone on the same version, and divorces the version selection from ubuntu's choice, making OS upgrades easier.

This has been done


Beginning of the admin pages

This marks the beginning of the work on the admin pages. The structure of the pages have been established. The statistics page is also complete.

LGTM!

LGTM!


when i exicute my playbook i faced a problem ssh password

i dont know ssh password please give me a suggestion

1)first enable PasswordAuthentication to yes in /etc/ssh/sshd_config file and restart ssh
2)second create pub and pvt keys in ansible control server with the command: ssh-keygen
3)copy your pub key to nodes with the command: ssh-copy-id ansible@pvtdnsname

hi
lingaswamy garu
firstly thank u for u r rply
they all are i did it.. but i dnt  know why it's come

Hi,
can you please recheck Ansible installation steps
and specially
entry in sudoer's file should be  like this below(with out any spell mistake and space)
in allow members group
ansible ALL=(ALL:ALL) NOPASSWD:ALL
why becoz For the user, use ssh keys to avoid the user password prompt

thank u ravi garu


Form field marks cleaned data as template safe

Is your feature request related to a problem? Please describe.
As I mentioned in the description of #25, when displaying a confirmation page at the end of a django-formtools wizard, the wizard renders the submitted form values to the page. When using the BleachField form field, these values have been bleached and thus are safe for rendering without escaping, however they are not marked as safe.
Describe the solution you'd like
I propose that the form field marks values as safe after bleaching so they can be rendered without explicit intervention by calling mark_safe.
Describe alternatives you've considered
The implementation has several options:

Provide a child of the BleachField model field that performs the mark_safe.
The existing BleachField form field always performs mark_safe after bleaching.
The existing BleachField form field accepts an optional argument that directs it to perform mark_safe after bleaching.

Option 1 is backwards compatible but would require projects to override the form field class for model forms using Meta.field_classes, which will be fine once #25 is fixed.
Option 2 changes types, although I would expect this to have no impact, and would provide the benefits of the new behaviour to projects without local changes. However, projects that already escape the value, perhaps to render the markup, but I can't imagine what the use case for doing this would be so perhaps it's purely hypothetical.
Option 3 is also backwards compatible and would also require projects to modify models forms to get the new behaviour but the changes are more convoluted than for Option 1, because you would need to declare the whole form field on the model form instead of just providing a new class in Meta.field_classes.
I would prefer Option 2 because it suits my project but maybe there is some risk of breaking current usage with it, so the risk averse choice would be Option 1.

Option 2 seems sensible to me @MrkGrgsn 👍


Adding function to enable changing S and T

This enables users to draw only parts of a texture by changing the S and T of the texture coordinates.
Should help drawing tilesets (can have up to 32 tiles using 8x8 on 16bits).
Also added example on the spritemap example ROM.

Hi Stefan, we're working a bit on the rdp.c API as part of the new RSP queue engine. I'd like to keep this on hold until we finish that work as we will have a better picture of this module. There's nothing inherently wrong in this PR, it makes sense, but before adding more public APIs that we need to maintain, I'd rather understand the module better. Thanks for the patience.

Closing this PR, as the unstable branch contains a different new library (rdpq). that supersedes rdp.c and includes many more functionalities, included this one. As we're readying to merge that, it doesn't make sense to accept new APIs for rdp.c


"What links here", help with a backreference implementation

Hello,
At our company, we are using Hugo to produce our internal documentation. Something we've been wanting is a way to have pages show what other pages link to them. This has been asked for by others, who were told that such a feature does not currently exist.
Since we desire to have this feature, we would like to help implementing it. But, we need some pointers. We just spent an hour trying to find a good place to start, but sadly could not find a good spot.
So, basically what we want is to have access to something like .Page.BackRefs when rending a page. This would be an array of other Page objects, so that we could loop over them and create simple lists using their title and their refs.
Firstly, does this sound like an okay idea? If it does, do you have any suggestions on how it would be implemented? Our perhaps naive idea was to just walk over all the page nodes, collect what references they contain, and then populate a hashmap with a ReferencedPage: [ReferencingPages] structure. So, when looking up the backreferences to a Page, we can use this hashmap and find all the pages that references it.
Again, this is less of a feature request and more of an inquiry for places to start. We're happy to implement it, we just want to make sure we go about it in a good way that's compatible with the project!

I don't know how to simply implement this myself, so I don't have a suggestion.

Duplicate of https://github.com/gohugoio/hugo/issues/8077.


Basic Javascript Functions Not Defined

Hello! Thanks for this plugin. Really excited to use it.
I'm running into this problem when trying to execute code in Templater. Basic functions like console.log or string .split() are trying to be executed and it says
console.log(...) is not a function

or
split is not defined

Am I missing something I'm supposed to be doing in the setup?
Thanks!

Please share your templater script and CustomJS script if you have any.


Run in Machine Box (Virtual Box - Ubuntu)

Is it possible to run the virtual machine in order to edit the files without the need to always use RaspBerry?

You can mount both partitions of the image under Linux and edit any file you please. No need for a virtual machine.

How to edit project before send to SD Card? Like the "Grunt watch server" or mopidy-mopify, has possible editing files of src and after generating package to mopidy?

How does what I said before not enable you to do what you want?

So you do not have that possibility? :(

If what I said earlier doesn't help then I guess not.


Update library up to v1.64.0

@proshin-roman 2 puzzles #138, #139 are still not solved.

@proshin-roman the puzzle #139 is still not solved; solved: #138.

@proshin-roman the puzzle #143 is still not solved; solved: #138, #139.

@proshin-roman all 3 puzzles are solved here: #138, #139, #143.


Add link to breadcrumb component in README.md

After #95 was merged-in, the Next steps list at the bottom of the README was missing a link to the new breadcrumb component doc.
This merge request adds this link to the empty element at the end of the list.

bump


Create a community repo in the opensearch-project GH org

Since there is no good place to file an organization-wide GitHub issue, I'm putting it here :)
Now would be a good time to create a separate “community” repo where you can put all of things that are common across both projects, like community meetings, governance, guiding principles, etc. Here’s a nice, simple example from the Contour project.
I am happy to help with building out the content for this repo if someone is willing to create it!

@stockholmux Maybe this is something you could help me do?

@geekygirldawn First, I don't have the ability to create a new repo directly. It's a process (like everything). I have the ability kick the process off, but I don't have a button to click.
Secondly, I'm generally supportive. One blocker is that we had a community repo for Open Distro that was recently moved to become a sample-code repo. To be honest, I don't completely recall why we went from 'community'->'sample-code' on that one. I want to make sure there isn't something I'm missing on why we made the transition. @Jon-AtAWS, you commit frequently to that repo - do you have details on the transition?
In any case, from your example/description it doesn't seem to overlap much with that repo.
A few things to clarify @geekygirldawn:

Would this contain any runnable-code? (e.g. vs just being markdown?)
Let's define each item you mentioned a little bit more (type of file / short description of content / frequency of change, etc)

community meetings
governance
guiding principles

Any thoughts @nknize, @CEHENKLE, @spotaws?

I don't think having a repo for "documentation that spans all of OpenSearch" is a bad thing, though, I do wonder if people who just go to a single OpenSearch subproject will think to look for it in a separate repo. I suppose pointing to it from all the subproject READMEs could work (but notably, Contour does not do this).

Reposting from my aws account (too many accounts):
I don't think having a repo with docs that span the entire OpenSearch community is a bad idea, though, I do wonder if people visiting a specific OpenSearch project repo will think to look for a separate repo for community docs. We could point people there from all the READMEs, but Contour doesn't do that, as an example.

It would be great if the docs lived on opensearch.org (asciidoc, markdown, whatever) w/  concrete implementation in the project-website or separate {to_be_named} repo.
Something like this

@spotaws Good point. One thing I learned from Open Distro is that github orgs with lots of repos that move frequently are confusing for new folks. This will be the case once the Open Distro plugins get integrated into the same org.
I'm wondering if a start-here repo  (example)might make sense? Pinned at the top of the org (along side opensearch-project/OpenSearch and opensearch-project/OpenSearch-Dashboards). This could house some of the same content that @geekygirldawn is suggesting along with a good README to orient first-time visitors.

Most of the projects that I contribute to have a community repo, so I do think it's something that people know to look for, and is pretty much a standard at this point. It's a great place to start defining roles and helping people understand how they can get involved and eventually move up in the project (Contributor Ladder).
This is actually very different from a start-here repo. As the project grows, you will need something like a community repo as a home for all of the things that cut across the projects, so I would recommend doing it sooner, rather than later. We'll eventually need this to build out the governance along with all of the other things I mentioned earlier. Also, here are a few more examples: Knative, Kubernetes, Istio.

A few things to clarify @geekygirldawn:

Would this contain any runnable-code? (e.g. vs just being markdown?)
Let's define each item you mentioned a little bit more (type of file / short description of content / frequency of change, etc)

community meetings
governance
guiding principles

I'd recommend that this be just markdown, not runnable code. All of these will change frequently in the first few months as the community grows and you start to build out all of these things with the community's help.
I think the best way to visualize this is through examples, and use the best of what works for other projects.
This is a good example of a meeting schedule. It has the timing details, how to join, meeting notes, and recordings if you miss a meeting and want to catch up. This is a much lower barrier to entry than needing to join a Meetup Group and rsvp for each meeting to get the details.
Here are a couple of governance examples. Harbor's governance doc is a fairly simple example, and something similar would work as a starting point for this community.
The Guiding Principles right now are duplicated into the READMEs of all of your repos, and it would be nice to have them here in one place.

@jcgraybill said ...

What we learned from the Open Distro community repo, and the reason we converted it into a sample-code repo, was that in practice it caused confusion, especially for newcomers. The active community discussion was happening in the forums, and the repo siphoned off some of that energy. Newcomers would ask questions, propose features, or ask for support - and generally get no response or a super delayed response, which was a bad experience.

I've not seen this issue in other communities that I've been a part of. Generally, one of the first things in the community repo README should be details about communications and where to go for discussions, which in this case would be the forums.

@geekygirldawn OK. Personally, I don't have any problems with the content of what is being proposed. I do think there is some value in having the principles duplicated on each README though (for visibility).
Prior to launch the team decided that the website was the holder of the canonical principles copy (although it doesn't have to stay this way).
On run-able code, this does change how I would propose the repo and what would be required on my end. Of the examples given it looks like both kubernetes and knative have embedded golang. So, I'd like 'no code' to be a hard line should it go forward.

I think "no code" is fine for a community documentation repo.

@stockholmux said ...

On run-able code, this does change how I would propose the repo and what would be required on my end. Of the examples given it looks like both kubernetes and knative have embedded golang. So, I'd like 'no code' to be a hard line should it go forward.

I think most of the runnable code in those repos is for automation of various tasks, which isn't something we'd need. I think a no-code policy in this repo makes total sense.

It looks like a lot of the docs we're talking about hosting in a community repo are thing we'd want to also make available on the website. Governance docs, SOPs, meeting schedules, principles & tenets. If we use the project website as their home, it seems like we get both: easy to edit & discuss, and easy to read.

If we use the project website as their home, it seems like we get both: easy to edit & discuss, and easy to read.

:100:  Something like this
Also, there is a wealth of good developers that sparsely visit forums for various reasons. :raised_hand_with_fingers_splayed:   I'm often "guilty" of this and have to be pinged to weigh in on implementation questions or bugs. My personal reasoning (whether right or wrong) is that the code lives in the repo and I like to live where the code is so I can make as educated comments as possible based on actual implementation. Bouncing between tools (repo, issues, PR, forum, website) to do the same gets to be exhausting and I'm convinced my fingers only have a certain number of keystrokes in them before they lock up for life :laughing:

I think it's important to think about the difference between building a community of users (which OpenDistro has done) and building a community of contributors, which is what I'm hoping we'll do here. Users tend to go to the website and forums. Contributors tend to live in the repo and expect to find things there. It's 2 completely different audiences and 2 different communities, and we need to meet the needs of both of them with information where they will find it.

I'm less convinced that project-website should be merged with this effort. As a new person approaches the repo, it could be quite confusing to see all the required Jekyll stuff.
The other issue is the change model - the website repo should be able to change rapidly with pretty light weight reviews. Changes to documents like governance or principles are the opposite - almost never changing and changes should be reviewed carefully.
I'm all for removing this type of content from the website repo and pull it in from the proposed repo to build the site (so we're not repeating ourselves & have a single point of truth).

I think it's important to think about the difference between building a community of users (which OpenDistro has done) and building a community of contributors, which is what I'm hoping we'll do here. Users tend to go to the website and forums. Contributors tend to live in the repo and expect to find things there. It's 2 completely different audiences and 2 different communities, and we need to meet the needs of both of them separately with information where they will find it.

Great point. I'd expect that especially in the early days while these communities are coming together, there's probably going to be considerable overlap between the two. I'd love to not rush into drawing boundaries and pushing people who could happily exist as both-contributors-and-users for a good long period of time into choosing a side, or optimizing for one group at the expense of the other. Have you seen good practices out there for early-stage projects like this?
I'm thinking, for example, about community meeting announcements and agendas. Everybody is welcome at the community meetings. Do we announce those on GitHub only? On the website only? Neither feels great to me. What's a good practice for reaching both audiences equally - as well as the folks who wear both hats?

I think it's important to think about the difference between building a community of users (which OpenDistro has done) and building a community of contributors

100%!  I'm curious how having that info in a markdown or asciidoc on a repo that's also referenced by the website does not technically achieve that? IMHO, it feels like the best of both worlds. Contributors can reference it in the repo and users can reference that same doc (w/ CSS sugar) on the website?
Like Jules I'm very curious what other seamless approaches are taken by other orgs and communities.

My focus is more on the contributor side than on users, so I mostly care about what we have in the repo, since that tends to be the focus for contributors.
With that said, I think pulling some of content from the community repo onto the website might make sense for some common items, but this should be done a bit carefully. Knative has been pulling all of the content from the community repo to display on the website, but they are in the process of changing this because as the project grows, it's become problematic in a few ways. To quote the person (Evan Anderson) who is driving this change:

It adds complexity to our website build.
My mental model is that contributors are generally viewing our content through GitHub, and mostly aren’t thinking about website rendering in community.
Avoids community breaking the website by accident (see elekto recently)

Even if we pull some pages onto the website, it will drastically simplify things if we only allow markdown files in the community repo, and then use the website infra to pull that markdown content into the website.

@stockholmux There has been a lot of discussion on this issue, so I think we ultimately need to decide whether to create the community repo or close the issue?

FWIW we created https://github.com/opensearch-project/OpenSearch-plugins for all things plugins to avoid polluting this repository with general plugin-related content and questions. Not sure that it was the right thing to do, but we will learn over time.
I personally feel that if I had a "general OpenSearch issue" I'd probably open it here since this repository is called ... OpenSearch.
Don't feel strongly either way.
Agreed with @geekygirldawn that @stockholmux should decide one way or another.

Actually, I'm not seeing alignment here - I'm seeing a lot of ideas.
The original problem (a canonical place to put non-repo specific files) seems valid but it doesn't have to be solved by a opensearch-project/community repo. I think @jcgraybill's point about duplication between opensearch.org and the proposed repo is real. The key here is how do we create the highest visibility w/o duplication, while still not gating access/contributions/etc.
My gut says we might want to get feedback from a larger group on where they would seek this information out and work towards what the feedback tells us.

@stockholmux  I'd be happy to work with you on drafting a couple of short survey questions that we could send out via the forums or other channels! Should we do this as something quick and standalone on just this topic or as part of something bigger that includes other topics, too? Does the forum have a built-in survey / polling mechanism?

@geekygirldawn Let's do it. I know there was talk about a more comprehensive survey, but I'd opt for single use in this case (the more focused, the less bogged down it'll get). The forums do have a survey mechanism, but I think it has some limits. I've setup a topic on the forum to discuss.

Regarding the original issue that asked for a community repo, I think https://opensearch.org/ is where content such as community meetings should go - and in fact they do, here. It would make things double clear that that repo is the info on the org if the repo itself were to be called opensearch.org (https://github.com/opensearch-project/project-website/issues/44).

I think with the expansion of project-website/opensearch.org, we can classify this issue as stale.

I'm going to close this because I think we answered the original ask: community type content should go into project-website and technical content in .github.


Update Bot-information of Supporto

Added missing commands and information.

is this for hacktoberfest >:|

I honestly don't care about that...
Just want to keep the info of my bot up to date.


I updated the repo and get this error "Tried architecture: x64-acc, System.Exception: Failed to load library x64-acc."

Describe the bug
I updated the repo and get this error "Tried architecture: x64-acc, System.Exception: Failed to load library x64-acc." It was working fine before. I am on MacOS. I tried in multiple projects and same.
Steps to reproduce
No response
LLMUnity version
No response
Operating System
None

Hi! Could you set the debug parameter and share the debug messages or Editor.log?

Sure. There are multiple debug messages, same first two messages repeats for x64_acc too, it tries both of them.
Tried architecture: x64-no_acc, System.Exception: Failed to load library x64-no_acc. UnityEngine.Debug:Log (object) LLMUnity.LLM:StartLLMServer () (at ./Library/PackageCache/ai.undream.llm@3b17c4d415/Runtime/LLM.cs:261) LLMUnity.LLM/<Awake>d__40:MoveNext () (at ./Library/PackageCache/ai.undream.llm@3b17c4d415/Runtime/LLM.cs:216) System.Runtime.CompilerServices.AsyncVoidMethodBuilder:Start<LLMUnity.LLM/<Awake>d__40> (LLMUnity.LLM/<Awake>d__40&) LLMUnity.LLM:Awake ()
/Users/botansahin/Documents/Documents/GitHub/AIResearch/Assets/StreamingAssets/undreamai-v1.1.5-llamacpp/macos-x64-acc/libundreamai_macos-x64-acc.dylib UnityEngine.Debug:Log (object) LLMUnity.LLMLib:.ctor (string) (at ./Library/PackageCache/ai.undream.llm@3b17c4d415/Runtime/LLMLib.cs:262) LLMUnity.LLM:InitLib (string) (at ./Library/PackageCache/ai.undream.llm@3b17c4d415/Runtime/LLM.cs:275) LLMUnity.LLM:StartLLMServer () (at ./Library/PackageCache/ai.undream.llm@3b17c4d415/Runtime/LLM.cs:247) LLMUnity.LLM/<Awake>d__40:MoveNext () (at ./Library/PackageCache/ai.undream.llm@3b17c4d415/Runtime/LLM.cs:216) System.Runtime.CompilerServices.AsyncVoidMethodBuilder:Start<LLMUnity.LLM/<Awake>d__40> (LLMUnity.LLM/<Awake>d__40&) LLMUnity.LLM:Awake ()
LLM service couldn't be created UnityEngine.Debug:LogError (object) LLMUnity.LLM:StartLLMServer () (at ./Library/PackageCache/ai.undream.llm@3b17c4d415/Runtime/LLM.cs:265) LLMUnity.LLM/<Awake>d__40:MoveNext () (at ./Library/PackageCache/ai.undream.llm@3b17c4d415/Runtime/LLM.cs:216) System.Runtime.CompilerServices.AsyncVoidMethodBuilder:Start<LLMUnity.LLM/<Awake>d__40> (LLMUnity.LLM/<Awake>d__40&) LLMUnity.LLM:Awake ()

Thank you. Which mac do you have?
Could you share the "About This Mac" info?

There is also another debug message before them, but I am not sure if it is related to the issue, I will share anyways
Server command: -m "/Users/botansahin/Documents/Documents/GitHub/AIResearch/Assets/StreamingAssets/Phi-3-mini-4k-instruct-q4.gguf" -c 0 -b 512 --log-disable -np 1 --slot-save-path "/Users/botansahin/Library/Application Support/DefaultCompany/Temp" -ngl 32 UnityEngine.Debug:Log (object) LLMUnity.LLM:StartLLMServer () (at ./Library/PackageCache/ai.undream.llm@3b17c4d415/Runtime/LLM.cs:240) LLMUnity.LLM/<Awake>d__40:MoveNext () (at ./Library/PackageCache/ai.undream.llm@3b17c4d415/Runtime/LLM.cs:216) System.Runtime.CompilerServices.AsyncVoidMethodBuilder:Start<LLMUnity.LLM/<Awake>d__40> (LLMUnity.LLM/<Awake>d__40&) LLMUnity.LLM:Awake ()

Could you also share the debug messages you get from the earlier LLMUnity version that was working for you?

I already changed the repo, how can I revert back to that version, it was more than a month ago

I found out. It was 1.2.7.
Editor.log
It gives many logs, and a lot of them are warnings, but it works
llama server listening at http://<IP_ADDRESS>:13333 UnityEngine.Debug:Log (object) LLMUnity.LLM:DebugLog (string,bool) (at ./Library/PackageCache/ai.undream.llm@dee6bda0dc/Runtime/LLM.cs:276) LLMUnity.LLM:CheckIfListening (string) (at ./Library/PackageCache/ai.undream.llm@dee6bda0dc/Runtime/LLM.cs:292) LLMUnity.LLMUnitySetup/<>c__DisplayClass1_0:<CreateProcess>b__0 (object,System.Diagnostics.DataReceivedEventArgs) (at ./Library/PackageCache/ai.undream.llm@dee6bda0dc/Runtime/LLMUnitySetup.cs:63) System.Threading._ThreadPoolWaitCallback:PerformWaitCallback ()
Different from the previous it is listening after server command

Thank you!
In the previous versions I was using a small context size, 512, while now I switched to 0 which means the max context size the model supports.
Could you try setting it to 512 in the new version and see if it works?

I found the problem, it has to do with the this llama.cpp issue: https://github.com/ggerganov/llama.cpp/pull/7940 .
The build for x86 uses incorrecly the arm64 architecture.
I fixed it in my library.
Could you delete the Assets/StreamingAssets/undreamai-v1.1.5-llamacpp folder in your project and try again?
It will re-download the rebuilt library and should work :crossed_fingers: .

Thanks a lot, it works now!

Perfect, thanks for bringing it up!


Add the Sierra indexer

This is a service that will index the contents of the Sierra catalogue in the reporting cluster. It builds on a Python prototype I built, which is in the reporting account, but we need more control over the concurrency to avoid breaking the reporting cluster.
It's not as well-tested as I'd like (in particular I can't test it removes outdated varfields/fixed fields, because I get 409 Conflict errors when trying to delete a just-indexed document locally), but it's good enough to deploy as a prototype and play with.
The trick is to index the top-level fields/varfields/fixed fields in separate indexes.
For https://github.com/wellcomecollection/platform/issues/5052

Bit more higher level context would be useful, i.e. why do we need this & where does this fit into the pipeline?
More specifically how can we reconstruct a record if it's spread across multiple indices?

Bit more higher level context would be useful, i.e. why do we need this

The goal is to make it easier to query Sierra data, so that we can work out how we want to model data, or find records matching a particular pattern.
e.g. for the recent digitised-items-on-bibs work, I wanted a list of all 856 varfields. There's no good way to get that with the adapter as it exists today, but pulling the varfields into a dedicated index makes that easy to get.
This also opens the door to doing more targeted indexes of Sierra data – if you know you're only changing records with a particular property in their MARC, you can find and reindex just those.

where does this fit into the pipeline?

It listens to updates from the Sierra adapter, or can be triggered directly by the reindexer.

More specifically how can we reconstruct a record if it's spread across multiple indices?

Fetch it directly from the Sierra adapter store.


[Bug][Notification] 缺少插件方式的 Demo

resolved in https://github.com/Tencent/tdesign-vue-next/pull/307

0.8.1 已修复


Update Punycode rule to use the punycode MDM field

I think this rule was created before we had the MDM field, updating it now to take advantage of it.
Does this break anything for you, @ajpc500?

All good for me! 😄


Return swarm info to be displayed in the FE

This requires that PWD is working as a container in the same
network as all dinds
@xetorthio
It's the first part of #9 . FE side is still missing.

@xetorthio PR completed, plz review.


emacsPackages.consult-gh: 20230706.438 -> 0.12-unstable-2024-04-23

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for emacsPackages.consult-gh is: GitHub CLI client inside GNU Emacs using Consult
meta.homepage for emacsPackages.consult-gh is: https://github.com/armindarvish/consult-gh
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.12-unstable-2024-04-23 in filename of file in /nix/store/y1c6pjgm322hq3inqllpqyq99rng5anr-emacs-consult-gh-0.12-unstable-2024-04-23

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

emacsPackages.consult-gh

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/y1c6pjgm322hq3inqllpqyq99rng5anr-emacs-consult-gh-0.12-unstable-2024-04-23 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A emacsPackages.consult-gh https://github.com/r-ryantm/nixpkgs/archive/90f3ac87d8cc8290a4b9482e7c77521b6462384a.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/90f3ac87d8cc8290a4b9482e7c77521b6462384a#emacsPackages.consult-gh

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/y1c6pjgm322hq3inqllpqyq99rng5anr-emacs-consult-gh-0.12-unstable-2024-04-23
ls -la /nix/store/y1c6pjgm322hq3inqllpqyq99rng5anr-emacs-consult-gh-0.12-unstable-2024-04-23/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

emacsPackages.consult-gh

Maintainer pings
cc @AndersonTorres for testing.

Superceded by https://github.com/NixOS/nixpkgs/pull/326235


[WFLY-16805][WFLY-17000][WFLY-17001] Elytron component upgrades

https://issues.redhat.com/browse/WFLY-16805
https://issues.redhat.com/browse/WFLY-17000
https://issues.redhat.com/browse/WFLY-17001
Issues included in the Elytron MP 2.0.0.Final release can be found here (ran into an issue with getting the release notes for this project so providing this link for now)
    Release Notes - WildFly Elytron - Version 1.20.2.Final

        Bug

[ELY-2390] -         Initialize empty keystores using load(null, null) instead of load(null)

[ELY-2413] -         Re-authentication after reboot, even though HttpSession are persisted

        Task

[ELY-2415] -         Add link to Elytron OS setup guides in CONTRIBUTING.md

        Release

[ELY-2416] -         Release WildFly Elytron 1.20.2.Final

    Release Notes - Elytron Web - Version 1.10.2.Final

        Release

[ELYWEB-189] -         Re-authentication after reboot, even though HttpSession are persisted

[ELYWEB-191] -         Release Elytron Web 1.10.2.Final

        Component Upgrade

[ELYWEB-174] -         Upgrade undertow-core to 2.2.14.Final

[ELYWEB-175] -         Upgrade httpcore to 4.4.15

[ELYWEB-185] -         Fix testsuite failures on Windows

[ELYWEB-186] -         Upgrade infinispan-core to 9.4.24.Final

[ELYWEB-187] -         Upgrade jboss-logging to 3.4.3.Final

[ELYWEB-188] -         Upgrade undertow-core to 2.2.18.Final

[ELYWEB-190] -         Upgrade WildFly Elytron to 1.20.2.Final

Thanks @fjuma


added hook class to user menu

[x] Changes have been thoroughly tested to not break existing functionality.
[x] New functionality has been documented or existing documentation has been updated to reflect changes.
[x] Visual changes are explained in the PR description using a screenshot/recording of before and after.

In my use case, I want to display theme-toggle between search and user-menu, I can add using render hook.. but I want to hide the toggle inside user-menu. or display the toggle if screen = xx,
This PR add one class filament-theme-toggle in div. it helps when trying to add custom css

Hi. Can you move that div inside the if statement?

Hi. Can you move that div inside the if statement?

I only add  class="filament-theme-toggle" the 'div' is as it is.. not sure how inside if will impact


Update Highlight.php

https://github.com/babenkoivan/scout-elasticsearch-driver/issues/152

Hi @Surt,
Could you please describe your changes and reasons?
Also would be greate to have tests for your changes.

Hi @iget-esoares it was just a quick proposition. It adds \ArrayAccess, \Iterator to the Highlight results object. Now it is possible to transverse throught the hightlighted results with a foreach. As well as accesing the results as it was an Array.
I'm not having the necesary time right now. I will try to make an adecuate pull request someday if nobody take it from here.


Please remove "Is this folder removed" question!

What feature or improvement do you think would benefit Files?
I get this message very often, even if I have previously read a USB stick and it is no longer available (sometimes you only use it for a short time ;.). This message really annoys me because it is completely useless. I can neither see the folder that has been deleted, nor can I do anything about the fact that the tab can no longer be displayed. Suggestion: Either display the tab with the info: e.g. "Removed folder 'H:\Ministick" (or similar) or simply remove the tab without a message. And/or you make it possible to set this via the options
*** Translated with www.DeepL.com/Translator (free version) ***
Requirements

This proposal will accomplish the described improvement above

Files Version
<IP_ADDRESS>
Windows Version
10.0.22631.4037
Comments
No response

Thanks for the report, You can close the tab or drive that are unused/unplugged. Please also check Files settings > General > Startup settings

Hi ! Okay, I set this to "Never" (or german "Nie"). So the popup "Do you have deleted the folder" is coming again after restart... I have used double panel viel.

Okay. So I always used the option to open the last folders (like it is in notepad++ to have all documents open ;-). But now i will  use "Open a new tab"... that also is very much faster to startup
Thank you !


Fix for isInTimeRange for recurring all day events in timezone

Recurring all-day events are incorrectly included in time range requests when not using UTC in the time range.
e.g. (also see added unit test)

All day event on every 1st of the month
isInTimeRange() for the 2nd of a month 'Europe\Berlin`
event would pass the test

This PR fixes that issue and a typo on initialization of \Recur\EventIterator().

:+1:

Awesome!


Track uses and defs during parsing.

Replace two other, imperfect mechanisms for use-def tracking.
Use ValidationState_t::entry_points to track entry points.
Concentrate undefined-ID diagnostics in a single place.
Move validate_types.h content into validate.h due to increased
inter-dependency.

@umar456 PTAL

-1

At least two bugs
Need blurbs on a struct and some methods
Prefer to rename the ProcessIDs method, and probably break out the entry-point collection one-liner.

Also, I defer to @umar456 about the code motion.

Addressed feedback so far.

For some reason Github is not showing the validate_id.cpp file in the Files changed tab. I completely missed those changes.

@umar456 you're right, it just says "522 additions, 741 deletions not shown". :confounded:  But these are an important part of this PR.

All the checks with the "is not defined" error messages are redundant. These checks are performed by the SSA pass. These should be asserts instead.

@umar456 wouldn't an assert failure terminate the validator without checking the rest of the instructions?  I don't think that's what we want.
Perhaps we can just return false and omit the redundant diagnostics?

@dekimir Sure that will work. That condition should never be triggered.

FYI. I filed https://github.com/KhronosGroup/SPIRV-Tools/issues/75 for the Travis CI issue.
For today, please ignore that failure. :-(

My low level comments have been addressed.
Now you'll need to address @umar456's feedback.

Addressed feedback so far.

Looks linear to me.
+1
Just want @umar456 's feedback.

LGTM

Pushed onto master as 961f5dc544
I'm not sure why it didn't keep the same commit hash.


Migrate to ES6

Just forked the react-timer-mixin repo directly and left it as it was, but we should migrate everything to ES6.

@brentvatne I thought I read that es6 chose not to support mixins? Or would it basically support multi extends? like this: http://es6-features.org/#ClassInheritanceFromExpressions ?


Python packages: some new ones and fixes to cairocffi

Thanks for your contribution. Please rename the commits according the guide: http://nixos.org/nixpkgs/manual/#chap-quick-start

I'll be happy if you do it next time, this looks good, thanks


Update logins-create-manage.md

Synapse contains dedicated SQL pool and serverless SQL pool, there were some differences between them, but this article didn't make it clear whether it is for dedicated SQL pool or serverless SQL pool.  I have applied some modifications, to clarify a feature applies to dedicated SQL pool only, and also added a section which applies to serverless SQL pool.

@AndreasWolter
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Hi. I am not working on Synapse. But it sounds odd to me that there would be a sysadmin role. @kedodd can you help here?

Hi. I am not working on Synapse. But it sounds odd to me that there would be a sysadmin role. @kedodd can you help here?
@veljko-msft  As the sysadmin is mentioned for serverless, can you recommend someone to take a look?  "Add the SQL login to the sysadmin fixed server role using the ALTER SERVER ROLE statement.."

sysadmin server role exists in serverless, so this is ok.

#sign-off

Thanks, @williamdassafmsft. Can you open a PR in the private repo to update the author and ms.author metadata since Andreas is no longer working on synapse?

Due to the upcoming conference, all merging and publishing are on hold until the morning of 5/23.
This PR is ready for merge on 5/23.
#label: "event-triaged-to-10AM"
#label: "missed-content-complete"

This is not necessary.
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Courtney Wales @.>
Sent: Monday, May 22, 2023 7:34:53 AM
To: MicrosoftDocs/sql-docs @.>
Cc: William Assaf @.>; Mention @.>
Subject: Re: [MicrosoftDocs/sql-docs] Update logins-create-manage.md (PR #8843)
Thanks, @WilliamDAssafMSFThttps://github.com/WilliamDAssafMSFT. Can you open a PR in the private repo to update the author and ms.author metadata since Andreas is no longer working on synapse?
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/sql-docs/pull/8843#issuecomment-1557333277, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARXQ6IF3QWNB2XKQ3JB76JTXHN2Q3ANCNFSM6AAAAAAW4THPRU.
You are receiving this because you were mentioned.Message ID: @.***>


cf router-groups command returns 404.

Hi All ,
I am new to cloud foundry .
I Installed tcp router and routing api component along with go router .
When ever i execute  cf router-groups i am getting below error message .Any guidance is appreciated .
Getting router groups as admin ...
FAILED
Failed fetching router groups.
Server error, status code: 404, error code: , message:
cf curl v2/info output is
covladmins-MacBook-Pro-6:~ nsharma$ cf curl v2/info
{
"name": "",
"build": "",
"support": "",
"version": 0,
"description": "Cloud Foundry sponsored by Pivotal",
"authorization_endpoint": "XXX,
"token_endpoint": "XXXXX",
"min_cli_version": null,
"min_recommended_cli_version": null,
"api_version": "2.78.0",
"app_ssh_endpoint": "XXXXX",
"app_ssh_host_key_fingerprint": "XXXX",
"app_ssh_oauth_client": "ssh-proxy",
"routing_endpoint": "https://XXXXX/routing",
"logging_endpoint": "XXXXX",
"doppler_logging_endpoint": "XXXXX,
"user": "efe860d4-f640-4d0d-87bb-d2c362f0ee59"
}

additional info
covladmins-MacBook-Pro-6:~ nsharma$ cf router-groups
Getting router groups as admin ...
REQUEST: [2017-10-27T10:21:23-04:00]
GET /routing/v1/router_groups HTTP/1.1
Host: api.dev2.covisintrnd.com
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Connection: close
Content-Type: application/json
User-Agent: go-cli 6.22.0+f9f1460 / darwin
RESPONSE: [2017-10-27T10:21:23-04:00]
HTTP/1.1 404 Not Found
Connection: close
Content-Length: 86
Content-Type: application/json;charset=utf-8
Date: Fri, 27 Oct 2017 14:21:23 GMT
Server: nginx
X-Cascade: pass
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 720e5d07-05d7-4479-9e5c-d02077cd867b
{
"description": "Unknown request",
"error_code": "CF-NotFound",
"code": 10000
}
FAILED
Failed fetching router groups.
Server error, status code: 404, error code: , message:

Hello,
Did you follow the Post Deploy steps: https://github.com/cloudfoundry-incubator/routing-release/blob/develop/README.md#post-deploy-steps
In particular, you need to set
routing_api: enabled: true

On Oct 27, 2017, at 7:21 AM, nsharmacovs<EMAIL_ADDRESS>wrote:
additional info
covladmins-MacBook-Pro-6:~ nsharma$ cf router-groups
Getting router groups as admin ...
REQUEST: [2017-10-27T10:21:23-04:00]
GET /routing/v1/router_groups HTTP/1.1
Host: api.dev2.covisintrnd.com
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Connection: close
Content-Type: application/json
User-Agent: go-cli 6.22.0+f9f1460 / darwin
RESPONSE: [2017-10-27T10:21:23-04:00]
HTTP/1.1 404 Not Found
Connection: close
Content-Length: 86
Content-Type: application/json;charset=utf-8
Date: Fri, 27 Oct 2017 14:21:23 GMT
Server: nginx
X-Cascade: pass
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 720e5d07-05d7-4479-9e5c-d02077cd867b
{
"description": "Unknown request",
"error_code": "CF-NotFound",
"code": 10000
}
FAILED
Failed fetching router groups.
Server error, status code: 404, error code: , message:
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

i do have below in my deployments and redeployed api component  and routing components.Still issue exists .
cc:
default_to_diego_backend: true
routing_api:
system_domain: x.x.x.x
etcd:
servers: x.x.x.x
enabled: true
router_groups:
- name: default-tcp
reservable_ports: 1024-1123
type: tcp
sqldb:
type: mysql
host: routing-api.xxx.xxx.xxx
port: 3306
schema: xxx
username: xxxx
password: xxx

Could you please wrap your yml in markdown so that the indents are persisted.

@nsharmacovs It's not clear if you have the routing-api running.
What instructions did you follow to deploy your cloud foundry environment?  We highly recommend that new users use CF deployment.
If you're using the new BOSH CLI, run
bosh instances -p

to list all processes running in your deployment.  Is there a routing-api process there?
If so, could you provide us with some logs for that process (look at help for bosh logs command to see how to download the logs for a BOSH process).
One other bit: we see you have an etcd server configured for routing_api.  The recent versions of routing release do not support etcd.  We recommend you remove that bit of configuration from your deployment manifest.
Thanks
@rosenhouse & Nino-K

I have installed CF release 256 with routing release 0.165.0
Below are the steps i took .
removed etcd component from routing-api.
+----------------------------------------------------------------+---------+-----+----------+-------------+
| Instance                                                       | State   | AZ  | VM Type  | IPs         |
+----------------------------------------------------------------+---------+-----+----------+-------------+
| naresh_tcp_router_z1/0 (1fce9882-f81b-4e34-8584-5cce2e723b4b)* | running | n/a | small_z1 | <IP_ADDRESS> |
|   metron_agent                                                 | running |     |          |             |
|   tcp_router                                                   | running |     |          |             |
|   routing-api                                                  | running |     |          |             |
|   consul_agent                                                 | running |     |          |             |
+----------------------------------------------------------------+---------+-----+----------+-------------+
logs from cloudcontroller_ng .
{"timestamp":1509731176.5242682,"message":"Started GET "/routing/v1/router_groups" for user: , ip: <IP_ADDRESS> with vcap-request-id: 8ad40
220-bd94-40b4-8054-9bdb6abb7c0c at 2017-11-03 17:46:16 UTC","log_level":"info","source":"cc.api","data":{"request_guid":"8ad40220-bd94-40b4-80
54-9bdb6abb7c0c"},"thread_id":47434184691300,"fiber_id":47434190987900,"process_id":5471,"file":"/var/vcap/packages/cloud_controller_ng/cloud_
controller_ng/middleware/request_logs.rb","lineno":12,"method":"call"}
{"timestamp":1509731176.5259025,"message":"Completed 404 vcap-request-id: 8ad40220-bd94-40b4-8054-9bdb6abb7c0c","log_level":"info","source":"c
c.api","data":{"request_guid":"8ad40220-bd94-40b4-8054-9bdb6abb7c0c"},"thread_id":47434184691300,"fiber_id":47434190987900,"process_id":5471,"
file":"/var/vcap/packages/cloud_controller_ng/cloud_controller_ng/middleware/request_logs.rb","lineno":24,"method":"call"}
logs from routing-api.
[2017-11-03 17:54:59+0000] {"timestamp":"1509731699.935230255","source":"routing-api","message":"routing-api.api-server.request.done","log_level":1,"data":{"method":"GET","request":"/routing/v1/routes","response-headers":{"X-Vcap-Request-Id":["4347c70b-5ded-487a-7687-ed8cb4c5c011"]},"session":"1.46"}}
[2017-11-03 17:55:01+0000] {"timestamp":"1509731701.950908661","source":"routing-api","message":"routing-api.api-server.request.serving","log_level":1,"data":{"method":"GET","request":"/routing/v1/routes","request-headers":{"Accept-Encoding":["gzip"],"Content-Type":["application/json"],"User-Agent":["Go-http-client/1.1"]},"session":"1.49"}}
[2017-11-03 17:55:01+0000] {"timestamp":"1509731701.960690737","source":"routing-api","message":"routing-api.api-server.request.done","log_level":1,"data":{"method":"GET","request":"/routing/v1/routes","response-headers":{"X-Vcap-Request-Id":["b46d8f6e-9b23-4bdd-56b6-b1e9534f4f82"]},"session":"1.49"}}
[2017-11-03 17:55:06+0000] {"timestamp":"1509731706.434885025","source":"routing-api","message":"routing-api.prune-routes.successfully-finished-pruning-tcp-routes","log_level":1,"data":{"rowsAffected":0,"session":"7"}}
[2017-11-03 17:55:06+0000] {"timestamp":"1509731706.434892654","source":"routing-api","message":"routing-api.prune-routes.successfully-finished-pruning-http-routes","log_level":1,"data":{"rowsAffected":0,"session":"7"}}
[2017-11-03 17:55:13+0000] {"timestamp":"1509731713.720954418","source":"routing-api","message":"routing-api.api-server.request.serving","log_level":1,"data":{"method":"GET","request":"/routing/v1/tcp_routes","request-headers":{"Accept-Encoding":["gzip"],"Content-Type":["application/json"],"User-Agent":["Go-http-client/1.1"]},"session":"1.52"}}
[2017-11-03 17:55:13+0000] {"timestamp":"1509731713.722655773","source":"routing-api","message":"routing-api.api-server.request.done","log_level":1,"data":{"method":"GET","request":"/routing/v1/tcp_routes","response-headers":{"X-Vcap-Request-Id":["df9041da-fe50-4f4a-5dc7-94e324c9ebf8"]},"session":"1.52"}}
[2017-11-03 17:55:14+0000] {"timestamp":"1509731714.933306694","source":"routing-api","message":"routing-api.api-server.request.serving","log_level":1,"data":{"method":"GET","request":"/routing/v1/routes","request-headers":{"Accept-Encoding":["gzip"],"Content-Type":["application/json"],"User-Agent":["Go-http-client/1.1"]},"session":"1.55"}}
[2017-11-03 17:55:14+0000] {"timestamp":"1509731714.935199022","source":"routing-api","message":"routing-api.api-server.request.done","log_level":1,"data":{"method":"GET","request":"/routing/v1/routes","response-headers":{"X-Vcap-Request-Id":["f1bf5d4c-2264-4216-7cf6-af3e2bda8a6e"]},"session":"1.55"}}
[2017-11-03 17:55:16+0000] {"timestamp":"1509731716.434895039","source":"routing-api","message":"routing-api.prune-routes.successfully-finished-pruning-http-routes","log_level":1,"data":{"rowsAffected":0,"session":"7"}}
[2017-11-03 17:55:16+0000] {"timestamp":"1509731716.435358047","source":"routing-api","message":"routing-api.prune-routes.successfully-finished-pruning-tcp-routes","log_level":1,"data":{"rowsAffected":0,"session":"7"}}

Hi @nsharmacovs ,
Thanks for the detailed response.
I see the timestamp from cloud_controller_ng shows a 404 message at 17:46:16 but the logs from routing-api do not cover that time period (they start at 17:54).
It would be helpful to have logs during an overlapping range.

unfortunately the request never reached from cloud controller to routing api ..
below is what i noticed .
When i login into the VM where routing-api and tcp-router are deployed and execute
curl "http://<IP_ADDRESS>:3000/routing/v1/router_groups"
{"name":"UnauthorizedError","message":"Invalid token format"}naresh_tcp_router_z1/1fce9882-f81b-4e34-8584-5cce2e723b4b:~$ (looks correct)
am i missing any setting in cloud controller NG?
attached is the snippet from cloud_coontroll_ng.YML file
routing_api:
url: https://XXXXXX
routing_client_name: "cc_routing"
routing_client_secret: XXX
route_services_enabled: true
Also do i need to keep Cloudcontroll DB and routing-api db as same ?

@nsharmacovs
Just to reiterate Nino's previous recommendation, if this is a new deployment then we'd recommend using cf-deployment. It's much more streamlined and easier to maintain.
The UnauthorizedError above is likely due to not having a token for the curl. These instructions show how you can get the token to make the desired curl.

Also do i need to keep Cloudcontroll DB and routing-api db as same ?
No, this is not necessary. For simplicity, these two databases are normally found on the same database server.

Please let us know if you have any further questions.
Aaron && @flawedmatrix


File picker "Open" button is diabled when current folder contains only one file.

The OneDrive file picker dialog's "Open" button is disabled when a file is selected and that file is the only file within that folder. But after I manually uploaded a file to that folder and selected the same file again, the "Open" became enabled.
P.S.: Options I used here (omitting other irrelevant parameters) - { action: 'query', multiSelect: false }

I've just experienced the same issue. This is quite severe, can we have an update on it?

As part of a repository clean up effort we are closing older issues. If this issue remains, please: open a new issue, reference this issue, and provide any additional details that may help in resolution. Thank you for your understanding as we work to improve our responsiveness.


Multiple quality improvements

This pull request is focused on resolving occurrences of Sonar rules squid:S1319 - Declarations should use Java collection interfaces such as "List" rather than specific implementation classes such as "LinkedList"
squid:S2039 - Member variable visibility should be specified
You can find more information about the issues here:
https://dev.eclipse.org/sonar/coding_rules#q=squid:S1319
https://dev.eclipse.org/sonar/coding_rules#q=squid:S2039
Please let me know if you have any questions.
M-Ezzat

Thanks for the PR!  I also intend to integrate Sonar and coverage into the build tasks.


_ThingInterfaceInput definition is missing fields

I'm running into a really weird issue which I'm unable to get my head around:
I rebuilt the Docker image with node 10.13's debian package in order to do some debugging. While running the Algorithm runner mutations, I received an error from the CE:

Field "type" is not defined by type _ThingInterfaceInput.

Looking at the docs/schema in the web interface, I see that this input is missing the type field:

But the field is definitely defined in the staging branch: https://github.com/trompamusic/ce-api/blob/5cf6e67c311d0d4e4e9b94d8a4c8a98f281d717b/src/schema/input.graphql#L3
Returning to the original -alpine image that I was using, this type correctly had the identifier and type fields.
At first I thought that there might have been old code from a previous time that I rebuilt the image, so I cleared all of my CE containers/images and rebuilt, but the field is still missing.
I'm able to edit the input.graphql file and add more input types, and they show up correctly in the web interface, including a new type which has this type field!:

However, if I try and add any more fields to the _ThingInterfaceInput type, none of them appear:

Other input types such as _LegalPersonInput correctly have identifier and type fields.
I thought that perhaps it could be something to do with being the first item in the file, but I moved it around and it still doesn't work. Only the _ThingInterfaceInput type is missing fields.
Any idea what the cause of this issue may be? Perhaps a recent upgrade to Apollo or the neo4j interface?

Looking into these types in more detail, I see other issues:
_PropertyInput, _PropertyValueInput and _OrganizationInterfaceInput don't show all defined fields, in the same way as _ThingInterfaceInput
_ProvenanceActivityInterfaceInput is defined:

but shows as

I've tracked the cause of this down to the same issue as #16
Because we still don't include package-lock.json in the Dockerfile, npm installs the latest version of some packages. For example,
     "neo4j-graphql-js": {
-      "version": "2.4.2",
+      "version": "2.9.3",

It's possible that something important has changed in neo4j-graphql-js since then (https://github.com/neo4j-graphql/neo4j-graphql-js/blob/master/CHANGELOG.md, since the issue is with generating the schema from the definition files I'm assuming that this is the package which is causing the problem). It's possible that we need to upgrade some dependencies.
In the meantime, we really need to get package-lock.json into the Dockerfile to prevent these kind of issues from happening again.

Do we want to look at upgrading some dependencies for the CE as well? To be from 2.4 -> 2.9 is quite a gap. I worry that if we don't upgrade it will become even more difficult in the future.

@VincentCouzij is working on that right now!


Add CHANGELOG.md

Please, consider starting doing this.

@thejameskyle any comments why it was closed?

I do not accept people asking me to do more work without offering to help. If you want changelogs, you contribute them.


Chart Disappears

I am not sure why, but this plugin is making my entire chart disappear except for its legend. Here's what the chart normally looks like:

And on a mobile display, the legend takes up too much room:

Thus, the need for this plugin. However, when I enable the responsive plugin, the chart area is blank:

And it disappears entirely when viewed on mobile--the legend disappears, as it should on mobile, but the chart is still gone. And both are still gone when I resize the browser window back to desktop-size.
All I can figure is that, because I am creating the graphs at runtime instead of in the JSON object when the chart is first initialized, perhaps responsive doesn't have anything to work with when it activates? (i.e., I am not using the dataProvider property.) Is there an API call so I can activate it after I've populated the graphs?

That looks weird.
Would you be able to share your complete config and data for the chart, so that we can test?

Absolutely. I should have posted that initially, as well; sorry. You can find the file where it is initialized on my project's repo. I'm sorry the code is a mess; I'm still learning.

No worries.
Any chance of some sample data? Just so we don't have to invent things.

Another excellent point and oversight on my part. Here's the sample set of data as a CSV (renamed to TXT so I could upload it here) that was used to generate those images.
num_line_items_by_status_between_dates.txt

Thanks.
I still had to modify heavily to make it work. Here's what I came up with:
https://codepen.io/team/amcharts/pen/fe6cdaa69d4f76b9e180e0c26aa29095?editors=0010
However, I can't reproduce the disappearing effect you mentioned.
Can you modify the example to match your specific setup so that we can reproduce the issue?

Height.
It turns out that the chart div needs to have a specific height set. It draws fine using a default value (300px, maybe?) without the responsive plugin. Once the plugin is added and enabled, however, the chart does not draw if it does not have a height style on it. Yay, it works now! And the legend disappears as it should!
Interesting side note: Your CodePen may not be loading the responsive plugin or something because the legend does not disappear when the browser width is reduced to a mobile size. Regardless, thank you so much for taking the time to look into this for me!

OK, great. Glad you worked that out!


Adaptor teardown fixes

Description:
Fixes a bunch of adaptor teardown bugs coming from work on the backbone and promise adaptors in https://github.com/ractivejs/ractive/pull/3052
Fixes the following issues:
#3112
#3100
Is breaking:
Nope, or at least according to the tests

Consider this preparation for the adaptor overhaul 😄

Effects of writing code in poorly-lighted conditions 😂

Feel free to merge and release at the next possible opportunity. 😁


[usm] Extend Go TLS support

What does this PR do?
Add support for GoTLS applications using netutils.LimitListener
Motivation
Support a wider range of GoTLS use-cases.
Additional Notes
TODO:

[ ] Finish writing a test (will do so before merging the PR)

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


Search Service not deleted with azd down command

- [ X ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

After azd up and everything successully deployed, run the azd down command. The Search Service will not be deleted because there are Shared private access sub-resources that needs to be removed first.

Any log messages given by the failure

Using Azure Resource Explorer:
{
"message": "Unable to delete Search Service: 'REDACTED'. UnableToVerifyLocks: Cannot verify management locks for resource: 'REDACTED'. Please try again later. Message: 'The access token is from the wrong issuer 'REDACTED'. It must match the tenant 'REDACTED' associated with this subscription. Please use the authority (URL) 'REDACTED' to get the token. Note, if the subscription is transferred to another tenant there is no impact to the services, but information about new tenant could take time to propagate (up to an hour). If you just transferred your subscription and see this error message, please try back later.\r\nStatus: 401 (Unauthorized)\r\nErrorCode: InvalidAuthenticationTokenTenant\r\n\r\nContent:\r\n{"error":{"code":"InvalidAuthenticationTokenTenant","message":"The access token is from the wrong issuer 'REDACTED'. It must match the tenant 'REDACTED' associated with this subscription. Please use the authority (URL) 'REDACTED' to get the token. Note, if the subscription is transferred to another tenant there is no impact to the services, but information about new tenant could take time to propagate (up to an hour). If you just transferred your subscription and see this error message, please try back later."}}\r\n\r\nHeaders:\r\nCache-Control: no-cache\r\nPragma: no-cache\r\nWWW-Authenticate: Bearer authorization_uri="REDACTED", error="invalid_token", error_description="The access token is from the wrong issuer. It must match the tenant associated with this subscription. Please use correct authority to get the token."\r\nx-ms-failure-cause: REDACTED\r\nx-ms-request-id: REDACTED\r\nx-ms-correlation-request-id: REDACTED\r\nx-ms-routing-request-id: REDACTED\r\nStrict-Transport-Security: REDACTED\r\nX-Content-Type-Options: REDACTED\r\nX-Cache: REDACTED\r\nX-MSEdge-Ref: REDACTED\r\nDate: REDACTED\r\nContent-Length: REDACTED\r\nContent-Type: application/json; charset=utf-8\r\nExpires: -1\r\n' RequestId: REDACTED",
}
Using portal:
"Failed to delete Search Service"
Expected/desired behavior

azd down should be able to delete a Search Service resource, including the sub-resources.

OS and Version?

macOS, however the OS of my laptop seem not relevant to this issue

azd version?

run azd version and copy paste here.
azd version 1.10.1 (commit 31409a33266fb4a5fdbb644bc83988e725d6c7c9)

Workaround
Manually delete the Shared private access sub-resources in de Search Service first before running azd down.

Hm, do you know what the subresources are? I've been able to run azd down on this repo recently, I think. Do you have integrated vectorization enabled or any other optional search features?

Another thing you could try is:
azd config set alpha.deployment.stacks on
azd down

That uses a new feature that removes resources in a different way.


EERGCN/data.py first commit

EERGCN means Graph Convolutional Neural Network model for Electroencephalogram (EEG) Emotion Recognition.

Merge is completed


[REQ] add riemann integral to solrad as aggregate (see discussion)

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

see https://github.com/jeroenterheerdt/HAsmartirrigation/discussions/437#discussioncomment-10238755


Skip newline fixs #3338

Proposed changes:

fix #3338

Status (please check what you already did):

[x] made PR ready for code review
[x ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog
[x ] reformat files using black (please check Readme for instructions)

 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.

Thanks for working on this @therahulkumar! We'll give your PR a review as soon as possible


Update readme video

Following the release of v0.4, we should update the readme video as the console output has changed.

Since we're aiming to do this for v0.5, is this still something we have to do or is it already done and we just forgot to close the issue @garrytrinder?

This still needs doing.


[BUG] Swate installer (for Windows) sometimes does not download manifests

Describe the bug
When using Swate installer for Windows, this occurs in CMD window:
Created folder for Swate manifest @C:\Users\Kath9\AppData\Local\nfdi_manifests.
Download Swate manifest to folder..
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - Die Sperrfunktion konnte keine Sperrprüfung für das Zertifikat durchführen.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - Die Sperrfunktion konnte keine Sperrprüfung für das Zertifikat durchführen.

No manifests downloaded into manifests folder.
To Reproduce
(due to unknown reasons, it is not simply possible to reproduce this. It worked on several PCs without problems, but on some PCs it does not)
Expected behavior
curl.exe downloads the manifests without errors.
OS and framework information (please complete the following information):

OS: Win10

Can you create a PR fixing this issue on this branch https://github.com/nfdi4plants/Swate/tree/kevinf-patch-0.6 ?


Update SendToKindle

We prefer versioned casks. Why are you changing it, are versioned downloads no longer provided?

@vitorgalvao
That's right. They are no longer provide.

Could you please squash your commits?

@vitorgalvao
Done :]

Thank you for the contribution. It was merged directly as 7385208b948c7c6a43ae585323ddeecd2565cbe0 to keep commit history cleaner. Your contribution is still credited to you.


Husky + commit from #13

@Valexr NB sample_users.js script is now wrong!

@Valexr NB sample_users.js script is now wrong!

Yep, but please make task on the board🤓


Update DbcCheckDescriptions.json

A New PR
THANK YOU - We love to get PR's and really appreciate your time and help to improve this module
Accepting a PR
Before we accept the PR - please confirm that you have run the tests locally to avoid our automated build and release process failing. You can see how to do that in our wiki
https://github.com/sqlcollaborative/dbachecks/wiki
Please confirm you have 0 failing Pester Tests
[] There are 0 failing Pester tests
Changes this PR brings
Please add below the changes that this PR covers. It doesnt need an essay just the bullet points :-)

Included with all other file modifications

Included with all other file modifications


Using OCI and TNS_ADMIN getting "ORA-28759: failure to open file"

When trying to connect to an OCI (Oracle cloud) environment with the wallet getting the following error: ORA-28759: failure to open file

Solution: This is in the wallet's sqlnet.ora file.
Old:
WALLET_LOCATION = (SOURCE = (METHOD = file) (METHOD_DATA = (DIRECTORY="?/network/admin")))
New (fix):
WALLET_LOCATION = (SOURCE = (METHOD = file) (METHOD_DATA = (DIRECTORY="$TNS_ADMIN")))

Fixed. Did not automatically update the sqlnet.ora file in case user wanted other changes. Could do this in the future.

Fixed. Did not automatically update the sqlnet.ora file in case user wanted other changes. Could do this in the future.

Could automate using sed:
sed -i .bak "s|?/network/admin|\$TNS_ADMIN|g" $TNS_ADMIN/sqlnet.ora

Could automate using sed:
sed -i .bak "s|?/network/admin|\$TNS_ADMIN|g" $TNS_ADMIN/sqlnet.ora

owe you guys a dollar for this one


Bugfix/invalid field format

Description
All string typed numbers (except telephoneNumber field) were cast as numbers when passing data to request payload. This resulted in behavior where in some occasions those value types were incorrect and raised validation issues in the backend.
Related issues
Fixes #660
Type of change

[x] Bug fix (non-breaking change which fixes an issue)

Changes Made

Removed console log
Gather integer typed fields from schema to an array
Cast matching field value to number

Testing

[x] Tests do not apply

Active tests should be sufficient since we have test cases for both Sample / TaxonId (integer type) and DAC / Contact form / Telephone number (string type with integer value).

changelog maybe ?

changelog maybe ?

I'll rebase and add to changelog when #624 is merged


Unable to Forward Traffic to Home Assistant VM via Nginx Proxy Manager on TrueNAS Scale

Discussed in https://github.com/NginxProxyManager/nginx-proxy-manager/discussions/4213

Originally posted by rrterrorr December  8, 2024
Hello,
I am currently running a TrueNAS Scale server with several Docker apps, including Nginx Proxy Manager (NPM). All of my Docker apps are working fine with NPM, and I can access them without issues. However, I also have a Home Assistant VM on the server (on a different IP but within the same subnet), and I am unable to forward traffic to it via NPM.
The network configuration on TrueNAS is set to BR1, and all apps and VMs, including the Home Assistant VM, are running on this network. My goal is to forward traffic to the Home Assistant VM so that I can eventually stop using Nabu Casa for remote access.
I’ve tried setting up the proxy for Home Assistant in NPM, but the forwarding doesn’t seem to work. I’m looking for advice on how to set up the correct routing or port forwarding for this VM through NPM.
Has anyone encountered this issue or can provide guidance on how to achieve this setup?
Thanks in advance for any help!

Hi, I am not familiar with TrueNAS Scale or use Home Assistant, but willing to give it a go...
What kind of error is returned, if any, when you try to connect to that proxy host?
Did you try a 'curl' from within the NPM container to the Home Assistant's URL, what happened there?
From your description, I understood you have included the Home Assistant IP as the "Forward Hostname / IP" inside that NPM proxy host, plus the protocol (http or https) Home Assistant is listening with and the corresponding TCP port for that.

All the info:

homeassistant network info:

Nginx Proxy Manager proxy host:

Home Assistant OS (vm)
curl response Container Shell:
`# curl <IP_ADDRESS>:8123
Home Assistant#
`


tfvm install without a version arg should install the currently selected version if not installed yet

Supported from v0.14.0.