[Bug]: cannot install onnxruntime

Is there an existing issue for the same bug?

[X] I have checked the troubleshooting document at https://opendevin.github.io/OpenDevin/modules/usage/troubleshooting
[X] I have checked the existing issues.

Describe the bug
When executing make build, an error occurred that the installation could not be successful.

Current OpenDevin version
ghcr.io/opendevin/sandbox:latest

Installation and Configuration
# Download and install Mamba (a faster version of conda)
curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
bash Miniforge3-$(uname)-$(uname -m).sh

# Install Python 3.11, nodejs, and poetry
mamba install python=3.11
mamba install conda-forge::nodejs
mamba install conda-forge::poetry

# Build and Setup The Environment
make build

Model and Agent
No response
Operating System
CentOS Linux 7
Reproduction Steps
No response
Logs, Errors, Screenshots, and Additional Context
(nlp) [root@swebench OpenDevin]# make build
Building project...
Checking dependencies...
Checking system...
Linux detected.
Checking Python installation...
Python 3.11.9 is already installed.
Checking npm installation...
npm 10.5.0 is already installed.
Checking Node.js installation...
Node.js 20.12.2 is already installed.
Checking Docker installation...
Docker version 26.1.3, build b72abbb is already installed.
Checking Poetry installation...
Poetry (version 1.8.3) is already installed.
Dependencies checked successfully.
Pulling Docker image...
Using default tag: latest
latest: Pulling from opendevin/sandbox
Digest: sha256:4bd05c581692e26a448bbc6771a21bb27002cb0e6bcf5034d0db91bb8704d0f0
Status: Image is up to date for ghcr.io/opendevin/sandbox:latest
ghcr.io/opendevin/sandbox:latest
Docker image pulled successfully.
Installing Python dependencies...
Using virtualenv: /root/.cache/pypoetry/virtualenvs/opendevin-j196sbkk-py3.11
Installing dependencies from lock file
Package operations: 80 installs, 0 updates, 0 removals

Installing onnxruntime (1.17.3): Failed

RuntimeError
Unable to find installation candidates for onnxruntime (1.17.3)
at ~/anaconda3/envs/nlp/lib/python3.11/site-packages/poetry/installation/chooser.py:74 in choose_for
70│
71│             links.append(link)
72│
73│         if not links:
→  74│             raise RuntimeError(f"Unable to find installation candidates for {package}")
75│
76│         # Get the best link
77│         chosen = max(links, key=lambda link: self._sort_key(package, link))
78│
Cannot install onnxruntime.
make[1]: *** [install-python-dependencies] 错误 1
make: *** [build] 错误 2

Could you check pip install onnxruntime?
https://github.com/microsoft/onnxruntime/issues/1001

Could you check pip install onnxruntime?
microsoft/onnxruntime#1001
In CentOS, it is possible to install onnxruntime, with the version being 1.16.3; however, it is not possible to install the version required by OpenDevin, which is 1.17.3.

log
$ pip install onnxruntime==1.17.3
ERROR: Could not find a version that satisfies the requirement onnxruntime==1.17.3 (from versions: 1.15.0, 1.15.1, 1.16.0, 1.16.1, 1.16.2, 1.16.3)
ERROR: No matching distribution found for onnxruntime==1.17.3

Did you get any error with v1.16.3?

poetry install 1.17.3 defaultly.  Can I change the dependency in poetry.lock to 1.16.1?

s

poetry install 1.17.3 defaultly. Can I change the dependency in poetry.lock to 1.16.3?

s

https://github.com/microsoft/playwright/issues/9199


Visual Studio Code Jupyter Editor Cant load audio data through IPython.display.Audio

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version:1.70.0
OS Version:Windows11

Steps to Reproduce:
1.I have using Jupyter to run IPython command to display a music file
and i using command like this:
import librosa as lb
wav,sr = lb.load('data/valid/Progressive House/Martin Garrix - Pizza.flac')
import IPython.display as ipd
ipd.Audio(wav, rate=sr)

It would work on Jupyter Lab like this

2.But i when type the same command in Visual Studio Code Jupyter Editor,it truns like this

See the audio data doesnt been loaded from IPython and its length is 0:00
See this bug is really been confused me because recently i am tring to make a Deep Learning Neural Network which can be recognize the music style,so if there has any solution,please tell me,that would be help a lot!

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


Add data-source configurations for EI Analytics

Purpose
To add EI_ANALTICS datasource configurations required by Enterprise Integrator Analytics Feature.

Fixed in 97933ae0a8e13300895900efb121821109608a10


--save-dev also copy "dependencies" into "devDependencies"

for ied repo it self:
16:57:34 nos:~/Documents/Projects/ied 9 (master u=)
~> ied install --save-dev debug
16:57:51 nos:~/Documents/Projects/ied 9 (master * u=)
~> gd
diff --git a/package.json b/package.json
index fa0aa17..507a5b7 100644
--- a/package.json
+++ b/package.json
@@ -19,11 +19,22 @@
     "tar-fs": "^1.8.1"
   },
   "devDependencies": {
-    "mocha": "^2.3.3",
+    "mocha": "^2.3.4",
     "mock-fs": "^3.4.0",
-    "mockmock": "0.0.5",
+    "mockmock": "^0.0.5",
     "proxyquire": "^1.7.3",
-    "standard": "^5.3.1"
+    "standard": "^5.3.1",
+    "archy": "^1.0.0",
+    "async": "^1.5.0",
+    "easy-table": "^1.0.0",
+    "gunzip-maybe": "^1.2.1",
+    "init-package-json": "^1.9.1",
+    "minimist": "^1.2.0",
+    "mkdirp": "^0.5.1",
+    "node-uuid": "^1.4.7",
+    "object-assign": "^3.0.0",
+    "semver": "^5.0.3",
+    "tar-fs": "^1.8.1"
   },
   "scripts": {
     "test": "mocha && standard",
@@ -44,4 +55,4 @@
     "example": "example",
     "test": "test"
   }
-}
+}
\ No newline at end of file

i only expected to save debug of coures

Yeah, had a look into it. This is actually not a bug, but more or less the intended behaviour, which might be confusing.... and I'm open to changes here..

ied install installs all dependencies and devDependencies from package.json
ied install some-package installs only some-package
ied install some-package --save installs only some-package and saves it under dependencies
ied install some-package --save-dev installs only some-package and saves it under devDependencies
ied install --save installs all dependencies and devDependencies from package.json and saves them under dependencies
ied install --save-dev installs all dependencies and devDependencies from package.json and saves them under devDependencies

etc.
Confusing cases:

ied install --save-dev some-package installs all dependencies and devDependencies from package.json and saves them under devDependencies, some-package is being ignored and is not being installed

etc.
To put it in a nutshell the order matters. ied install debug --save-dev does what you would expect.

To put it in a nutshell the order matters. ied install debug --save-dev does what you would expect.

maybe the option order should matter, or should not
but can you write this in document?
it's pretty confusing to many people i think

Can we make the behaviour of the basic commands as similar to npms behaviour as possible?
If you need a rationalisation, mine is that ied [command] [--modifier] [subject(s)] makes more sense as it is more obvious that the modifier (e.g. --save-dev) is upon the command (e.g. install). Basically, it should be this way for the same reason you don't ied [subject(s)] [command] (e.g. ied debug install).

It's confusing that option order should matter, most reasonably friendly CLI tooling doesn't require this. These cases should be interchangeable:
ied install --save foo
ied install foo --save

The --save option is "tied" to the install command, not the argument foo. At least, that's how I'm used to thinking about the UX of CLI tooling.

This has been fixed.


[WFCORE-2712] Elytron - predefined-filter must have flag required in configurable-sasl-server-factory

Elytron Subsystem: https://issues.jboss.org/browse/WFCORE-2712
JBEAP: https://issues.jboss.org/browse/JBEAP-10481

Core - Full Integration Build 5019 outcome was FAILURE using a merge of<PHONE_NUMBER>2700551c2e7f70beb33247f229f185
Summary: Tests passed: 3934, ignored: 135; exit code 1 (new) Build time: 01:03:05


Relax group name constraints to what they are in AWS.

Currently, the Group titles are validated to the more strict alphanumeric regex. However, Groups in AWS can also contain any of +=,.@-_.

Just to follow up, the titles are required to be a stricter alphanumeric set. The IAM names (in properties) allow for the expanded regex through this function called during property validation.

Yeah, I meant to leave a comment - I realized it was my mistake, which is why I closed the PR. Thanks!


Questions on TCP

Hi,
This is becoming a small problem for me as I am using listenTCP for a small tcp server but one thing that came to mine is using it without a callback. UDP servers with vibe can be used without a callback but creating a custom class that wraps around listenTCP is hard and was wondering if there was anyway to use it without a callback? I do know it is linked to getEventDriver() but was just wondering before I end up using libasync for my tcp server/client.
My other question is with the following code:

import vibe.d;

shared static this()
{
	{
		listenTCP(1234, (stream){
				logInfo("Got message: %s", stream.readAllUTF8());
				stream.write("Results");
				stream.finalize();
		}, "<IP_ADDRESS>");
	}

	{
		auto stream = connectTCP("<IP_ADDRESS>", 1234);
		Json pass = Json.emptyObject;
		pass.name = "Hello";
		pass.data = "World";
		auto data = pass.toString();
		stream.write(data);
		logInfo(stream.readAllUTF8());
		stream.finalize();
		stream.close();
	}
}

With this code, it locks up as but if you remove the stream.write("Results"); and logInfo(stream.readAllUTF8()); everything works but you get a message stating "Handling of connection failed: Operating on closed TCPConnection.". How can use use listenTCP to handle connections to read whats being sent, then respond so that connectTCP will read whatever is sent? Each time I attempt it locks up like it is in the following code. (I am more use to plain sockets in C but since my service is written around vibe, I want to use what it provides to make use of the its event driver). Could someone provide a client and server example with the server in a loop, reading from stream and responding to what been sent (eg command) and the client sending and responding to what the server sent. I dont mine like how example/tcp_seperation works with the listenTCP having runTask within it, but with one client and one server. I've seen code from different projects using listenTCP, but it doesnt help me much since it doesnt really use connectTCP to setup a client connection to the server.
Thanks.

With this code, it locks up as but if you remove the stream.write("Results"); and logInfo(stream.readAllUTF8()); everything works but you get a message stating "Handling of connection failed: Operating on closed TCPConnection.".

You shouldn't use readAll() on a TCPConnection, I don't even know why this isn't explicitely denied, it was probably meant for a higher level stream such as ChunkedInputStream. It's implemented as a while (!empty) loop, the @property bool empty() returns when a chunk is finished but for a TCPConnection it yields the task and waits for more data until it can return true... bad...
If you're trying to write your own protocol on top of TCP, you're probably losing your time. I mean, you could put a length integer right before your json string so you can read up to a specific length, but.. You should use the HTTP protocol or some RPC protocol like msgpack or the REST implementation, it's de-facto standard and it ends up being simpler in the long run.
If you're persistent and would like to know the "vibe" way of doing TCP protocols, using read and write in a (fiber) blocking way (not thread blocking), do read my implementation of the Redis Subscriber Protocol here, it's a very elaborate example that works very well. Basically, you should always read/write with specific lengths, or at least use readUntil where you have a "stop" character.

I do know it is linked to getEventDriver() but was just wondering before I end up using libasync for my tcp server/client.

I would hardly recommend it for this use case :-p

Lol why wouldnt you recommend libasync?

Lol why wouldnt you recommend libasync?

I do recommend it but under the libasync driver. I believe the true power of D comes from its ability to handle abstractions with nearly no performance costs, and I also believe that HTTP/TLS is the true way to send data (unless you're making something very specialized). I'm going to be working on an HTTP/2 implementation soon enough once I'm done the crypto library, I'm aiming to allow to open a server behind a router fairly easily, to give connectivity back to the web, long lost since the introduction of NAT standards.

The tcp example i have here is base on a small example I found (stripped from the extra stuff that was with it from the tcp ssl example). I was considering using http but since I dont want to add the extra overhead at the moment so I prefer doing a direct connection (or at least until I figure out what is really causing the memory leak over time since my application will also be used on servers with ram as small as 512MB and dont want it or any processes crashing due to OOM). I did use readLine (which i believe is a wrapper around readUntil) but given a exception Task terminated with unhandled exception: Reached EOF before reaching end marker. which lead me to stick to what i have currently. The only reason why I didnt provide a specific size is mainly because the data size may vary but i know it wont be more than maybe about 256KB, but I do see where the readAll could become a problem for what i planned on doing

my application will also be used on servers with ram as small as 512MB and dont want it or any processes crashing due to OOM)

The most recent version of druntime has a lot of new improvements for the GC, including a maximum pool size and a virtual memory limit/ratio. This could resolve the leak.

the data size may vary but i know it wont be more than maybe about 256KB,

If you know exactly what you're getting, you can go for libasync without issues. I would think the abstractions can better accomodate larger projects, but I'm sure small specialized / well defined projects can thrive with a simple environment.
I'm going to be integrating memutils soon, which helps define some custom allocators with corresponding containers and it's very helpful to limit memory (GC) use that causes the leaks you talk of.


[Feature Request] Add sepia theme for eye comfort

Checklist

[X] This issue contains only one feature request. I will open one issue for every feature I want to request.
[X] I checked, but didn't find any duplicates (open OR closed) of this issue in the repo.
[X] This feature is merely an UI/UX update.
[X] This feature is not going to conflict with many of the existing features/options.

Is your feature request related to a problem? Please describe.
Reading digital content often causes eye strain, especially during low-light conditions. The app lacks a sepia theme option, which is known to reduce eye strain while maintaining readability.
Describe the solution you'd like
Requesting a sepia theme for the app. Sepia tones offer a soothing reading experience, imitating aged paper and providing a comfortable contrast between text and background.
How will you/everyone benefit from this feature?
Users who read extensively, especially at night, will benefit from reduced eye strain. The sepia theme offers a visually appealing and comfortable reading experience, aligning with current trends for eye-friendly interfaces.
Additional context
Research supports sepia themes for minimizing blue light's negative effects on sleep patterns. Adding this feature could enhance user satisfaction, attract more users, and increase app usage.

I already had plans to add this somewhere in future, will try in upcoming releases if i get enough time.


Add Front End support for choosing 'any' topic

Allow matching of any topics in the front end

Requesting a review

frontend/app/(dashboard)/practice/page.tsx
<option value="" disabled>
  Select a complexity
</option>
{Object.values(QuestionComplexity).map((complexity) => (
  <option key={complexity} value={complexity}>
    {complexity}
  </option>
))}

frontend/types/Question.ts
export enum QuestionComplexity {
  ANY = 'any',
  ...
}

export enum QuestionTopic {
  ANY = 'any',
  ...
}


useCssModule is broken on Vue 2.7

Version
2.7.11
Reproduction link
codesandbox.io
Steps to reproduce
const style = useCssModule()
console.log(style.someClass) // undefined
// ...
<style module lang="css">
.someClass {
  background: pink;
}
</style>

What is expected?
style object should contain defined class names
What is actually happening?
style object is empty.
In console: [Vue warn]: Current instance does not have CSS module named "$style"

I checked https://github.com/vuejs/core/blob/v2-compat/packages/runtime-dom/src/helpers/useCssModule.ts which uses  getCurrentInstance, but on vue 2.7  getCurrentInstance returns { proxy: Vue }.
Maybe that's something else :p

I believe this is the same issue as #12822.

Let's close this and track it in https://github.com/vuejs/vue/issues/12822 instead.


fork of this gem

Hey,  I ended up forking this gem and re-releasing as a new gem.  Since this gem seems to be tied to chef and knife I wanted to make something more independent.   I also removed the yajl library so the gem would be more portable in cases where this is run on a windows platform.
Not sure if you want to mention this in your readme.md file but If people are not using chef they now have an alternative.   I'll also be adding a few features as well that didn't seem like a good fit for the original gem.
https://github.com/nwops/vra-restapi

@logicminds you are totally within your right to fork this gem if you feel it doesn't suit your needs. It was deliberately designed to NOT be Chef specific. Some of the gems in use happen to be used by Chef, but that was for ease-of-use and consistency, not a statement of being tied to Chef.
Thanks for letting us know, and happy coding. :)


Streaming responses from LLMs

It'd be nice to have an API over a server side cursor that returned individual tokens as rows from the model to stream responses back to the end user.

ye

Hi @montanalow @aplchian  I believe we can help with this issue. I’m the maintainer of LiteLLM https://github.com/BerriAI/litellm
TLDR:
We allow you to use any LLM as a drop in replacement for gpt-3.5-turbo.
You can use our proxy server or spin up your own proxy server using LiteLLM
Usage
This calls the provider API directly
from litellm import completion
import os
## set ENV variables
os.environ["OPENAI_API_KEY"] = "your-key" #
messages = [{ "content": "Hello, how are you?","role": "user"}]

# openai call
response = completion(model="gpt-3.5-turbo", messages=messages)

# falcon call
response = completion(model="falcon-40b", messages=messages)

Completed by @SilasMarvin


TB-13: implement deployment process

Implement deployment process using docker image.
Acceptance criteria:

dockerfile added to the project
deployment process with providing environment variables is added to the project

Added in #18 PR


[WIP] Make usage of another Association class in ApplicationEntity easier

This is a small change if we want to use another Association class in ApplicationEntity.
It could be an overridden version of the current Association class.
E.g.
class MyAssociation(Association):
    pass

ae = AE()
ae.ASSOCIATION = MyAssociation
ae.start()

Changes Unknown when pulling 54417eef28e085d4f9412302fa056e07b8f82f2a on fedjo:override_assoc into ** on pydicom:master**.

Changes Unknown when pulling 35763447ab1070a3c1002359acffcc898bcf35e7 on fedjo:override_assoc into ** on pydicom:master**.

Hello @scaramallion
Any updates on that PR.
Changes do not affect coverage. They are covered from the existing tests

@scaramallion
Sorry for interrupting you so many times. I would like to know your opinion about this PR.
I would give the opportunity to easily override Association class and add custom  or override functionality of the current implementation. I don't think it is just a huge change that changes the code structure or uses code refactoring.
I really cannot understand that this PR has taken so long to be resolved. I suppose it's a matter of politics.
Again sorry if you are in a total mesh and I create you extra effort. But I am a developer and I just need to know your thoughts in order to proceed with my job.
Thanks

Functionality added with event-handler system


Prepare for upcoming change to File.openRead()

An upcoming change to the Dart SDK will change the signature
of File.openRead() from returning Stream<List<int>> to
returning Stream<Uint8List>.
This forwards-compatible change prepares for that SDK breaking
change by casting the Stream to List<int> before transforming
it.
dart-lang/sdk#36900

@kevmoo PTAL

PTAL

@tvolkert – did we give you commit rights yet?

Nope

Want me to land?
On Mon, Jun 24, 2019 at 7:21 PM Todd Volkert<EMAIL_ADDRESS>wrote:

Nope
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dart-lang/http_server/pull/57?email_source=notifications&email_token=AAAEFCRF4EE33RHRKCWS2XTP4F6JRA5CNFSM4H2XN572YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYOYOGI#issuecomment-505251609,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAEFCSFNLI3YTP32AT7H6LP4F6JRANCNFSM4H2XN57Q
.

Yes please (thanks!)


merge package from arlac77/npm-package-template

package.json

chore(package<EMAIL_ADDRESS>chore(scripts): cover@#overwrite c8 --temp-directory build/coverage ava && c8 report -r lcov --temp-directory build/coverage
chore(package): add nyc from template
docs(package): remove keyword null
chore(package): set $.ava.require='esm' as in template
chore(package): set $.ava.files='tests/-test.js,tests/-test.mjs' as in template
chore(package): set $.ava.extensions='js,mjs' as in template

Codecov Report

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

@@           Coverage Diff           @@
##           master     #666   +/-   ##
=======================================
  Coverage   92.96%   92.96%
=======================================
  Files           7        7
  Lines        1066     1066
=======================================
  Hits          991      991
  Misses         75       75

Continue to review full report at Codecov.

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

Coverage remained the same at 89.761% when pulling b651e98ff16098df62878eae4e2111fc82a48765 on template-sync-1 into 8761b4162500923c25484522feca50d67f921a5a on master.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Typescript] v4 ctx.request.body - Property body does not exist on type Request

Promblem/Feature Request Summary
v4
TS 2.9
ctx.request.body - Property body does not exist on type Request
Environment Information

koa-body: 4.0.0
Koa: 2.x
Node.js: 10.3

Current Behavior
Typescript definition is missing the body field
Expected Behavior
It shouldn't complain about the missing type def
Possible Solution
Adding body to the type defs

Also affected. Appears that the Request augmentation had the body typing removed here

released in 4.0.1

this one shut me down too
Property 'name' is missing in type '{}'.
for ctx.request.body
in my server router


Added CqlBuilder to export

@DrachovDmytro
I think it would be good to expand this builder's functionalities.
Could you tell me what would you really do with using directly CqlBuilder?

Hey @kyungmi.
First of all my apologize that I have not describe that previously.
So the main idea is to force dev to use CqlBuilder for query building.
Imagine next CRUD repository:
`
class CRUDRepo {
constructor(cassandraDriver) {
this.driver = cassandraDriver;
}
create(queryObject) {
if(!(queryObject instanceof CqlBuilder)) throw TypeError('queryObject should be constructed by cql-builder');
const { query, params  } = query.build();
return this.driver.execute(query, params);
}
read() {}
update() {}
delete() {}
}
`
I don't like approach like
`
create (query, params) {
...
}
const { query, params } = cqlBuilder.Insert().......build();
create(query, params);
`

Thank you for explaining it :)
I will let you know after it is published.

It was published as v1.0.3. 🙂


Fix uninitialized variable ending up sent to Vulkan

The first time a shader is compiled Godot performs the following:
for (uint32_t i = 0; i < SHADER_STAGE_MAX; i++) {
	if(spirv_data.push_constant_stages_mask.has_flag((ShaderStage)(1 << i))) {
		binary_data.push_constant_vk_stages_mask |= shader_stage_masks[i];
	}
}

However binary_data.push_constant_vk_stages_mask is never initialized to 0 and thus contains garbage data or'ed with the good data.
This value is used by push constants (and many other things) thus it can be a big deal.
Fortunately because the relevant flags are always guaranteed to be set (but not guaranteed to be unset), the damage is restricted to:

Performance (unnecessary flushing & over-excessive barriers)
Overwriting push descriptors already set (this would be serious, doesn't seem to be an issue)
Driver implementations going crazy when they see bits set they don't expect (unknown if this is an issue)

This uninitialized value is later saved into the binary cache.
Valgrind is able to detect this bug on the first run, but not on the subsequent ones because the data comes from a file.
cache_file_version has been bumped to force rebuild of all cached shaders. Because the ones generated so far are compromised.
Can this fix TDRs? (aka DEVICE_LOST)
Possibly.
Should this be backported to older versions?
Probably, I didn't check

I wonder if this can help resolve https://github.com/godotengine/godot/issues/77427.

I wonder if this can help resolve https://github.com/godotengine/godot/issues/77427.

That bug is still present. But I thought it was on purpose / a limitation (zero-initializing 3D volume data takes time).
I can look into it if that's an issue, but it looks like it's just the 3D buffer not being initialized.

Looks great! Congratulations on your first (of many) merged PR.
Note for maintainers, this should probably not be cherry picked to 4.1. technically it's fine, the only thing it will do is invalidate the previous cache.


Unauthorized Select Access to Other User's Transaction Data

Issue: Unauthorized Select Access to Other User's Transaction Data
Description
There is a security vulnerability in the application that allows a user to view transaction data belonging to different users. This issue poses a significant privacy concern and needs to be addressed quickly.
Expected Behavior
Users should only be able to access and view their own transaction data. Attempts to access other users' data should be restricted and result in an appropriate error response or redirection.
Steps to Reproduce

Log in as a User.
Access the root('/') page or navigate to a transaction details page.

Actual Result
User A can view transaction data belonging to another User.
Expected Result
Accessing transaction data belonging to other users should result redirection to the user's own data.

We are aware of the reported issue where users can view other user's transaction data. Please note that this behavior is intentional and currently in place for development simplicity as the application is still in its development phase.
Rest assured, we have plans to implement robust authentication and authorization mechanisms to ensure users can only access their own data.

We have fixed the issue. Now users can view, edit and delete only their transactions.


[🐞] Qwik Insights returns 500 error for fetching data/strategy

Which component is affected?
Qwik Insights
Describe the bug
During the build process, I'm seeing a warning message that insight data failed to load. When I run a cURL locally to fetch the insights, it just responds with a 500 error. I've got quite a few insight projects (created some new ones for other sites we're working on) and they all return a 500 error.
I've tried multiple projects (one that was collecting data for some time) and even brand newly created insight projects
For example, this returns a 500:
curl -X GET https://qwik-insights.builder.io/api/v1/i7ad7k2w80/bundles/strategy/

Steps to reproduce
curl -X GET https://qwik-insights.builder.io/api/v1/i7ad7k2w80/bundles/strategy/

System Info
System:
    OS: macOS 14.3.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 343.95 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.11.1 - ~/.volta/tools/image/node/20.11.1/bin/node
    Yarn: 1.22.19 - ~/.volta/tools/image/yarn/1.22.19/bin/yarn
    npm: 8.19.4 - ~/.volta/tools/image/npm/8.19.4/bin/npm
    pnpm: 8.15.3 - ~/.volta/tools/image/pnpm/8.15.3/bin/pnpm
  Browsers:
    Chrome: 122.0.6261.129
    Edge: 122.0.2365.80
    Safari: 17.3.1
  npmPackages:
    @builder.io/partytown: ^0.10.0 => 0.10.0
    @builder.io/qwik: workspace:^ => 1.5.1
    undici: * => 6.6.2
    vite: ^5.1.4 => 5.1.4

Additional Information
No response

@mhevery could you take a look?

I tested and it's working fine now.
So I'm closing this issue for now, feel free to re-open it if it's still an issue for you.


Create an empty window using GTK3

Create an empty window using GTK3 and GtkBuilder
You can use this example (https://developer.gnome.org/gtk3/3.0/gtk-getting-started.html) in Building interfaces, just the window without buttons and hello world.
Note:

This is not a copy-paste issue. You need to think how to apply this example in the current structure of Deer.
Each time you make a progress, just pull request the code you have done to get review, instead of pushing all your work that took much time and getting negative review.

I will work on it


expand docs

Currently, we only generate the API docs. However, we also want docs on

clk serialization,
discussion on choice of parameters,
use with the linkage service,
etc.

@wilko77 I'd say with the recent push at expanding docs we can close this and open issues for any remaining or rough sections.


Follow up: remove field_as_li.html template

Ref: #9031

Forms refactoring: replace field_as_li.html with field.html wrapped in li

Removed the field_as_li.html template and all references to it, replacing them with field.html wrapped in <li> tags.
The only trace left is a historical mention in the 1.0 release notes: link

Checking the #nighly-build-failures channel on Slack, I see at least two packages that rely in this templates existence. There are probably many more packages and projects out there relying on this template.
It doesn't feel entirely proper to break compatibility like this in 5.1.
Perhaps we should reinstate the template and raise a deprecation warning when it is used?
Thoughts? @gasman @laymonage

Yep, that sounds good to me. Not sure if we have an existing mechanism to deprecate templates, though.

I'm not aware of any mechanisms like that. Never had to deprecate a template before.
How does this sound: we add a template tag to raise a RemovedInWagtail60Warning. Not sure how that will look in a stacktrace though, the source code that included the deprecated template would probably be obscured by Django's template rendering system I suspect.
Suggestions welcome.
For now, I've opened a PR to reinstate the template (#10684) to make sure it is reinstated before the code freeze.


The Solution in Get a hint for Sort an Array Alphabetically Using the Sort Method is not correct.

<!--
The Solution in Get a hint for Sort an Array Alphabetically Using the Sort Method is not correct.
It is supposed to be
function alphabeticalOrder(arr) {
  // Add your code below this line
  return arr.sort();

  // Add your code above this line
}

alphabeticalOrder(["a", "d", "c", "a", "z", "g"]);

Instead of this
function alphabeticalOrder(arr) {
  // Add your code below this line
  return arr.sort(function(a,b) {
    return a > b;
  });
  // Add your code above this line
}
alphabeticalOrder(["a", "d", "c", "a", "z", "g"]);

**Add a Link to the page with the problem:**
https://guide.freecodecamp.org/certifications/javascript-algorithms-and-data-structures/functional-programming/sort-an-array-alphabetically-using-the-sort-method/

**Tell us about your browser and operating system:**
* Browser Name:  Chrome
* Browser Version:
* Operating System: Windows 10

**If possible, add a screenshot here (you can drag and drop, png, jpg, gif, etc. in this box):**
![image](https://user-images.githubusercontent.com/25280476/64316562-1af3fc00-cfad-11e9-99bf-fbaf1e1a23f4.png)

Both, the solution in the production guide, and the forum guide, passed for me - can you test them again @mzkev - or clarify what one isn't passing, and where you are testing it.

The Solution in the Get a hint link is this
function alphabeticalOrder(arr) {
// Add your code below this line
return arr.sort(function(a,b) {
return a > b;
});
// Add your code above this line
}
alphabeticalOrder(["a", "d", "c", "a", "z", "g"]);
Which isn't correct, when you run it it gives error. Please see the screenshot below.

It is supposed to be
function alphabeticalOrder(arr) {
// Add your code below this line
return arr.sort();
// Add your code above this line
}
alphabeticalOrder(["a", "d", "c", "a", "z", "g"]);
And all the Test cases passes.

@moT01

The guide with that solution will be removed soon and replaced with forum guide posts - I linked to the post about this challenge on my last comment. If one of the forum posts needs updating, we take suggestions via replies to the post. So the solution you are referring to will be gone soon - the solution on the forum is different - I was able to pass the challenge with both of them.

@moT01 : the a > b callback works only on some browsers since about last October, it is going to be removed from the guide because of that

I am closing this issue as we are just waiting for master to be shipped to production.  Also, the new Guide (on the forum) has the correct solution.


Create a timeline

Add a list of all your activities, achievements, work experience. Add as much info as you can remember. In case you don't have working experience tell about your pet-projects or student projects. Don't be shy :)

the timeline was added.


js go back

return to previous page example code

@nonunicorn  created a PR for this code.

https://onelinerhub.com/javascript/previous_page


BUG: Check for NULL pointer in memmove

What does this implement/fix?

References: https://github.com/rgommers/scipy/pull/37#issuecomment-875453225
Added a check for the presence of NULL pointer in order to avoid build warnings.

The build warnings looked like:
[805/1152] Compiling C object scipy/signal/spline.cpython-39-x86_64-linux-gnu.so.p/S_bspline_util.c.o
../scipy/signal/S_bspline_util.c: In function 'S_separable_2Dconvolve_mirror':
../scipy/signal/S_bspline_util.c:258:2: warning: argument 2 null where non-null expected [-Wnonnull]
  258 |  memmove(tmpmem, inptr, M*N*sizeof(float));
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/rgommers/anaconda3/envs/scipy-meson/include/python3.9/Python.h:30,
                 from ../scipy/signal/S_bspline_util.c:1:
/home/rgommers/anaconda3/envs/scipy-meson/x86_64-conda-linux-gnu/sysroot/usr/include/string.h:49:14: note: in a call to function 'memmove' declared here
   49 | extern void *memmove (void *__dest, __const void *__src, size_t __n)
      |              ^~~~~~~

Additional information
cc @rgommers

Thanks @Smit-create. I cherry-picked and pushed your whitespace commit to master, so that this diff is now easy to read.

It seems to me that we should add a condition about if in is NULL so that none of this is performed. Otherwise we have some else condition points to nowhere.

Yes, this code looks kind of wrong still. Let's have a look at what is happening:

if Nhr or Nhc are 0, we get a memmove involving a null pointer
so can those variables actually be zero and should that be handled?
checking for example D_separable_2Dconvolve_mirror, it's only used in one place - in splinemodule.c:

  if (PyArray_DIMS(a_hrow)[0] % 2 != 1 ||
      PyArray_DIMS(a_hcol)[0] % 2 != 1) {
    PYERR("hrow and hcol must be odd length");
  }
...
    ret = D_separable_2Dconvolve_mirror((double *)PyArray_DATA(a_image),
					(double *)PyArray_DATA(out), M, N,
					(double *)PyArray_DATA(a_hrow),
					(double *)PyArray_DATA(a_hcol),
					PyArray_DIMS(a_hrow)[0], PyArray_DIMS(a_hcol)[0],
					instrides, outstrides);

The parameters are PyArray_DIMS(a_hrow)[0], PyArray_DIMS(a_hcol)[0], which are checked right above the use site - they must be odd.
Hence I think the memmove makes little sense, that should just throw an exception.

How about using this instead:
else {
    PYERR(PyExc_RuntimeError, "Internal error - rows and columns must be odd!");
}

Uhhh now that I have written the above: the "hrow and hcol must be odd length"" mislead me, the code uses || not &&. So the message is wrong, maybe one of hrow or hcol may be even - and if it is, can it be 0? This needs a closer look - the tests for sepfir2d are equally confusing about whether one or both dimensions must have odd length. @Smit-create this would be good to investigate and see if you can complete the picture of what's happening here.

There are a couple of issues (2 open, 2 closed) about sepfir2d, so it does get usage. Now that we've looked into this and found some of the problems, it makes sense to fix them. This could turn into a bit of a project though, so let's not try to do it all in this PR. @Smit-create I suggest the following:

This PR: incorporate the fix the outptr -> out in memmove (see review comment above), and then we'll merge this.
Follow-up PRs (all separately, or at least the templating one - to keep diffs readable):

deduplicating the four files (C_bspline_util.c, D_bspline_util.c, S_bspline_util.c, Z_bspline_util.c). This can be done with a Tempita template (see scipy/signal/correlate_nd.c.in for an example). At that point bspline_util.c also doesn't need to be a separate file, the one function in it can be included in the same templated C file.
add a test for strided input arrays, and handle strides correctly (@peterbell10's comment above)
add a test for gh-13643 and remove the __GNUC__ guards. I think this requires modernizing the code (__complex__ usage is odd, it's only done in a few signal functions)

This code is pretty arcane, it should be possible to squash quite a few bugs in it here.

@ev-br IIRC you have a student working on spline improvements. Could you have a quick look at the above plan? I want to make sure that improving signal.sepfir2d here is the right thing to do (so if you plan to replace it with something better, that'd be good to know).

Merged, thanks @Smit-create!

@ev-br IIRC you have a student working on spline improvements. Could you have a quick look at the above plan? I want to make sure that improving signal.sepfir2d here is the right thing to do (so if you plan to replace it with something better, that'd be good to know).

Yeah, the code seems to predate not only clang, but even npy_cdouble et al. Your modernization plan looks great.
We don't have specific plans for replacing sepfir2d or other functionality in signal/splines at the moment, that would be a bit much for Egor now.
A look-through by a signal processing expert would be very helpful here, or at least a reference or a pointer to references. The algorithmic part here is fairly opaque and I, for one, have no idea where various things here come from (but I'm not a signal processing expert at all).


@azure/openai - Set response_format for GPT-4 Turbo

Now that GPT-4 Turbo is available, it would be great to be able to specify the response_format={"type": "json_object"} when making calls to @azure/openai client.getChatCompletions.

Thanks for opening this report! This work is in progress and I will share once we make a release.

Hey @deyaaeldeen! Do you have any ETA on this matter?

Tentative release date is 12/7. I'll share here once the release happens.

This is great to see! Right now we're blocked from using GPT-4 Turbo until this feature is available. Any chance it'll be available today @deyaaeldeen?

Also, to answer the original question, you can do this with v1.0.0-beta.8, given a capable deployed model:
client.getChatCompletions(
    deploymentName,
    [
      {
        role: "user",
        content:
          "Answer the following question in JSON format: What are the capital cities in Africa?",
      },
    ],
    { responseFormat: { type: "json_object" } }
);

Thanks @deyaaeldeen, I'm very happy to report that this has done the trick, and we can now use gpt-4 turbo, with JSON responses!


Unable to sync users local group memebership

I am not able to login through pGina and getting the below attached

issue . Can anyone help in fixing this issue as it is a blocking me to logging in.

Need help ASAP!!!


Implement type 'any' and alt-type

Similar to alt but branches on the actual type of its any-typed head expression rather than the value.  Implement in full --- doesn't even parse at the moment.  See manual. Should also include the 'any' type and how to inject/extract values from it.

To really make this a first-class member of the language now it would have to have variations for the different kinds, any~, any@, any&, or such.

Even though we haven't had a pressing need for this I think it could be useful in error handling. For example an error(any) type is more composable than error(T). And given that fail essentially takes type any, it would provide a nice way to perform a 'try' operation in another task and return an error(any~) of the fail value to the original task.


Feat: Adding logo and updating header and summary

Summary
Some initial code changes for the current UI.
Changes:

Reorganise the header area.
Added Cartesi Logo
Extract The summary to its own initial component form.
Added smooth number increase. (add react-spring/web)

@tuler, Let's test the squash. It will continue to be linear, as far as I understand.


APIKEY

Hi ,
I have updated API key manually in appsettings.json .
But when i tired to push package , it is keep asking for UserName and Password....what details should be given
also what is the command prompt to push package using API key in Bagetter.
Thanks for your help ahead.

Have you restarted BaGetter after changing the appsettings.json? It only reads the config once, at startup.
If you have an API key set in your environment, it will override the one in the appsettings.json file, so make sure there isn't one.
If you use the nuget cli, you can add "-ApiKey " to your call.
For dotnet nuget push you have to use "--api-key " instead.

Have you restarted BaGetter after changing the appsettings.json? It only reads the config once, at startup.
If you have an API key set in your environment, it will override the one in the appsettings.json file, so make sure there isn't one.
If you use the nuget cli, you can add "-ApiKey " to your call. For dotnet nuget push you have to use "--api-key " instead.

Hi ,
Thanks for your reply , it works well as per your instructions.
But would  like to know in case if we override API key through Set , may know how to check that API key in bagetter.
Any possible to check override API key inside Bagetter.
Thanks for your help ahead!

There is no way of getting the API key from BaGetter, and I don't want to add one, as that would be a vulnerability either way.


enable BypassCorsPreflight in JWT policy by default

Please provide a description of this PR:
Fixes https://github.com/istio/istio/issues/36911

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

/test all

@yangminzhu: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-istiodremote_istio
7810378f75c5ef315d777dd925a4d57badd7a11e
link
true
/test integ-security-istiodremote_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@yangminzhu: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-istiodremote_istio
7810378f75c5ef315d777dd925a4d57badd7a11e
link
true
/test integ-security-istiodremote_istio

integ-pilot-multicluster_istio
7810378f75c5ef315d777dd925a4d57badd7a11e
link
true
/test integ-pilot-multicluster_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@yangminzhu: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-istiodremote_istio
7810378f75c5ef315d777dd925a4d57badd7a11e
link
true
/test integ-security-istiodremote_istio

integ-pilot-multicluster_istio
7810378f75c5ef315d777dd925a4d57badd7a11e
link
true
/test integ-pilot-multicluster_istio

integ-security_istio
7810378f75c5ef315d777dd925a4d57badd7a11e
link
true
/test integ-security_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@yangminzhu: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-istiodremote_istio
7810378f75c5ef315d777dd925a4d57badd7a11e
link
true
/test integ-security-istiodremote_istio

integ-pilot-multicluster_istio
7810378f75c5ef315d777dd925a4d57badd7a11e
link
true
/test integ-pilot-multicluster_istio

integ-security_istio
7810378f75c5ef315d777dd925a4d57badd7a11e
link
true
/test integ-security_istio

integ-security-multicluster_istio
7810378f75c5ef315d777dd925a4d57badd7a11e
link
true
/test integ-security-multicluster_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-security_istio

/test all

@yangminzhu: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio
e315edb705dc265af78489fe65ce4b84fa51d380
link
unknown
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@yangminzhu: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio
e315edb705dc265af78489fe65ce4b84fa51d380
link
unknown
/test gencheck_istio

lint_istio
e315edb705dc265af78489fe65ce4b84fa51d380
link
unknown
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


Test machines naming with '-XJ' don't have required module installed

Test running on https://ci.adoptopenjdk.net/computer/test-macincloud-macos1010-3-XJ/ failed with message:
06:31:54  Can't locate Text/CSV.pm in @INC (you may need to install the Text::CSV module) (@INC contains: ./makeGenTool /Library/Perl/5.18/darwin-thread-multi-2level /Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level /Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.2 /System/Library/Perl/5.18/darwin-thread-multi-2level /System/Library/Perl/5.18 /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level /System/Library/Perl/Extras/5.18 .) at makeGenTool/parseFiles.pl line 27.
06:31:54  BEGIN failed--compilation aborted at makeGenTool/parseFiles.pl line 27.
06:31:54  Compilation failed in require at makeGenTool/mkgen.pl line 93.
06:31:54  Using projectRootDir: /Users/jenkins/workspace/openjdk8_j9_openjdktest_x86-64_macos/openjdk-tests/TestConfig/scripts/testKitGen/../../..
06:31:54  Getting modes data from modes.xml and ottawa.csv...
06:31:54  settings.mk:54: /Users/jenkins/workspace/openjdk8_j9_openjdktest_x86-64_macos/openjdk-tests/TestConfig/../TestConfig/utils.mk: No such file or directory
06:31:54  makefile:39: count.mk: No such file or directory
06:31:54  make: *** No rule to make target `count.mk'.  Stop.

https://ci.adoptopenjdk.net/view/Test_openjdk/job/openjdk8_j9_openjdktest_x86-64_macos/217/consoleFull
Text/CSV.pm is required for running Testkitgen

Same issue for tests on s390x test-marist-ubuntu1604-s390x-2-XJ.

The s390x box should be ok now - let me know if there are any further isssues

Have now also installed Text::CSV, XML::Parser and JSON onto the mac system

antlib is also missing on mac system. https://ci.adoptopenjdk.net/view/Test_openjdk/job/openjdk11_hs_openjdktest_x86-64_macos/225/console

disabled node: test-macincloud-macos1010-3-XJ

brew install ant-contrib executed and linked /usr/local/Cellar/ant-contrib/1.0b3/share/ant/ant-contrib-1.0b3.jar to /usr/local/Cellar/ant/1.10.1/lib/ant-contrib.jar

https://ci.adoptopenjdk.net/job/openjdk8_hs_openjdktest_x86-64_macos/373/ has passed the problematic section so the above appears to have worked.

@sxa555 I see that  https://ci.adoptopenjdk.net/computer/test-macincloud-macos1010-3-XJ/ are still offline and jobs are waiting for available machines. Could you re-enable it? Thanks!
I'm also confused that how the job https://ci.adoptopenjdk.net/job/openjdk8_hs_openjdktest_x86-64_macos/373/  was assigned to that disabled machine?

@sxa555 both jdk and system test jobs on https://ci.adoptopenjdk.net/computer/test-marist-ubuntu1604-s390x-2-XJ/ are running with unexpected long time and extra errors.
System tests :
running on https://ci.adoptopenjdk.net/computer/test-marist-ubuntu1604-s390x-1/  pass, 2 hours
running on https://ci.adoptopenjdk.net/computer/test-marist-ubuntu1604-s390x-2-XJ/ failed, 4 hours
https://ci.adoptopenjdk.net/view/Test_system/job/openjdk11_j9_systemtest_s390x_linux/
jdk Tests:
running on https://ci.adoptopenjdk.net/computer/test-marist-ubuntu1604-s390x-1/  failed, round 1.5 hours
running on https://ci.adoptopenjdk.net/computer/test-marist-ubuntu1604-s390x-2-XJ/ failed, 9 hours and time out
https://ci.adoptopenjdk.net/view/Test_openjdk/job/openjdk11_j9_openjdktest_s390x_linux/
Similar issues for other version or implements.
Wondered any configuration difference between those two machines?

Please ensure that if an issue still persists on a closed issue that you reopen it or any comments will likely not be actioned.
I've taken the macos box back online.
For the s390x box are all the errors network timeouts? (I'm basing that on run 260 of the job you mentioned)

Unfortunately  I don't have this repo's reopen permission :-(
Yes, most of failures are timeouts, which make the job take much longer time than on the other machine and make the build timeouts. I wondered if any configuration hidden issue?

My question was whether they were all network timeouts specifically - are they?
I'm not sure what "configuration hidden issue" is suggesting - if there's an issue we need to debug and identify it as I can't tell what's wrogn at the moment :-)

We need to know what operations in particular are getting stuck to be able to debug this further

The following tests are failing on test-macincloud-macos1010-3-XJ but pass on test-macincloud-macos1010-1
java/util/prefs/AddNodeChangeListener.java.AddNodeChangeListener
java/util/prefs/CheckUserPrefsStorage.sh.CheckUserPrefsStorage
java/util/prefs/RemoveReadOnlyNode.java.RemoveReadOnlyNode
java/util/prefs/RemoveUnregedListener.java.RemoveUnregedListener

The prefs tests are the same ones as were failing here: https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8079418.  The underlying issue there was user permissions - but also that is now 'resolved'.

NOTE: mac machine has been renamed from test-macincloud-macos1010-3-XJ to test-macstadium-macos1010-1-XJ as the hosting provider was incorrect

@sxa555 can I close this as the machine has been deleted (https://github.com/AdoptOpenJDK/openjdk-infrastructure/issues/849)

@gdams No this should be kept open as this covers issues with more than just the macos machine (Thanks for not leaving this closed @karianna)
@sophia-guo @lumpfish As per earlier question are the failures on the s390x box all network timeouts? We need to get this understood and resolved as it seems to be the cause of a lot of zLinux slowness at the moment. Can someone who understands the test suite determine what specific operations are hanging on the machine?

I'm going to abort #13 on https://ci.adoptopenjdk.net/job/Test_openjdk8_j9_sanity.openjdk_s390x_linux/13/ for now so I can quiesce test-marist-ubuntu1604-s390x-2-XJ and see if there are any processes left around.

Answer: lots
jenkins.maristXJ.log.gz
Here is a samsnippet of the ps listing with the July 29th stuck processes - 19 of them of which 16 were from a base openjdktest run:
sxa@x220t:~$ gzip -cd jenkins.maristXJ.log.gz | grep Jun29 | cut -c-200 | grep openjdktest_s
jenkins  48465  0.0  0.2 2089944 23408 ?       SLl  Jun29   0:40 /home/jenkins/workspace/openjdk8_j9_openjdktest_s390x_linux/openjdkbinary/j2sdk-image/jre/bin/java -Djava.security.policy=/home/jenkins
jenkins  48514  0.0  0.2 2089944 23292 ?       SLl  Jun29   0:41 /home/jenkins/workspace/openjdk8_j9_openjdktest_s390x_linux/openjdkbinary/j2sdk-image/jre/bin/java -Djava.security.policy=/home/jenkins
jenkins  50493  0.0  0.2 2089944 22380 ?       SLl  Jun29   0:41 /home/jenkins/workspace/openjdk8_j9_openjdktest_s390x_linux/openjdkbinary/j2sdk-image/jre/bin/java -Djava.security.policy=/home/jenkins
jenkins  51539  0.0  0.2 2089944 23072 ?       SLl  Jun29   0:42 /home/jenkins/workspace/openjdk8_j9_openjdktest_s390x_linux/openjdkbinary/j2sdk-image/jre/bin/java -Djava.security.policy=/home/jenkins
jenkins  52199  0.0  0.2 2089944 23136 ?       SLl  Jun29   0:40 /home/jenkins/workspace/openjdk8_j9_openjdktest_s390x_linux/openjdkbinary/j2sdk-image/jre/bin/java -Djava.security.policy=/home/jenkins
jenkins  53244  0.0  0.2 2089944 23664 ?       SLl  Jun29   0:42 /home/jenkins/workspace/openjdk8_j9_openjdktest_s390x_linux/openjdkbinary/j2sdk-image/jre/bin/java -Djava.security.policy=/home/jenkins
jenkins  54032  0.0  0.2 2089944 23556 ?       SLl  Jun29   0:41 /home/jenkins/workspace/openjdk8_j9_openjdktest_s390x_linux/openjdkbinary/j2sdk-image/jre/bin/java -Djava.security.policy=/home/jenkins
jenkins  55486  0.0  0.1 2090200 14856 ?       SLl  Jun29   0:41 /home/jenkins/workspace/openjdk8_j9_openjdktest_s390x_linux/openjdkbinary/j2sdk-image/jre/bin/java -Djava.security.policy=/home/jenkins
jenkins  56161  0.0  0.2 2089944 22812 ?       SLl  Jun29   0:42 /home/jenkins/workspace/openjdk8_j9_openjdktest_s390x_linux/openjdkbinary/j2sdk-image/jre/bin/java -Djava.security.policy=/home/jenkins
jenkins  57244  0.0  0.2 2089944 22720 ?       SLl  Jun29   0:37 /home/jenkins/workspace/openjdk8_j9_openjdktest_s390x_linux/openjdkbinary/j2sdk-image/jre/bin/java -Djava.security.policy=/home/jenkins
jenkins  57923  0.0  0.2 2089944 22852 ?       SLl  Jun29   0:41 /home/jenkins/workspace/openjdk8_j9_openjdktest_s390x_linux/openjdkbinary/j2sdk-image/jre/bin/java -Djava.security.policy=/home/jenkins
jenkins  59612  0.0  0.1 2089944 14888 ?       SLl  Jun29   0:38 /home/jenkins/workspace/openjdk8_j9_openjdktest_s390x_linux/openjdkbinary/j2sdk-image/jre/bin/java -Djava.security.policy=/home/jenkins
jenkins  61204  0.0  0.1 2089944 14600 ?       SLl  Jun29   0:40 /home/jenkins/workspace/openjdk8_j9_openjdktest_s390x_linux/openjdkbinary/j2sdk-image/jre/bin/java -Djava.security.policy=/home/jenkins
jenkins  62194  0.0  0.1 2089944 14836 ?       SLl  Jun29   0:39 /home/jenkins/workspace/openjdk8_j9_openjdktest_s390x_linux/openjdkbinary/j2sdk-image/jre/bin/java -Djava.security.policy=/home/jenkins
jenkins  63804  0.0  0.1 2090200 14640 ?       SLl  Jun29   0:41 /home/jenkins/workspace/openjdk8_j9_openjdktest_s390x_linux/openjdkbinary/j2sdk-image/jre/bin/java -Djava.security.policy=/home/jenkins
jenkins  64710  0.0  0.1 2089944 14556 ?       SLl  Jun29   0:42 /home/jenkins/workspace/openjdk8_j9_openjdktest_s390x_linux/openjdkbinary/j2sdk-image/jre/bin/java -Djava.security.policy=/home/jenkins

I have cleared out the processes (close to 100 of them), re-enabled the executor and https://ci.adoptopenjdk.net/job/Test_openjdk13_j9_sanity.system_s390x_linux/7/ is the first job to get scheduled on it

Hmm, processes from back on Jun29.
Possibly related:
https://github.com/AdoptOpenJDK/openjdk-tests/issues/1071
https://github.com/AdoptOpenJDK/openjdk-tests/issues/1051

Yeah Jun29 was just me attempting to show a sample snapshot from a random day :-)

@sxa555 For JDK tests yes, almost all failing tests (around 110)  are rmi, nio, net group. The error message is either ' timeout ' or 'Cannot assign requested address' (which is assign a network address).  https://ci.adoptopenjdk.net/view/Test_openjdk/job/Test_openjdk8_hs_sanity.openjdk_s390x_linux/17/#showFailuresLink

SInce the original Marist machines have now been decomissioned, both -XJ machines that this issue refers to are no longer in the test machine set, therefore closing


Update dev-tools.md with more vim details

The vim section said you could either move backups or disable them but didn't give information on how to disable them.
This adds instructions on how to do that and reformats that section a bit.

Thanks for the PR @ryanolsonx. There were couple of minor edits that had to be done to make this PR pass. Since we didn't have those instructions documented in the contribution docs, I've made those changes in https://github.com/ember-learn/cli-guides/pull/131 which includes your original commit.

Thanks!


Fixed updating of matplotlib ErrorBars

It seems some recent version of matplotlib (probably 2.0) changed the API for updating ErrorBars. We should probably pin matplotlib version > 2.0 in the release.

Tests passing.


feat: remove cloud and login on import

What existing issue does this pull request close?
Deprecate cloud from dq https://app.shortcut.com/galileo/story/10812/dq-deprecate-cloud-from-dq?vc_group_by=day&ct_workflow=all&cf_workflow=500000005
Do not require login on dq import https://app.shortcut.com/galileo/story/10813/dq-do-not-require-login-on-dq-import
Demonstration
After:
>>> import dataquality as dq
>>> dq.login()
Welcome to Galileo 1.5.0!
To skip this prompt in the future, set the following environment variable: GALILEO_CONSOLE_URL
🔭 Enter the url of your Galileo console
console.dev.rungalileo.io
📡 https://console.dev.rungalileo.io
🔭 Logging you into Galileo

Go to https://console.dev.rungalileo.io/get-token to generate a new API Key
🔐 Enter your API Key:
🚀 You're logged in to Galileo as<EMAIL_ADDRESS>
>>> exit()
(.venv) elliottchartock@Elliotts-MacBook-Pro dataquality % python
Python 3.9.6 (default, Feb 15 2022, 16:41:37)

>>> import dataquality as dq
>>> dq.login()
✅ Already logged in as<EMAIL_ADDRESS>Use logout() if you want to change users

Before:
>>> import dataquality as dq
Welcome to Galileo Cloud 1.4.2!
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/elliottchartock/Code/dataquality/dataquality/__init__.py", line 39, in <module>
    import dataquality.core._config
  File "/Users/elliottchartock/Code/dataquality/dataquality/core/__init__.py", line 6, in <module>
    from dataquality.analytics import Analytics
  File "/Users/elliottchartock/Code/dataquality/dataquality/analytics.py", line 10, in <module>
    from dataquality.clients.api import ApiClient
  File "/Users/elliottchartock/Code/dataquality/dataquality/clients/api.py", line 12, in <module>
    from dataquality.core._config import config
  File "/Users/elliottchartock/Code/dataquality/dataquality/core/_config.py", line 254, in <module>
    config = set_config()
  File "/Users/elliottchartock/Code/dataquality/dataquality/core/_config.py", line 240, in set_config
    set_platform_urls(console_url_str=console_url)
  File "/Users/elliottchartock/Code/dataquality/dataquality/core/_config.py", line 121, in set_platform_urls
    _validate_api_url(console_url_str, api_url)
  File "/Users/elliottchartock/Code/dataquality/dataquality/core/_config.py", line 140, in _validate_api_url
    raise GalileoException(err_detail.format(err=str(e))) from None
dataquality.exceptions.GalileoException: The provided console URL https://console.cloud.rungalileo.io is invalid or is not currently available. If you are sure this is correct, reach out to your admin.

To change your console url, run:
`os.environ['GALILEO_CONSOLE_URL']='URL'` and then
`dq.configure()`

Detail: HTTPSConnectionPool(host='api.cloud.rungalileo.io', port=443): Max retries exceeded with url: /healthcheck (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x10c3af0a0>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known'))

Other info
Pin opencv version, <IP_ADDRESS> introduced typing issues  https://pypi.org/project/opencv-python/#history

Codecov Report
Attention: 9 lines in your changes are missing coverage. Please review.

Comparison is base (a30ca91) 86.57% compared to head (726a02d) 86.44%.

Files
Patch %
Lines

dataquality/core/auth.py
28.57%
5 Missing :warning:

dataquality/core/_config.py
60.00%
4 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #823      +/-   ##
==========================================
- Coverage   86.57%   86.44%   -0.13%
==========================================
  Files         196      194       -2
  Lines       15784    15738      -46
==========================================
- Hits        13665    13605      -60
- Misses       2119     2133      +14

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

https://app.shortcut.com/galileo/story/10812/dq-deprecate-cloud-from-dq

https://app.shortcut.com/galileo/story/10813/dq-do-not-require-login-on-dq-import


Allow Github Actions to be retriggered manually if needed

Issue #, if available:
Description of changes:

Allow Github Actions to be retriggered manually if needed

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Thanks I was just going to open the PR for this, saw you already have it covered :)

Any reason to not mirror Karpenter here? https://github.com/aws/karpenter/blob/main/.github/workflows/ci.yaml#L2

Any reason to not mirror Karpenter here? https://github.com/aws/karpenter/blob/main/.github/workflows/ci.yaml#L2

I will look into mirroring this here.

We could look into it here: https://docs.github.com/en/actions/learn-github-actions/reusing-workflows#access-to-reusable-workflows


Add CurateRecord to/from ROF translators

These translators let us continue to load/save things in rof format, but
use the CurateRecord format internally.

Those files look empty since there is no diff on them. I changed the file permissions by removing the execute bit.


Flaky crash in dart2js test: co19_2/Language/Types/Interface_Types/subtype_t27

co19_2/Language/Types/Interface_Types/subtype_t27 crashes on CQ and CI, but not always.
This seems flaky, because it failed on one build and succeeded on another using the exact same files:
https://ci.chromium.org/p/dart/builders/luci.dart.try/dart2js-strong-hostasserts-linux-ia32-d8-try/2505
https://ci.chromium.org/p/dart/builders/luci.dart.try/dart2js-strong-hostasserts-linux-ia32-d8-try/2506
@johnniwinther
Log: https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket.appspot.com/8936148353132565088/+/steps/dart2js_co19_2_tests_shard_4/0/stdout
FAILED: dart2js-d8 release_ia32 co19_2/Language/Types/Interface_Types/subtype_t27
Expected: Pass
Actual: Crash
Unexpected compile error.
--- Command "dart2js" (took 14.000260s):
DART_CONFIGURATION=ReleaseIA32 sdk/bin/dart2js_developer --sync-async --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/tests/co19_2/src/Language/Types/Interface_Types/subtype_t27.dart --out=/b/s/w/ir/out/ReleaseIA32/generated_compilations/dart2js/tests_co19_2_src_Language_Types_Interface_Types_subtype_t27/out.js
exit code:
-10
stdout:
tests/co19_2/src/Language/Types/Interface_Types/subtype_t27.dart:
Internal Error: The compiler crashed when compiling this element.
The compiler is broken.
When compiling the above element, the compiler crashed. It is not
possible to tell if this is caused by a problem in your program or
not. Regardless, the compiler should not crash.
The Dart team would greatly appreciate if you would take a moment to
report this problem at http://dartbug.com/new.
Please include the following information:
* the name and version of your operating system,
* the Dart SDK build number (build number could not be determined), and
* the entire message you see here (including the full stack trace
  below as well as the source location above).
The compiler crashed: Stack Overflow
#0      CompilerDiagnosticReporter.onError (file:///b/s/w/ir/pkg/compiler/lib/src/compiler.dart:886:5)
#1      Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/pkg/compiler/lib/src/compiler.dart:217:46)
#2      _RootZone.runUnary (dart:async/zone.dart:1379:54)
#3      _FutureListener.handleError (dart:async/future_impl.dart:147:20)
#4      Future._propagateToListeners.handleError (dart:async/future_impl.dart:654:47)
#5      Future._propagateToListeners (dart:async/future_impl.dart:675:24)
#6      Future._completeError (dart:async/future_impl.dart:494:5)
#7      _SyncCompleter._completeError (dart:async/future_impl.dart:55:12)
#8      _Completer.completeError (dart:async/future_impl.dart:27:5)
#9      _AsyncAwaitCompleter.completeError (dart:async/runtime/libasync_patch.dart:40:18)
#10     Compiler.runInternal (file:///b/s/w/ir/pkg/compiler/lib/src/compiler.dart)
#11     _FutureListener.handleValue (dart:async/future_impl.dart:778:23761)
#12     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#13     Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#14     Future._complete (dart:async/future_impl.dart:476:7)
#15     _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#16     _AsyncAwaitCompleter.complete (dart:async/runtime/libasync_patch.dart:28:18)
#17     _completeOnAsyncReturn (dart:async/runtime/libasync_patch.dart:295:13)
#18     LibraryLoaderTask.loadLibraries.<anonymous closure> (file:///b/s/w/ir/pkg/compiler/lib/src/library_loader.dart)
#19     _FutureListener.handleValue (dart:async/future_impl.dart:778:23761)
#20     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#21     Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#22     Future._complete (dart:async/future_impl.dart:476:7)
#23     _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#24     _AsyncAwaitCompleter.complete (dart:async/runtime/libasync_patch.dart:28:18)
#25     _completeOnAsyncReturn (dart:async/runtime/libasync_patch.dart:295:13)
#26     compile (package:front_end/src/api_unstable/dart2js.dart)
#27     _FutureListener.handleValue (dart:async/future_impl.dart:778:23761)
#28     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#29     Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#30     Future._complete (dart:async/future_impl.dart:476:7)
#31     _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#32     _AsyncAwaitCompleter.complete (dart:async/runtime/libasync_patch.dart:28:18)
#33     _completeOnAsyncReturn (dart:async/runtime/libasync_patch.dart:295:13)
#34     compile.<anonymous closure> (package:front_end/src/api_unstable/dart2js.dart)
#35     _asyncThenWrapperHelper.<anonymous closure> (dart:async/runtime/libasync_patch.dart:77:64)
#36     _rootRunUnary (dart:async/zone.dart:1132:38)
#37     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#38     _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#39     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#40     Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#41     Future._complete (dart:async/future_impl.dart:476:7)
...
...
#104    _asyncThenWrapperHelper.<anonymous closure> (dart:async/runtime/libasync_patch.dart:77:64)
#105    _rootRunUnary (dart:async/zone.dart:1132:38)
#106    _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#107    _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#108    Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#109    Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#110    Future._complete (dart:async/future_impl.dart:476:7)
#111    _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#112    _AsyncAwaitCompleter.complete (dart:async/runtime/libasync_patch.dart:28:18)
#113    _completeOnAsyncReturn (dart:async/runtime/libasync_patch.dart:295:13)
#114    Loader.buildBodies (package:front_end/src/fasta/loader.dart)
#115    _asyncThenWrapperHelper.<anonymous closure> (dart:async/runtime/libasync_patch.dart:77:64)
#116    _rootRunUnary (dart:async/zone.dart:1132:38)
#117    _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#118    _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#119    Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#120    Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#121    Future._complete (dart:async/future_impl.dart:476:7)
#122    _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#123    _AsyncAwaitCompleter.complete (dart:async/runtime/libasync_patch.dart:28:18)
#124    _completeOnAsyncReturn (dart:async/runtime/libasync_patch.dart:295:13)
#125    SourceLoader.buildBody (package:front_end/src/fasta/source/source_loader.dart)
#126    _asyncThenWrapperHelper.<anonymous closure> (dart:async/runtime/libasync_patch.dart:77:64)
#127    _rootRunUnary (dart:async/zone.dart:1132:38)
#128    _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#129    _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#130    Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#131    Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#132    Future._complete (dart:async/future_impl.dart:476:7)
#133    _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#134    _AsyncAwaitCompleter.complete.<anonymous closure> (dart:async/runtime/libasync_patch.dart:33:20)
#135    _rootRun (dart:async/zone.dart:1124:13)
#136    _CustomZone.run (dart:async/zone.dart:1021:19)
#137    _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:947:23)
#138    _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#139    _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#140    _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13)
#141    _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5)
--- Re-run this test:
python tools/test.py -m release -r d8 -a ia32 -n dart2js-hostasserts-linux-ia32-d8 --output-directory /b/s/w/ioLAILxa --dart2js-batch co19_2/Language/Types/Interface_Types/subtype_t27

It was already marked as Crash in the status file for $compiler != d8, so it "flakily succeeds" on d8, but mostly fails on everything else.

Thanks for filing.
The test creates a very deep type hierarchy that stresses the recursive nature of the compiler. I don't believe this is high priority to fix right now, so I'm preemptively closing this issue as working as intended. We'll use the status file to track status of the test itself.


Extract entities from text

Need an efficient way to extract entities from text.

Should we use spaCy NER? or do you have another idea in mind? @jbesomi

Implemented, see here: nlp.py. What is left done is do adding documentation.

@jbesomi Close the issue then.


Lazy load implementation

I would like to implement a lazy loading for my images in my simplebar content with angular.
I didn't find anything about that in the documentation and I have no idea how to do that.
I would like my images to load only when in the viewport, has anyone ever done this?
Thank you :)

Hi!
You should use the Intersection Observer API. This should be straight forward to implement, basically you should set the src value of your image only when the viewport gets close to the image.
However I think this is pretty much unrelated to SimpleBar since it should work exactly the same with or without SimpleBar. That's why there is no documentation for it.
I'm closing this for now then! good luck
Hope that helps!


AttributeError: module 'pip' has no attribute 'locations'

The Pyang Validation section return the error:
Traceback (most recent call last):
pyang", line 444, in
run()
pyang", line 219, in run
repos = pyang.FileRepository(path, no_path_recurse=o.no_path_recurse)
init.py", line 408, in init
location = pip.locations.distutils_scheme('pyang')
AttributeError: 'module' object has no attribute 'locations'
To fix the same problem on my own version of pyang, I have commented out the following section in init.py.
'''
import pkgutil
if not pkgutil.find_loader('pip'):
return  # abort search if pip is not installed
import pip
location = pip.locations.distutils_scheme('pyang')
self.dirs.append(os.path.join(location['data'],
'share','yang','modules'))
'''

This is not an issue any more

I have got same issue and have to comment those lines out. @miroslavKovacPantheon What did you do to fix the problem?

@ftianf this project was update using Django and different version of pyang. This bug was not directly from this project but from pyang module instead. So once the project got updated this bug was invalid for our project.
Anyway I did some digging and found what they did. It seems that there is a problem with different versions of pip. What pip version are you using? Here is the code what they did although it s more of a heck then correct fix:
            # hack below to handle pip 10 internals
            # if someone knows pip and how to fix this, it would be great!
            location = None
            try:
                import pip.locations as locations
                location = locations.distutils_scheme('pyang')
            except:
                try:
                    import pip._internal.locations as locations
                    location = locations.distutils_scheme('pyang')
                except:
                    pass
            if location is not None:
                self.dirs.append(os.path.join(location['data'],
                                              'share','yang','modules'))


IDB does not connect to device

I am attempting to connect to an Jailbroken device (iPhone 10.3.1 G0blin) but IDB never connects. Please advice. Thanks in advance
xxxx-mbp:~ xxxx$ idb
/Users/xxxx/.rvm/gems/ruby-2.4.1/gems/plist4r-1.2.2/lib/plist4r/mixin/data_methods.rb:13: warning: constant ::Fixnum is deprecated
/Users/xxxx/.rvm/gems/ruby-2.4.1/gems/plist4r-1.2.2/lib/plist4r/mixin/data_methods.rb:16: warning: constant ::Fixnum is deprecated
/Users/xxxx/.rvm/gems/ruby-2.4.1/gems/plist4r-1.2.2/lib/plist4r/mixin/data_methods.rb:20: warning: constant ::Fixnum is deprecated
/Users/xxxx/.idb/tmp/
[INFO] 2018-03-08 20:41:20 :: idb ::  Loading configuration from /Users/xxxx/.idb/settings.yml
QLayout: Cannot add null widget to QGridLayout/
QLayout: Cannot add null widget to QGridLayout/
[DEBUG] 2018-03-08 20:41:29 :: idb ::  Connecting via USB
[DEBUG] 2018-03-08 20:41:29 :: idb ::  Using port 54200 for SSH forwarding
[INFO] 2018-03-08 20:41:29 :: idb ::  Launching SSH proxy on port 54200
waiting for connection
[INFO] 2018-03-08 20:41:30 :: idb ::  Establishing SSH Session for root@localhost:54200
accepted connection, fd = 4
waiting for connection
Number of available devices == 1
Requesting connecion to device handle == 2 (serial: 65dxxx73953xxxxxxxxxxxxxc0a), port 22
run_ctos_loop: fd = 4
run_stoc_loop: fd = 4

This issue has been solved. IDB was unable to connect since g0blin does not have SSH on the standard port 22. Instead this jailbreak installs dropbear and uses port 2222 for SSH. The issue was resolved by configuring IDB to use 2222 instead of 22.


Refresh Space Activity 1

This is the markdown for the first tutorial in the Space skillmap.
Should be good to go.  Still some question about whether the image/gif is referenced properly.

some small tweaks, you can click "Commit suggestion" to directly apply the fixes. otherwise looks good to me!


update build script with private docker registry

Refer to this link for build results (access rights to CI server needed):
https://jenkins.bigswitch.com/job/openstack_horizon_bsn_pull_req/87/


db.query does not always return array

Hi,
I have observed the following behavior :
When using db.query, if the Cypher return 1 single element, the callback of db.query doesnt return an array.
When using db.query, if the Cypher return several elements, the callback of db.query return  an array.
Am I right?
Or am I missing an option that force the result to be array.
It is probably "by desgin" but I though the doc should reflect this!
Or the result could always be an array even if its an array of 1 element!

That's right. The docs should better show that. Ideally I'd actually like to make it consistent so that it's always an array, but it's a breaking change for people already consuming the API as it is. I'll keep this issue open as an issue to fix the docs.

Thanks,
In my project, i lazily made it consistent by adding a function "db.queryArray" which basically runs db.query and put the result in an array when needed. This way I don't break any of the modules I use on top of Seraph.
I also wanted to grab the opportunity to say how great your work is. I really look up to people who like yourself take time to produce and maintain open tools for the community.
You ARE a hero in my honest opinion.

Hello, @HugoCornu!
Can you please explain how you inspect result to be single object vs array

This is a pretty good way:
db.query("", function(err, result) {
if (Array.isArray(result) {
//it's an array
} else {
//it's one object
}
});

thank you, @jonpacker, a lot!
it is working.


Unable to view diff of notebook ouputs

Run the following cell

import ipywidgets as widgets
from IPython.display import display
display(widgets.IntSlider(value=90, min=0, max=500))

Stage the notebook
Make changes to the values from 90 to 50 or the like
Run again and view the diff

Problems

Unable to view any output
Note how the </> icon is outside the cell container

@rebornix /cc

Other issues

The </> icon does not line up with the output items
Some times the </> is displayed out of the cell border (thats because the output hasn't been rendered, hence height of output is 0)

Easy way to repro, render slider widget, then stage it, then render widget slider widget again with changes to slider values

Duplicate of https://github.com/microsoft/vscode/issues/225742 & https://github.com/microsoft/vscode/issues/227659


258: Embed video native

Short description
I decided to split up this issue to web and native, since it was more effort than expected.
In this pr i implemented an opt-in section in settings to manage external sources for iframes. Since we may have more sources in future, the sources are easily extendible via buildConfig.
Important: This issue is about embedding external video sources via iframe (vimeo, youtube, etc), not making html videos working (external sources blocked by csp and video upload restricted by cms)
Proposed changes

if no permissions to external sources are set (initial state) show a opt-in with a checkbox to allow this external source
all permission to external sources can be managed in a separate settings section to withdraw or allow a permission again

Side effects

hopefully none. please proper test internal/external and deep links on ios and android

Testing

go to http://localhost:9000/testumgebung/de/video-test-verschiedene-sources
to get the initial unset permission state again, just copy this into RemoteContent
appSettings.setExternalSourcePermissions([]).catch(reportError)
you can just add several more source in build-config f.e.
whiteListedIframeSources: ['vimeo', 'youtube', 'tagesschau'],

Note: For web i will create a separate issue using cookies

Super cool, thank you! That must have been so much work! I wonder if we should turn the blocked content into a link in case a user wants to watch it anyway. What do you think? Tested on real iOS

Hm not sure if we want to do that. Any opinions?

Since this was getting too messy i created a new pr only with native changes here @steffenkleinle and @LeandraH
Gonna close this


Runner#fail is getting executed with an instance of Pending

code smell: https://github.com/mochajs/mocha/pull/946#issuecomment-227715287
https://github.com/mochajs/mocha/blob/8a37e016e5629b46709891740c74d5f0b69929e0/lib/runner.js#L221-L234

The test shouldn't be marked as failed when the thrown Error is what we use to indicate a Pending test.

Re. https://github.com/mochajs/mocha/pull/2335#issuecomment-228910822: we also have #2228 re. the relationship of Pending and Error. However, merely changing Pending to extend Error would in this case presumably result in it being processed through the fail function as though it were a regular error, which wouldn't be correct either... am I right about that?

Oh, hm.  Well, Pending isn't a failure, but it is intended to abort the test.  I don't think it should be marked "failed", but as long as reporters don't know about it, I don't see it being a urgent issue, right?

I hadn't seen #2228 – thanks for the ref, @ScottFreeCode!
Not urgent, but I'm somewhat curious about this one.

@dasilvacontin Runner.prototype.fail() doesn't seem to actually get executed when something is skipped via this.skip().  Did you observe this?

Yes, in my trivial async skip example. Or at least I did get the exception when I wrote the comment.

On 01 Jul 2016, at 08:41, Christopher Hiller<EMAIL_ADDRESS>wrote:
@dasilvacontin Runner.prototype.fail() doesn't seem to actually get executed when something is skipped via this.skip(). Did you observe this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


Load Balancer refers to public documentation

The Load Balancer section refers to the public load balancer documentation, however, the Standard SKU is not currently supported in US Government. Can the documentation be updated to reflect this? In more general terms, when feature parity is not available in US Government is there an opportunity to reflect the specifics that may not be available in US Government?

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

ID: 9d6b9dfb-6a41-50b3-3717-ca8eba6ee2bd
Version Independent ID: 5851c1f2-bc90-d4ad-7e2f-7cf64a6a54c5
Content: Azure Government Networking
Content Source: articles/azure-government/documentation-government-networking.md
Service: azure-government
GitHub Login: @jawalte
Microsoft Alias: jawalte

@codyrat Thanks for bringing this to our attention. Your feedback has been shared with the content owner for further review.
assigning to @gsacavdm for now as I am unable to resolve+assign to @jawalte in GitHub.

Updated the doc to reflect the gap with regards to Load Balancer standard.]
Thanks for calling this out @codyrat .
@femsulu , can you please close this issue.

Ping @femsulu , please close this issue.


chore: missing devdep, upgrade to lodash 4

i know it's kind of weird to send PR to you rather than @cowboy..
but hey, i'm just my merging cowboy/node-globule#27 with your cowboy/node-globule#26
since @cowboy dont respond at all, it makes sense for me to send PR here.
hope this doesn't brother you

@zhuangya Need to keep the tilde-based selectors, unless the 0.8 node engine requirement is removed.

@zhuangya Need to keep the tilde-based selectors, unless the 0.8 node engine requirement is removed.

alright, closing.


Map two JSON properties to the same attribute

I have a JSON object that can come in one of two formats. Sometimes the property is called notes other times it is called text. In either case it refers to the same property of my Swift struct.
{
  ...
  "notes": "bearing, range, and Doppler "
}

or
{
  ...
  "text": "bearing, range, and Doppler "
}

The below code does not compile, Cannot convert value of type '(text: String?) -> Data' to expected argument type '(_) -> _'.
struct Data: Decodable {
  let text: String?

  static func decode(json: JSON) -> Decoded<Data> {
    return curry(Data.init) <^> ((json <| "text") <|> (json <|? "notes"))
  }
}

I really thought that would have been the syntax. Any suggestions?

I also have tried this: <^> (json <| "text") <|> (json <| "notes") <|> pure(Optional<String>.None) to no avail. Same compiler error as above.

I finally got it! <^> Decoded.Success(((json <| "text") <|> (json <| "notes")).value).
Is this the most idiomatic solution to the problem?

I almost feel bad for giving you the answer, because you were so close! You actually have a bit of extra syntax, and we have a helper function available for making a property optional:
<^> .optional((json <| "text") <|> (json <| "notes"))

This should work the way you expect.

Gah! You were right I was so close. Thank you for the help though.

My pleasure, glad you got it working!


testcase verifies schedule backup creation with a single namespace

What this PR does / why we need it:
Testcase to create schedule backup with a single namespace
Which issue(s) this PR fixes (optional)
Closes # https://portworx.atlassian.net/browse/PA-501
Special notes for your reviewer:
http://aetos.pwx.purestorage.com/resultSet/testSetID/87312

In general, when you are using log.InfoD it adds a log to dashboard, we need to make sure we are pushing only useful information to InfoD. You can push the cluster uuid and stuff but make sure it is not very generic info. For all genric info use log.Info it will log to logger and not push to dashboard.

Thanks for your review. I've modified few things. Kindly review again.


Install and Launch instructions

I'm working on getting this to work on a P Zero-W using Raspbian Lite and wanted to capture issues and approach.
I'm currently stuck on how to run the scripts.  I changed the permissions to allow to 711 but am stuck from there.
Here's the instructions I have so far.
To make troubleshooting easier, I'm working an approach that connects to an HDMI monitor fist, get it working and then connect to an analog display once the basics are working.  I expect there may be many who would like to get this running but don't have an analog display available.
Download and open Raspberry Pi Imager to Windows desktop to provision microSD card with OS

Insert MicroSD Card
Click the Operating System button to select an OS
Select Raspberry PI OS Lite (32-bit)
Click on Storage Button to select the MicroSD
Configure System Settings via the Imager GUI Settings button
Set the hostname
Enable SSH
Set Username and Password
Configure WIFI (only supports DHCP)

Plug in a monitor and keyboard or connect via SSH
Log In
Update the OS and Install Git

Sudo apt-get update
sudo apt-get upgrade
sudo apt-get install git
git clone https://github.com/jeffjetton/retrofeed
cd retrofeed
chmod 711 *.py //Change permissions so the scripts run

These are Python scripts rather than shell scripts, so you can skip the chmod step. Then just tell Python to run the main script:
'python retrofeed.py'

Thanks!    I'll keep editing the initial question as I run into things with the fixes.  Hopefully this will help someone else.

Thank you for putting these instructions together!


[Service Bus] Thread safety on sender/receiver

context: service bus sender/receiver is not thread safe, which will result in race condition when run in parallel execution, and the internal status would be corrupted
question: do we want our sender/receiver to be thread safe?

if yes, then we should fix it

concern for thread safety

performance
sdk implementation guideline? e.g. in general, we don't guarantee thread-safety

if no, then we'd better document it

to sum up, in general our SDK should be thread safe, which means we need thread safety on our service bus sender and receiver.
scopes

thread safe sync sender and receiver
concurrency safe async sender and receiver

Hi, we are using azure-servicebus as part of our FastAPI+uvicorn application, and are affected by this. A short documentation about thread-safety would be very appreciated, especially since [1] suggests that the SDK actually is thread-safe:

The following note applies to all SDKs:
Establishing a connection is an expensive operation that you can avoid by reusing the same factory or client objects for multiple operations. You can safely use these client objects for concurrent asynchronous operations and from multiple threads.

[1] https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-performance-improvements?tabs=net-standard-sdk-2#reusing-factories-and-clients
(I'm aware by now that the referenced page seems to only apply to .NET, but it isn't obvious if you're on it)

Hi I wonder do we have a conclusion about this thread? Do users need to take care of race conditions when using sender/receiver concurrently?

Hi @QianYC - This library is not thread-safe currently, so you will need to consider race conditions. Thanks.


Use valve's color pattern for KDA

From Hero Stats in dota game client.

@blukai is this ok with you?

I don't think so. Kill - drew blood => red, death - waiting => gray, assist - help => green. This makes some logic. 🦄

Not really.  You see a lot of reds on your overview page? Bad for you.
This is the same as valve's color pattern from the "player hero stats" in-game.

Any other input?
@mike-robertson
@nicholashh
@albertcui
I'm fine with it either way.

input from @mike-robertson is that assists should be blue or something other "positive" color.  We can tweak it later.


[ENH] Upgrade _has_capability to work for both classes and objects

This PR contains an upgrade of _has_capability that works with classes as well as estimator instances.

duplicate of https://github.com/alan-turing-institute/sktime/pull/2322


Adding a site doesn't add the www.-variant as alias

Currently when adding a site without www., the www.-version of the URL is not added to the ingress. This renders the www.-version of the domain useless.
Suggested fix
When adding a new site, add the www.-version of the URL as an alias in the ingress annotations (https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/#server-alias). There also needs to be a from-to-www-redirect annotation set (https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/#redirect-fromto-www) and both URLs must be added as an entry under hosts, e.g.:
...
  - hosts:
    - site.openstad.org
    - www.site.openstad.org

@rudivanhierden the reason this is not turned on by default is that Wildcard subdomain DNS only allows for .domain, not www..domain. Therefore if this would be turned on the let's encrypt SSL certificate will fail te be created for subdomain unless for every site manually the www. DNS is added.
The ingress service does however has the possibility of adding www on a site basis. And in Admin panel there is a form for turning it on.
 if (addWww) {     domains.push('www.' + domain);   }
Also the www redirect is added by default, to every site regardless if www. variant is present in hosts or not.
        'nginx.ingress.kubernetes.io/from-to-www-redirect': "true",

Yeah also a bit confusing, some people state it's not allowed
"According to the RFC 6125, only a single wildcard is allowed in the most left fragment." I read. But I don't know if that means it depends on your provider, or DNS servers.

RFC 1034 is about DNS, RFC 6125 about checking certificates. Both issues will need to be addressed.

@nlsvgtr but that would mean that it's possible to create a DNS record .domain.com and www..domain.com. Then cert manager will just create a correct certificate. I just remember for instance transip didn't allow a wildcard DNS like this www.*


feat(helm): Use commandArgs for all command arguments and add dlv debug helm test

Merge after PR: https://github.com/metacontroller/metacontroller/pull/483 is merged to master

Hi @grzesuav , this PR is ready for review. Please let me know your feedback. Also, this has a breaking change. I included the BREAKING CHANGE footer in the commit message so hopefully it versions properly (first time committing a breaking change with semantic release for me).

@grzesuav Also, I created https://github.com/metacontroller/metacontroller/issues/509 for flakiness in the decorator controller integration test.

:tada: This PR is included in version 4.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Adding a line break after a Trait in a template argument list breaks emacs-mode indentation

 Issue by gsingh93
Friday Aug 22, 2014 at 01:25 GMT
For earlier discussion, see https://github.com/rust-lang/rust/issues/16665
This issue was labelled with: A-infrastructure in the Rust repository

I think this is a somewhat serious bug with emacs-mode, since I can't use the tab key for indentation inside a function block in many cases.
My code ends up with a long list of traits with bounds in the template argument list, and according to the style guide, I can wrap between traits. However, if I wrap between traits, identation is broken for the function. Consider the following example,
pub fn foo<T,
           V>() {
              // Indentation puts me here
}

As you can see, hitting tab inside the function idents too much. I should mention that I aligned the second template argument to match up with the first, as hitting tab there doesn't work either.

Okay, the problem is with (backward-up-list). When run in the first case:
pub fn test(...
	   |...) -> Test {
           ^ Point is here
}

it moves to
pub fn test|(...
	   ^ Point is here now
	     ...) -> Test {
}

However, when run with the ->, goes from
pub fn test(...)
	   |-> Test {
           ^ Point is here
}

to
pub fn test(...)
           |-> Test {
           ^ Point is here
}

As you can see, the point doesn't actually move at all. I'm working on some fixes.

This is now fixed? Another bug shows up:
fn test<A,
V>(_a: A, _v: V) {
^ The indentation starts here...
}

The second issue is one with (backward-up-list):
mod test |2| {
    fn test|3|<A,|1|
                V>() {

The cursor goes from |1| to |2|, when it should go from |1| to |3|.

To make backward-up-list go where it should, emacs would have to recognize the < and > angle brackets as parentheses in its syntax table.  In theory it's possible to do it perfectly, since rust's grammar does not require you to know the symbol table to make this distinction (unlike C++.)
I've been trying to get it to do just that recognizing angle brackets but not mistaking other < and > characters (return type arrows, match arrows, less than and greater than operators, etc).  At this point I have something that almost works.  Under normal circumstances it fixes this issue.  It also makes the normal paren matching modes work on them without the code to simulate it that's there now (taking care of #50 in the process.)
Unfortunately at this point there are still a few cases where it gets the angle bracket identification wrong.  The other problem with the patch as I currently have it is performance--on my machine, it makes emacs grind to a halt on even moderately large source files (at 7637 lines, src/librustc/middle/ty.rs from the rust tree is enough to make it freeze for minutes.)  If anyone is curious I can put it up as an incomplete work-in-progress PR, but it's not ready for merging yet.

Is this related to the following indentation problem, or should I make a new issue:
if true
        || false {
            // Wrong indentation
    }