PP-12100 Allow users to apply filters to their transaction search if it times out

Add new error for a ledger timeout on all services transactions search
Link from the error page to the all services transaction search page,  without the automatic search, to avoid a perpetual timeout
Refactor to share the code that populates the model
Update unit tests
Update cypress tests

with @DomBelcher and @nataliecarey

can you add a few screenshots to the PR demonstrating the new behaviour?

This is the error shown when a search times out:

And this is the view it links to when navigating back to the search page, with no search results


AMP doesn't work on preview links

Issue Summary
Adding /amp/ to the end of a preview link results in a 404.
Steps to Reproduce

Visit a preview link for a post and add /amp/ to the end.
https://example.com/p/abc123/amp/

Technical details:

Ghost Version: 0.10.0

I'm not sure if this is intended to work or not but it could be handy to view the AMP version of a post prior to publishing the post.

It was definitely not intended to work - meaning the code to handle amp on preview links doesn't exist (so it's not a bug necessarily). However, I'm not sure as to whether that was due to a direct decision or just an oversight.
/cc @AileenCGN

As explained, this was not intended to work. Feel free to raise this as a suggestion on ideas.ghost.org :)


chore: Bump studio to the latest image version 20241014

Bumps Studio to the latest version.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

0 of 0   changed or added relevant lines in 0 files are covered.
5 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.03%) to 60.211%

Files with Coverage Reduction
New Missed Lines
%

internal/gen/keys/keys.go
5
12.9%

Totals

Change from base Build<PHONE_NUMBER>8:
-0.03%

Covered Lines:
6516

Relevant Lines:
10822

💛  - Coveralls


Do something with bower assets

do something with files specified in main that are not compiled
don’t treat as assets assets-matching bower components (bootstrap/docs/assets/boostrap.js)

What's the latest on this front? It seems like some (most?) bower assets are being copied over from my admittedly limited experience. For Bootstrap though, I am having an issue with glyphicons-halflings-regular.woff2 specifically not being copied over (although the other glyphicons-halflings files are being copied over).

Believe NPM includes now supported. Might be a good alternative to Bower.
On Fri, Jun 5, 2015 at 2:58 PM Geoffrey Catto<EMAIL_ADDRESS>wrote:

What's the latest on this front? It seems like some (most?) bower assets
are being copied over from my admittedly limited experience. For Bootstrap
though, I am having an issue with glyphicons-halflings-regular.woff2
specifically not being copied over (although the other glyphicons-halflings
files are being copied over).
—
Reply to this email directly or view it on GitHub
https://github.com/brunch/brunch/issues/633#issuecomment-109421368.

See previous suggestions on symlinking for use with Bootstrap / FontAwesome
On Fri, Jun 5, 2015 at 3:13 PM Josh Habdas<EMAIL_ADDRESS>wrote:

Believe NPM includes now supported. Might be a good alternative to Bower.
On Fri, Jun 5, 2015 at 2:58 PM Geoffrey Catto<EMAIL_ADDRESS>wrote:

What's the latest on this front? It seems like some (most?) bower assets
are being copied over from my admittedly limited experience. For Bootstrap
though, I am having an issue with glyphicons-halflings-regular.woff2
specifically not being copied over (although the other glyphicons-halflings
files are being copied over).
—
Reply to this email directly or view it on GitHub
https://github.com/brunch/brunch/issues/633#issuecomment-109421368.

Hmmm yes, thanks! Apparently I did that already and totally forgot about it and that's why things are being copied over and a slight bug in what I did prevented it from getting all of the files. Go me! Nothing to see here...

I agree, it will be awesome to have some common solution with a simple brunch configuration. But I think it will be more than tricky. For example, I face this issue with angular-ui-grid component which has it fonts and svg files directly on root, foler! No folder font, neither assets...
bower.json:
{
  "name": "angular-ui-grid",
  "description": "A data grid for Angular",
  "main": [
    "./ui-grid.css",
    "./ui-grid.eot",
    "./ui-grid.js",
    "./ui-grid.svg",
    "./ui-grid.ttf",
    "./ui-grid.woff"
  ],...

@mathilde-pellerin - Did you ever figure out how to handle the fonts for Angular-ui-grid?  I'm dealing with the exact same issue right now.

When using phoenix (phoenixframework.org) and using brunch I tried to use the "material-design-iconic-font" bower package install (providing as dependency in bower.json, in my root phoenix project) but it didn't copied the fonts to the /static (brunch's path.public dir) So, I grabbed an existing plugin and modified it to work a little better and came up with this, I hope helps anyone out here :smile:
https://www.npmjs.com/package/copycat-brunch
just follow the readme.md examples :+1:

We are shutting our efforts of adding more bower features and suggest everyone to switch to NPM, which would be enabled by default in the next major Brunch release.

Thank you @cmelgarejo!! Your solution work beautifully!


Hyperion packaging request

Project description
Hyperion is an open source ambient light software. Hyperion is an opensource Bias or Ambient Lighting implementation which you might know from TV manufacturers. It supports many LED devices and video grabbers.
Metadata

homepage URL: https://docs.hyperion-project.org/
source URL: https://github.com/hyperion-project/hyperion.ng
license: MIT
platforms: Linux, Darwin, Windows

bump, maybe i will work on this one time since i am using it myself

@Split7fire and @breuerfelix would you mind checking this PR here if hyperion is working for you correctly?
https://github.com/NixOS/nixpkgs/pull/168897


fix: The union plugin I generated has no Android part

Description
A clear and concise description of what the bug is.
The union plugin I generated has no Android part
Steps To Reproduce
See error
Screenshots
If applicable, add screenshots to help explain your problem.

I also have a request, when I finish writing an interface, can I generate the interface of the corresponding platform

v0.15.0

Hi @CooolWolf thanks for opening an issue 💙 ! Sorry for the late reply 🙌 . Are you still able to reproduce this issue in the latest Very Good CLI version (0.21.0)?

Hey @CooolWolf  since this seems to be silent for a while, I am closing this for now. If anything comes up, don't hesitate on telling.


Add "Audiograph"

This project lets developer add accessibility to their charts for visually impaired users.
https://github.com/Tantalum73/Audiograph

Thanks!
Sent with GitHawk


Restructure entity view metamodel

Currently the entity view metamodel is kind of wrong and needs to be fixed. The structure of how it should be will be documented in the metamodel section of the documentation. We should adapt it to that design.
IdentifiableViewType should be removed and some methods from ManagedViewType have to be moved down to ViewType.
Actually we should also rename the EmbeddableViewType as it actually represents just a view that has no id. @Mobe91 have an idea for a name? I thought maybe FlatViewType or so. By the way, the @EmbeddableEntityView annotation will be removed as it's functionality can be modeled with a normal @EntityView after relaxing id requirements with #356

I would go with FlatViewType. Can't think of any better name.


Logging improvements

The ClientLogger API in azure-core should be improved to enable new features to be supported. The features we want to offer are:

Support for logging redaction: The ClientLogger API, as the central location for all logging activities in all Java client libraries, might benefit from having a pluggable API for string redaction, before the message is output into the console, output files, etc. For example, consumers do not want their secret keys, passwords, etc to be published into log files, where they could more easily end up in the wrong hands. One approach we could take would be to have a pluggable API (either an SPI or just a static method on ClientLogger) to register string redactors. Before any logging message is output, the string will run through all redactors. Ideally we could make this more performant by only having redactors execute if the logging message has come from that service in the first place.

Custom logging strategies: We should provide a plugin API that allows for client libraries to augment the default logging framework with additional strategies. For example, if a client library wishes to write all WARNING level logging information into a rotating log file, even in the absence of user configuration or opt-in, this strategy should be enabled by a custom plugin that can read all log messages as they flow through the ClientLogger.

To support these requirements, we might need to explore allowing for hierarchical loggers to be defined, so that the pluggable features for redaction and custom logging strategies do not need to be defined against every ClientLogger instance.

@JonathanGiles is going to investigate this for Preview 4 / Preview 5

For logging redaction, based on the .Net approach, I propose the following:
Where today our client builders offer a httpLogLevelDetail(HttpLogLevelDetail logLevel) method, we would remove this and replace it with a httpOptions(HttpOptions options) method. This would be a fluent API along the following lines:
public class HttpOptions {
    private HttpLogLevelDetail logLevel;
    private List<String> allowedHeaderNames;
    private List<String> allowedQueryParamNames;

   // set / get logLevel

   // set / get / add whitelisted names
}

We would then update the HttpLoggingPolicy to inspect these two lists and only output white listed values.

Thoughts on adding a Function that is able to process the response and return a logging level? Storage had functionality in previous clients that would escalate a logging level based on response time.

For completeness, we should have similar guidelines for AMQP too. Currently, we don't have any logging options made available to users in Event Hubs client builder. @conniey  and I will look into the communication metadata that are useful for logging and come up with a proposal for AMQP. (this should be applicable to Service Bus too).

What's the reason for having allowedHeaderNames instead of redactedHeaderNames? It seems like using a whitelist makes logging by default almost useless as everything will be redacted. We'd have to specify dozens of headers to log (probably 95%) instead of specifying that we don't want to publish just the auth header and the sig query parameter. Additionally, if customers have their own custom headers or query parameters, they'd have to go out of their way to make sure their logs are legible.

Additionally, there was a customer issue that requested what Alan mentioned--being able to log based on slow response times.

@rickle-msft The whitelist approach is the approach set out in the general track two guidelines here for all languages, for both headers and query params. It was designed this way from a security standpoint - it is not possible to feel comfortable as library developers that we won't accidentally leak sensitive information if we went with a blacklist approach.

The customer issue I mentioned is here. Ideally, we'd be able to meet their feature requests.

Closing this issue as #7636 and #11477 cover point 2 mentioned in the issue and point 1 has be resolved by the introduction of HttpLogOptions which allows configuring which headers and query parameters of a request/response are logged.


SARAALERT-596: System is not sending report on 14th day after Last Date of Exposure

Description
Jira Ticket: SARAALERT-596
This behavior has been reported by production users.
Demo/Test (Alex, 7/20:  Based on what I’ve seen, the system actually sends its final message on LDE+13. To test, I set up monitorees on Friday (7/17) with a LDE of 7/5. Based on the image above, we’d expect their last report to be sent on 7/19. For each of the monitorees, the system only sent reports on the 17th and 18th.

Demo:
https://demo.saraalert.org/patients/366 (SMS Text-message)
https://demo.saraalert.org/patients/365 (Email)
Test:
https://saraalert-test.mitre.org/patients/1164 (Email)

(Bugfix) How to Replicate
This was easiest to replicate by creating an additional test case based on the condition that the last date of exposure was 14 days ago and the latest assessment was within the past 7 days
(Bugfix) Solution
Just needed to add an extra day on top of the value of ADMIN_OPTIONS['monitoring_period_days']
Important Changes
close_subjects_job.rb

added an extra day on top of the value of ADMIN_OPTIONS['monitoring_period_days']
patient.rb
added an extra day on top of the value of ADMIN_OPTIONS['monitoring_period_days']
refactored reminder_eligible scopes to use new patient linelist fields

Testing
This fix was tested on the following browsers (submitter must check all those that apply):

[ ] Chrome
[ ] Firefox
[ ] Safari
[ ] IE11

Since the changes in this PR are purely related to the back end, they were not tested on any specific browsers, but rather tested in the unit tests.
Please describe the tests needed to verify your changes. Provide instructions for reproducing these tests. List any relevant details for your test configuration.

As mentioned above, simply create a patient with last date of exposure set to 14 days ago and latest assessment within the past 7 days

Submitter Checklist

[x] I have tested all of my changes locally.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation (if any).
[x] My changes generate no new warnings/errors.
[x] I have added tests that prove my fix is effective or that my feature works.
[x] New and existing unit tests pass locally with my changes.

Reviewer Checklist
Reviewer 1
Reviewer: holmesie
Checklist:

[ ] I have carried out all tests described in the PR and verified functionality.
[ ] I have reviewed every file in the diff to verify that changes are reasonable, and that any updated/added code is maintainable and reusable and follows good practices.

Reviewer 2
Reviewer: kylietmo
Checklist:

[ ] I have carried out all tests described in the PR and verified functionality.
[ ] I have reviewed every file in the diff to verify that changes are reasonable, and that any updated/added code is maintainable and reusable and follows good practices.

Code changes look reasonable, though I'd default to Adam's judgement here as I'm not as familiar with some of this. Followed up with Tim to verify the appropriate ways to tests and if all looks good will approve.


async client: refactor Http::AsyncClient::Callbacks to pass in Http::AsyncClient::Request* for correlation between requests and responses

Description: refactor Http::AsyncClient::Callbacks to pass in Http::AsyncClient::Request* for correlation between requests and responses
Risk Level: Low
Testing: unit tests
Docs Changes: N/A
Release Notes: N/A
Context:

related to #9998

Motivation:

let Callbacks implementations to be able to determine which of the multiple in-flight requests has changed it's status

cc @alyssawilk @mattklein123

@alyssawilk No, sorry, I don't have such a test.
I'll see what I can do.

@alyssawilk I've added missing unit tests.


simplify expression of cooling terms in x-lumped thermal models

Description
Rewrite the cooling terms in the x-lumped and lumped thermal models in terms of fluxes. IMO it is easier to follow the code now. The equations are unchanged, just expressed differently.
Fixes # (issue)
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.

[ ] New feature (non-breaking change which adds functionality)
[ ] Optimization (back-end change that speeds up the code)
[ ] Bug fix (non-breaking change which fixes an issue)

Key checklist:

[ ] No style issues: $ pre-commit run (or $ nox -s pre-commit) (see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)
[ ] All tests pass: $ python run-tests.py --all (or $ nox -s tests)
[ ] The documentation builds: $ python run-tests.py --doctest (or $ nox -s doctests)

You can run integration tests, unit tests, and doctests together at once, using $ python run-tests.py --quick (or $ nox -s quick).
Further checks:

[ ] Code is commented, particularly in hard-to-understand areas
[ ] Tests added that prove fix is effective or that feature works

Just saw the comment, sorry for the delay. Everything is fixed now, feel free to merge!


[REPULL] Fix for crashing navigation item background drawable

Note: Re-pull --> https://github.com/google/iosched/pull/119

CLA was submitted on Jan 15, 2015 13:48 PST. New one submitted on Jan 27, 2015 22:31 PST.


improve unit testing

this pr removes all the tests that relied on calling coinbase api and replaces them with mocked out calls.

Pull Request Test Coverage Report for Build 44

2 of 3 (66.67%)  changed or added relevant lines in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.8%) to 30.929%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

cbpro/public_client.py
2
3
66.67%

Files with Coverage Reduction
New Missed Lines
%

cbpro/public_client.py
2
89.39%

Totals

Change from base Build 41:
0.8%

Covered Lines:
169

Relevant Lines:
467

💛  - Coveralls


PubSub API not working.

Hi. I tried to use PubSub API with this client:
<?php
require_once 'vendor/autoload.php';

// all authorizations things here

$client = new Google_Client();

$pub_sub = new Google_Service_Pubsub($client);

$topics = $pub_sub -> projects_topics -> listProjectsTopics('projects/my-project');

echo "Topics:" . PHP_EOL;
foreach ($topics as $topic) {
	echo "\t" . $topic['name'] . PHP_EOL;
}

When I tried to run it, I've got error
PHP Fatal error:  Uncaught exception 'Google_Service_Exception' with message 'Error calling GET https://www.googleapis.com/v1beta2/projects/my-project/topics: (404) Not Found' in /some_directory/vendor/google/apiclient/src/Google/Http/REST.php:110

By documentation I need to send requests to pubsub.googleapis.com, but here www.googleapis.com. I fixed this problem, but it's not solution:
// Google_Service_Pubsub::_construct
    parent::__construct($client);
    $this->servicePath = 'v1beta2/';
    $this->version = 'v1beta2';
    $this->serviceName = 'pubsub';

    $this -> rootUrl = 'https://pubsub.googleapis.com';   // <= so ugly
    ...

Also, my composer.lock:
 "name": "google/apiclient",
 "version": "1.1.4",
 "source": {
     "type": "git",
     "url": "https://github.com/google/google-api-php-client.git",
     "reference": "2adb5ba90612858d4add0342eee6b8b9aaca398d"
},

If you don't want to modify the source code to add the custom rootUrl, create an ini file with these contents:
base_path = 'https://pubsub.googleapis.com'

Then inject the configuration, by creating the client like so, instead:
$client = new Google_Client(new Google_Config($path_to_your_ini));

Once pubsub exits beta, it might be migrated to www.google.com, which would save us from this wokaround.

We have merged in a fix for this, and master is now using pubsub:v1
Please update the library and confirm this fixes your problem. Thank you!

I've tested my code with dev-master revision. Seems it works fine! Would you be kind to tag this changes?

I do not have the ability to tag this repo, unfortunately. @tbetbetbe are you the one to do this?

Also, when somebody will make a tag, look please to this small fix.

---------- Proslijeđena poruka ----------
Šalje: "Brent Shaffer"<EMAIL_ADDRESS>Datum: 17. 8. 2015. 23:36
Predmet: Re: [google-api-php-client] PubSub API not working. (#567)
Prima: "google/google-api-php-client" <
<EMAIL_ADDRESS>We have merged in a fix for this, and master is now using pubsub:v1
Please update the library and confirm this fixes your problem. Thank you!
—
Reply to this email directly or view it on GitHub.

Below are the code I'm trying but nothing print.....
$pub_service = new Google_Service_Pubsub($client);
$topicsList = $pub_service->projects_topics->listProjectsTopics('https://pubsub.googleapis.com/v1beta2/projects/qustn-1051');
//$topicsList = $pub_service->projects_topics->listProjectsTopics('projects/qustn-1051');
print_r($topicsList);exit;

@kumardippu try to use projects/qustn-1051 instead of full URI.

will this change also be made in the v1-master branch?   i'm using v1-master for a PHP App Engine app.... should i be using master instead?   the github page and other google docs say to use v1-master.

@hashtag-framework Yes, try with v2.0.0-RC2, but keep in mind there are some differences between the libraries that might require you to refactor your code.

Suppose I can close this issue due to date.


Enable support for 0.45.0rc1 with QPY version 9

Summary
The qiskit-ibm-provider package maintains a fork of the QPY serialization module from upstream qiskit. This is done primarily because Qiskit only supports writing a single qpy format version per release (whatever the most recent is). However, since the server side of the ibm runtime does not always support the latest QPY format version immediately and tends to lag a bit behind what upstream Qiskit is emitting this can cause issues for users who upgrade to the latest qiskit quickly. The fork in qiskit-ibm-provider is used to control the QPY format version that is used for job submission so it ensure the leading edge only moves as quickly as the server side is updated. However, for the upcoming qiskit 0.45.0 release there were some internal object model changes and the fork of qpy (which is a copy of the qpy module from qiskit-terra 0.25.x/qiskit 0.44.x) is incompatible with those changes. This results in errors during the serialization because the qpy module is trying to serialize the circuit with assumptions of the code that do not hold with the upcoming 0.45.0 release. To further complicate matters qiskit 0.45.0 also introduced QPY version 10 which is completely incompatible with version 9 being used by the ibm runtime currently. This means the normal strategy of porting all the changes from qiskit during the upcoming release to the provider isn't viable in the short term, at least until the server side is updated to support QPY version 10.
To address this compatibility in the short term, this commit is a partial backport of the changes made in qiskit 0.45.0 to the qpy module, but only those changes made to accomodate the internal qiskit changes during the release. It's also done in a manner where it doesn't require the 0.45.0 release, so that the provider can be used with either qiskit 0.44.x and 0.45.0. However, this is only a short term solution, once the server side is updated to support QPY we should use #736 and release a new minor version of the provider package to just use QPY format version 10.
This commit is explicitly only for the 0.7.x release series and is being proposed directly to the stable/0.7 branch. For 0.8.0 #736 will port over the upstream changes to QPY including QPY format version 10 which is a more sustianable fix longer term. But this is blocked until the server side has support for QPY format version 10. To simplify the dependency tree, and to enable users to submit ibm runtime jobs using 0.45.0rc1 this targets solely compatibility between qiskit 0.45.0 and qiskit-ibm-provider 0.7.x.
Details and comments
Fixes #755

+1 for getting this quickly into a patch release to unblock work requiring new features.

+1 for getting this quickly into a patch release to unblock work requiring new features.

I'll get a patch release out tmrw that will include this update, 0.7.2


Pos.Left, Pos.Bottom, etc... stack overflow if passed view has not resized/shown

To repro, modify demo.cs so the end of the file is as shown:
		win.Add (drag, dragText);

		var bottom = new Label ("This should go on the bottom!") {
			X = Pos.Left(win),
			Y = Pos.Bottom (win)
		};
		win.Add (bottom);

		top.Add (win);
		//top.Add (menu);
		top.Add (menu, statusBar, ml);
		Application.Run ();
	}
}

In other words, it's currently (seemingly) impossible to position items relatively using Pos.Left, Pos.Right, Pos.Top, or Pos.Bottom before the app runs.
I'm assuming this is all because the 'View that is being passed (win` above) does not yet have a size or location because resizing hasn't happened.
A possible fix would be to implement an OnResize event on View that would let these things be set.

Good catch - I am thinking of a fix.


IdentityServer 4 AspNetIdentity Not Redirecting after register

I downloaded the latest version of IdentityServer 4 Sample and I try the AspNetIdentity
1-I start the API
2-I start the Identity Server
3-I start the MVC Client
I click on the Secure link from MVC Client, I'm redirecting to the Login Page properly. At this step, I do not have a user register yet. I click on the register button. the redirect_url seem to be ok.
I register the user, but I'm not redirecting to the MCV client.
I check in the database and my user are created properly.
I also set EmailConfirmed = true in the database.
An other test I did.
Click On Secure from MVC Client
I'm redirecting to login page
I try to login with my user previously registered.
I'm not redirecting to the MVC CLient.
Thanks

You need to propagate the returnUrl. If you want our sample to do that for you, feel free to submit a PR.

So the demo isn't supposed to redirect back to the mvcclient after a successful login?
Expected flow:

Start both sites
Click the secure link in the mvc site, I will be redirected to the identityserver
I login with my asp.net identity user account.
I will be redirected back to the /secure in mvcclient

Or am i missing something? My logs: https://pastebin.com/QSku2y9m

The ASP.NET Identity template is not a good template for building a token server. The sample we put here is trying to show getting started, but you ultimately have to decide for yourself what you want the functionality to be.

The problem was that it wasn't logging in at all. I figured it out, I wasn't running in Https 🤦♂ .
Maybe @beachjf was doing the same?
Anyways thanks @brockallen for your time, and great library 👍


SDAM client (WIP)

Related to issue #54

MongoSDAMTopologyType sharded doesn't seem to be defined?

MongoSDAMTopologyType sharded doesn't seem to be defined?

It's true

Start a single mongod (so some tests will fail)
Run Mongotalk tests (including SDAM)
Click on one of the SDAM failures
"Test took too long" exception will be shown.

The image is unusable after this. On the console I get
UnwindError
BlockClosure>>on:do:
BlockClosure>>ensure:
[ self value.
Processor terminateActive ] in BlockClosure>>newProcess in Block: [ self value....

CTRL+. doesn't get the image back in shape and the process sits there spinning 95% of the time. Now the question is if this is the test or the SDAM code. :)
and then run the SDAM tests. A lot of tests show as "failure". Click on a single test and re-e

For the moment, the SDAM client works only with a replica set mongo, and tests, more specifically, require to execute the (repo)/scripts/rs-setup.sh before.
Sorry for not clarifying this before.

Also, I share a script that starts a client, steps down the primary server, and logs in Transcript what's going on "live", and finally prints a summary of what happened a (what state changes were noticed from the announcements).
-->  http://ws.stfx.eu/OFMWRX9R0IJQ

I'd love to have this! Currently not being able to connect to a sharded cluster.

@Spoowy the SDAM client I'm pushing soon will initially support replica set scenarios only (at least it's only tested on...), but it may be close... what's your opinion?

(when I read the SDAM specification and the mongodb docs, I skip the sections about sharded clusters, but I know it's related to replica sets)

Maybe replica sets will work for me, I will have to check, as my cluster is not truly "sharded" per se. Establishing a connection would allow me to prototype with Smalltalk for the first time on a project I'm working on. That would be fun!

I splitted part of these changes in #65, #66 and #67 and squashed remaining commits in a new branch... I'm closing this PR to start a new one in the other branch.

Maybe replica sets will work for me, I will have to check, as my cluster is not truly "sharded" per se. Establishing a connection would allow me to prototype with Smalltalk for the first time on a project I'm working on. That would be fun!

In the case you're still interested, @Spoowy, you could try #68.


Mutations - closes #9

Is it possible to do something like this:
https://github.com/WeltN24/GraphQLicious/issues/15


Missing cutscene territories?

Hello there! This plugin has been a godsend for me, but I've noticed a few cutscene only maps are missing from the lineup? such as the following:

(quest: the primary agreement, file path(s): ex2/bg/ex2/05_zon_z3/evt/z3e4/, ID ??)

(quest: out of the wood, file path(s): ex3/bg/ex3/01_nvt_n4/evt/n4e5/, ID ??)

(quest: emissary of the dawn, file path(s): ffxiv/bgcommon/world/cut/095/, ID ??)

(quest: unto the heavens, file path(s): ex4/bg/ex4/03_kld_k5/evt/k5e2/, ID 989)
image removed bc im stupid and left both my monitors in but it's the throne room in ishgard
(quest: litany of peace + others, file path(s): ffxiv/bgcommon/world/cut/088/, ID ??)
image removed bc im stupid and left both my monitors in but its the ishgard infirmary
(quest: litany of peace + others, file path(s): ex1/bg/ex1/01_roc_r2/evt/r2e8/, ID ??)
I was able to grab the ragnarok interior ID with Godbert/SaintCoinach but it unfortunately didn't have any of the others and I'm unsure where to look for them, but I would love to see some of these incorporated eventually! ty for your hard work!

Has there been any progress to get to these cutscene areas?

Not that I know of no :(
On Tue, Aug 6, 2024, 5:14 PM J. Bloom @.***> wrote:

Has there been any progress to get to these cutscene areas?
—
Reply to this email directly, view it on GitHub
https://github.com/kawaii/Hyperborea/issues/10#issuecomment-2272164190,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKGPZ6MZDH6LPKYL5KV56L3ZQE4ETAVCNFSM6AAAAABJXQQBEWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZSGE3DIMJZGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Big sadge. :(

Hey, some zones do not have any name or quest battles associated with them, therefore there's no sensible way to display them for selection. You can specify territory ID for them manually
It appears that there are only 2 unnamed zones in the game:
988	m5e1	ex4/02_mid_m5/evt/m5e1/level/m5e1	1	Ilsabard	Radz-at-Han			LoadingImage#1	0	TerritoryIntendedUse#7		False	0	False	0	True	False	False	False	BGMSituation#1001	-1	-1	0	QuestBattle#0		-1	0	-1	False	Endwalker	0	0	0		False	False	0	False	False	False	False	False	0
989	k5e2	ex4/03_kld_k5/evt/k5e2/level/k5e2	1	The Northern Empty	Labyrinthos			LoadingImage#1	0	TerritoryIntendedUse#7		False	0	False	0	True	False	False	False	BGMSituation#1001	-1	-1	0	QuestBattle#0		-1	0	-1	False	Endwalker	0	0	0		False	False	0	False	False	False	False	False	0

ex2/bg/ex2/05_zon_z3/evt/z3e4
ex3/bg/ex3/01_nvt_n4/evt/n4e5
ffxiv/bgcommon/world/cut/095
These just aren't in sheets at all

Miseryyyyyy...I was thinking there must be smth different about these ones
if both this plugin and Godbert can't load them but ig I was holding out
hope maybe there was a way 🥲 oh well, this game destroys my dreams again
💔 ty for the response and explanation! I'll survive with rotating meddle
exports of these maps in blender to view them I suppose
On Thu, Aug 22, 2024, 7:41 PM Limiana @.***> wrote:

Hey, some zones do not have any name or quest battles associated with
them, therefore there's no sensible way to display them for selection. You
can specify territory ID for them manually
It appears that there are only 2 unnamed zones in the game:
988	m5e1	ex4/02_mid_m5/evt/m5e1/level/m5e1	1	Ilsabard	Radz-at-Han			LoadingImage#1	0	TerritoryIntendedUse#7		False	0	False	0	True	False	False	False	BGMSituation#1001	-1	-1	0	QuestBattle#0		-1	0	-1	False	Endwalker	0	0	0		False	False	0	False	False	False	False	False	0
989	k5e2	ex4/03_kld_k5/evt/k5e2/level/k5e2	1	The Northern Empty	Labyrinthos			LoadingImage#1	0	TerritoryIntendedUse#7		False	0	False	0	True	False	False	False	BGMSituation#1001	-1	-1	0	QuestBattle#0		-1	0	-1	False	Endwalker	0	0	0		False	False	0	False	False	False	False	False	0
ex2/bg/ex2/05_zon_z3/evt/z3e4
ex3/bg/ex3/01_nvt_n4/evt/n4e5
ffxiv/bgcommon/world/cut/095
These just aren't in sheets at all
—
Reply to this email directly, view it on GitHub
https://github.com/kawaii/Hyperborea/issues/10#issuecomment-2305923261,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKGPZ6M7L5A2LJYTOE5A7OLZSZZKTAVCNFSM6AAAAABJXQQBEWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBVHEZDGMRWGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

let this issue be open for now, maybe I or someone else will come up with some idea
maybe using different function to load zone not based on territory

Fingers crossed, ty for even considering taking the time! 🙏  I wish I had
more technical knowledge so I could be of more use but alas all I'm good
for is finding file paths...really hope this does end up possible there are
so many fun maps locked behind these not technically real zones it's a
shame there's no way to take advantage of them even with dev/gm commands on
a private server
On Fri, Aug 23, 2024, 2:52 PM Limiana @.***> wrote:

let this issue be open for now, maybe I or someone else will come up with
some idea
maybe using different function to load zone not based on territory
—
Reply to this email directly, view it on GitHub
https://github.com/kawaii/Hyperborea/issues/10#issuecomment-2307636379,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKGPZ6MJ2KCKR2344PMB5ETZS6AHDAVCNFSM6AAAAABJXQQBEWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBXGYZTMMZXHE
.
You are receiving this because you authored the thread.Message ID:
@.***>


Config

Hey there!
Is there already a plan when to upload the needed config files? Otherwise, I believe this can't be used as I get
FileNotFoundError: [Errno 2] No such file or directory: '../config/classes.names'

Hey, the classes.names file I can provide, it has just one line with the LP word which means license plate, that is the only one class I trained YOLO with. Unfortunately, I can't provide the weights file because I don't have them anymore... it would require me to train YOLO and the Attention-OCR all over again and you know the drill...


Have some bugs⚠

this source bot, have so many bugs like:
you can spam to create so much channels
any one can close or delete the ticket channel
and much much things

https://github.com/Sobhan-SRZA/Ticker-Boy
this is my project you can check it out😉


Enabling Advantech UNO-220

Signed-off-by: Roman Shaposhnik<EMAIL_ADDRESS>

I think what you're saying is that I need to provide a doc (where's @deitch pointing out my lack of docs when you need him ;-))
And yes -- we absolutely need a doc explaining how we're going to handle different permutations of the same board. Long story short -- this is why I was forced to upgrade to the latest u-boot (although that PR has been outstanding since January -- this gave me a good forcing function). New u-boot allows us to directly control DMI tables and that way we can basically be like BIOS for the boards. See the raspberypi-uno220.dts file included in this PR.
However, we're still not acting on that information -- hence WIP.

Btw, I'm curious what kind of plugin TPM do you have @eriknordmark - You will have to come up with your own devictree snippet for it -- and, sadly, a lot of time this is a really tedious reverse engineering process (sometimes you even need to break out your logic analyzer).
For now -- I think we should just standardize on UNO-220 as a industrial packages for RPi4

Hey @eriknordmark @deitch -- doc has been added https://github.com/rvs/eve/blob/uno220/docs/BIOS-FIRMWARE.md and the naming settled -- this is now ready for a full review.

Ping @eriknordmark @deitch -- I'm planning to pull this soon unless I hear otherwise

Btw, I'm curious what kind of plugin TPM do you have @eriknordmark - You will have to come up with your own devictree snippet for it -- and, sadly, a lot of time this is a really tedious reverse engineering process (sometimes you even need to break out your logic analyzer).

FWIW it is an Infineon Optiga SLB 9670 TPM 2.0 iridium eval board made for RPi. The "SLB 9670" part matches what you have for this UNO

Does the disabled spidev1 actually do anything?

Yes, it actually allows dynamic switching.


Update Pramodh Kumar M profile to include image

Can you please provide a picture that is following the requirement of being max 100KB ? Thanks in advance


All launchs with triggers/action fails ( humble )

Here are the error messages for ros2 launch ur10_ros2_moveit2 ur10_interface.launch.py ( typical of all robots tried)
Testing log trigers actions.txt

I have done may test related to the ros2_action and and ros2_executions
Here are a few comments :
One build error for ros2_execution "abb-robot_msgs was missing in
Import SERVICES:
from abb_robot_msgs.srv import SetIOSignal
I added  a  .srv directory to ros2_data,
copied the SetIOSignal.srv file from the abb_robot_driver_interfaces
Added    "srv/SetIOSignal.srv" in the CMakeLists.txt in the # ADD ROS2.0 .msg, .srv and .action files: section
        modified line 57 of execuion.py
        #from abb_robot_msgs.srv import SetIOSignal
         from ros2_data.srv import SetIOSignal

I had two problems with irb120_interface.launch.py
egp64_RightFinger.dae was missing I reanmed the "Schunk Gripper - RIGHT FINGER.dae"
Had to comment Attacher ( it had a file not found message, but it is in the specified directory ???)
[ERROR] [launch]: Caught exception in launch (see debug for traceback): executable 'attacher_action.py'
not found on the libexec directory '/home/francois/dev_ws/install/ros2_grasping/lib/ros2_grasping'
Since attacher is not started scripts involving grasping are not working

Hi @FrGe2016,
Thank you very much for your feedback.
With regard to your last message:

The abb_robot_msgs service is not needed for these simulations (I have removed it in the latest commit).
"egp64_RightFinger.dae" is how I have named the file in ROS2 Humble and "Schunk Gripper - RIGHT FINGER.dae" is how it is called in the ROS2 Foxy branch. Could you please check that you've imported the correct branch for your ROS2 version?
attacher_action.py is under ros2_grasping/scripts, and it is installed through the package's CMakeLists.txt file (check the last lines). It should be working...

As I've mentioned, please check that you've installed the correct branch, and do let me know if you have any problems.
Best regards,
Mikel

Hi
In humble "egp64_RightFinger.dae" is required in the URDF but the file is not renamed in /irb120_ros2_gazebo/meshes)/egp64/
i have fixed it machine but the package could be modified to avoid this manual fix.
About attacher_action.py
It is effectively under ros2_grasping/scripts, and it is installed through the package's CMakeLists.txt file
it is also at the right place after build /home/francois/dev_ws/install/ros2_grasping/lib/ros2_grasping
but for some unknown reason it is not found when i launch the package ??
ERROR] [launch]: Caught exception in launch (see debug for traceback): executable 'attacher_action.py'
not found on the libexec directory '/home/francois/dev_ws/install/ros2_grasping/lib/ros2_grasping'
Finally solved
Was compile with colcon build --symlink-install the the symlink was not executable
Solution 1 : build without --syslink-install
Solution 2 : have the 2 python files executable in the source directory with chmod ( my prefered solution )

Very interesting package
Here are a few improvement proposals :
- in the launch file date entry prompt remove the N before the number of the option since only the number must be typed
- for the read me of ros2 execution have a full exemple of the steps required for the sequences involving pick and pace (ex: cubePP.txt)
ros2 launch irb120_ros2_moveit2 irb120_interface.launch.py
Option 3: ABB IRB-120 Pick&Place Use-Case
Option 3: Schunk EGP-64 parallel gripper
ros2 run ros2_grasping spawn_object.py --package "ros2_grasping" --urdf "box.urdf" --name "box" --x 0.5 --y -0.3 --z 0.75
ros2 run ros2_execution ros2_execution.py --ros-args -p PROGRAM_FILENAME:="cubePP" -p ROBOT_MODEL:="irb120" -p EE_MODEL:="schunk"
Regards Francois


Spi freq selection

Rework for SPI clock selection.
Tested ok locally on all ST boards..

tested ok as well on my side   +1


Add latest version to archiver files

This link seems broken:
% wget https://storage.googleapis.com/hirosystems-archive/mainnet-blockchain-<IP_ADDRESS>.2-latest.tar.gz
--2022-10-19 08:49:58--  https://storage.googleapis.com/hirosystems-archive/mainnet-blockchain-<IP_ADDRESS>.2-latest.tar.gz
Resolving storage.googleapis.com (storage.googleapis.com)... <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, ...
Connecting to storage.googleapis.com (storage.googleapis.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-10-19 08:49:58 ERROR 404: Not Found.

Also, it would be helpful to add a symlink to the current version:
https://storage.googleapis.com/hirosystems-archive/mainnet-blockchain-current-latest.tar.gz

Yikes! Thanks for flagging this, @igorsyl. A symlink idea is clever, and we could avoid maintaining the release versions on this page.
@deantchi: When you get a chance, could you take a stab this, please?

@deantchi: Thanks! Any thoughts on the symlink that always points to the latest release? With that, we manage the mapping behind the scenes and can avoid maintaining this page on every release.

This link is broken too:

@igorsyl <IP_ADDRESS>.2 is no longer available.  <IP_ADDRESS>.0 should be used

@deantchi: Thanks! Any thoughts on the symlink that always points to the latest release? With that, we manage the mapping behind the scenes and can avoid maintaining this page on every release.

I feel having the datestamp and data version in the filename is necessary to determine what version of the application is needed to use the archive files.

@igorsyl: The caveat to these files we host is that we don't have any data validation or use this file internally in any of our products, so the version we publish is with the assumption that developers can grab the pinned version and if there are issues with it, they will report, and we will address them. Apart from ensuring the URL is hosted and served reliably, we cannot put the dataset to use, so given that background, having a pinned version can help narrow the blast radius. And that change is included in https://github.com/hirosystems/docs/commit/fab750c994a97b26c9ae19b729cad0de67e65ac6.
If you run into a situation where you need more than the fixed version, please reopen, and we will discuss the approach internally.


[Color Picker] Option for turning off # symbol

Well. It's all in the title, I think.
Why we need this? Some software has only 6 slot field for color code (e. g. Adobe InDesign).

You can select the text for copying and pasting

You can select the text for copying and pasting

Thank you for your reply. But this option is available only in editor mode. And copying the part of the code is an extra action. Personally, I have never seen any software that can't set the right color after pasting its code without the # symbol.

Thank you for your reply. But this option is available only in editor mode. And copying the part of the code is an extra action. Personally, I have never seen any software that can't set the right color after pasting its code without the # symbol.

You're one of many people to request this specific thing.
#8305 should make that possible.
Not sure when it'll be implemented, though...

You're one of many people to request this specific thing.
#8305 should make that possible.
Not sure when it'll be implemented, though...

You're one of many people to request this specific thing.
#8305 should make that possible.
Not sure when it'll be implemented, though...

I think as a fast solution until custom firmats are ready a simple checkbox setting would help.
Not sure how many works this is.

You're one of many people to request this specific thing.
#8305 should make that possible.
Not sure when it'll be implemented, though...

I think as a fast solution until custom firmats are ready a simple checkbox setting would help.
Not sure how many works this is.

I have never seen any software that can't set the right color after pasting its code without the # symbol.

If that really is the case, it would be a simple and direct choice to remove the prefix # from the default hexadecimal format. Typing one hashtag (or maybe 0x, in some scripting languages?) followed by pasting the six "digits" is easy.

I have never seen any software that can't set the right color after pasting its code without the # symbol.

If that really is the case, it would be a simple and direct choice to remove the prefix # from the default hexadecimal format. Typing one hashtag (or maybe 0x, in some scripting languages?) followed by pasting the six "digits" is easy.

I think as a fast solution until custom firmats are ready a simple checkbox setting would help.

I'm not an expert yet, but that still sounds like quite an effort (front-end and back-end) for such a small change. I'm thinking my idea (mentioned above) is even simpler.
Until 8305 comes in, since we don't know when that'll be worked on.

I think as a fast solution until custom firmats are ready a simple checkbox setting would help.

I'm not an expert yet, but that still sounds like quite an effort (front-end and back-end) for such a small change. I'm thinking my idea (mentioned above) is even simpler.
Until 8305 comes in, since we don't know when that'll be worked on.

I agree, this would be very helpful to me.
It's a minor thing, but having to delete the octothorpe adds extra fiddliness to my workflow. It's not needed in most programs, and it actually gets in the way in some cases, such as when fields only allow 6 characters (the last character gets cut off). Also I have to edit a lot of pre-existing code, and when you double-click the hex value in most code editors, it doesn't select the octothorpe.
(Side note: yes I'm one of those weirdos who uses words like "octothorpe".)

In my view, the # shouldn't be part of the HEX format at all, as described by WIkipedia:

A hex triplet is a six-digit, three-byte hexadecimal number used in HTML, CSS, SVG, and other computing applications to represent colors.

@enricogior @crutkas Do you agree we should take the # sign out?

#niels9001
Is rgb(), ... part of copied value too?
Maybe we should add a general setting "Copie number(s) only".

#000000 vs 000000
rgb(1,20,33) vs 1,20,33 or 1 20 33

@htcfreek Yeah fair point. ColorPicker basically provides code snippets, not color codes per se.
Having additional settings sounds (too) complicated, also in terms of UX. I'd either remove the # or add a second color format that does not include it.

@htcfreek

Having additional settings sounds (too) complicated, also in terms of UX. I'd either remove the # or add a second color format that does not include it.

Yes we can add each type twice. But this would be confusing.
Can we add a second list? Then we have a code snippet list and a color value list.
In setting they could be either two lists or a combined configuration list. For editor I suggest to have two tabs. (Maybe with a setting which tab should be visible/selected on opening.)

Maybe a good solution is to create a user defined custom format

I would just keep it short and simple - for any format. As mentioned earlier: typing one prefix (if necessary at all) and then pressing Ctrl+V is the easiest, compared to pasting and correcting the double prefix. Issue 8305 would give users the opportunity to change things any way they want.

You're one of many people to request this specific thing. #8305 should make that possible. Not sure when it'll be implemented, though...

Thank you for your reply. But this option is available only in editor mode. And copying the part of the code is an extra action. Personally, I have never seen any software that can't set the right color after pasting its code without the # symbol.

Not everyone's using just software. When writing CSS, JS etc, copying just the number and having to type in the # every time is REALLY annoying. Please give us a setting to set up according to the user's needs and use.

@Lyra-Ravenlock To give a bit of perspective: In the past, the copied value did include the #. However, a number of apps only accept 6 characters input.  Compared to that, typing a # by hand is not (much of) an effort.

I agree. There should be a checkbox/switch to activate the # or two different color formats. It is indeed annoying for styling a lot of CSS stuff. Implement this, please :-)

@int-JHG With the latest version you can create custom formats and customize if you want to use a # or not :)!

Ah... Noice. Ty for the info, just installed it. Works like a charme :)


Build DeFi Lego for Aave on Polygon

Build DeFi Lego for Aave on Polygon.
Use sample DeFi Lego as inspiration.

@leodinh Can you relate the PR here and close this issue please!


Ability to mark foreign key constraint as deferrable

I wish to declare some foreign keys as deferrable.
I see that I can achieve this by switching from defining the keys using the '.references()' API - to overriding 'customConstraints()'

however this more complex and potentially more error prone (as it just accepts SQL).

I'd like to request an API enhancement to the 'reference()' function, to accept an optional enum (deferrable), DEFERRED or IMMEDIATE.

I've added a boolean flag to generate the column as DEFERRABLE INITIALLY DEFERRED in the referenced commit.
By the way, customConstraint is not so dangerous anymore as the SQL is parsed and validated during the build. Still it's definitely better to have an official API for this though :)


(suggestion) I would really like to hide the bar on the left that shows subscriptions etc.

You can do so by selecting the below options. We're also allowing users to hide the "You" sidebar in the next update.


[Bug][dolphinscheduler-server] Time custom parameters conver error

current time : 2020-09-15 15:15:13
custom parameter : echo $[yyyy-MM-dd HH:mm:ss-1/24]
But the result is : 2020-09-15 15:15:13-54913523000000/24
The desired result is : 2020-09-15 14:15:13

It seems to appear directly in the shell task

Which version?
can see the screenshot of your node settings, because my test is OK

Which version?
can see the screenshot of your node settings, because my test is OK

I use it like this, no problem on datax ！！！

Which version?
can see the screenshot of your node settings, because my test is OK

'N' needs to be replaced with numbers 1, 2, 3......

Haha forgot to add it, sorry, dizzy


[HOW-TO] which libcamera version library supports all autofocus commands?

I am trying to implement all the features of autofocus in my project.
Please suggest which libcamera version will be supported with picamera2 0.3.8 version

First you need picamera2 0.3.9 for autofocus.
If you do apt show python3-picamera2you find under the dependencies:
'python3-libcamera (>= 0~git20230302+923f5d70-1)'
=> libcamera version: 0~git20230302+923f5d70

Hi, I'll close this issue for now as I don't think there's anything specific for us to investigate. But do please open another issue if you are still having problems. Thanks!


feat: remove unneeded comment

@orubin quite an interesting feature 😄  I believe users would like to upgrade because of it (sure no). Make sure you follow the contributing guide, conventional commit standards, and semantic versioning spec.

@orubin quite an interesting feature 😄 I believe users would like to upgrade because of it (sure no). Make sure you follow the contributing guide, conventional commit standards, and semantic versioning spec.

@bramkor, this seems to be a common mistake on your part as well.

@derevnjuk - agree.
We fixed the MacOS build - and wanted to test the "release" flow - since "feat" triggers the release flow, i saw this option as ok (and we will revert it).
Any other way exists to trigger new version release? Manual Action?
Cheers.

@orubin testing should not have resulted to a release. Just to test the version of CD runtime image that could be done by a single command, you are gonna release 2 minor versions (this one + revert). This is insane. For testing purposes, you should use dry-run mode to isolate the specific part of the workflow you need. The easiest approach is to create a dedicated workflow, set the trigger to run on PRs, and disable any jobs that could lead to changes in artifacts, releases, etc. Test under your PR, and then revert all excessive changes before merge.


Set UTF-8 encoding

This is per https://www.python.org/dev/peps/pep-0263/ and otherwise
causes Ambari to fail with syntax errors in Ambari 2.1 (at least).

LGTM


included 5.3.0

Hmm that is probably a better idea. We aren't testing in that in CI yet because of a bug with video recording, but I guess users can.


Added country code filter for visualizations

As a fix for the bounding box problem with the dateline @matallo suggested tu use ISO country codes to "tag" the visualizations so we can filter the tables based on that.
Please @rafatower check this PR

:+1:

not agree with this fix, this is really tied to some concrete use case and does not fix the problem at all


Acts as taggable through

The best way I can explain this is with an example.
Lets have a Doc record which has  user_id and User record which is taggable.
In acts-as-taggable-on at the moment to find all of the Docs where their User has a given tag we would have to run a query like:
Doc.where(user: User.tagged_with('foo'))

Whereas it might be nicer to write:
Doc.tagged_with('foo')

and have the following setup:
class Doc < ActiveRecord::Base
  acts_as_taggable_through User, :user_id
end

class User < ActiveRecord::Base
  acts_as_taggable_on :languages, :skills
end

In particularly this is useful for models which whose table is a view where we might want to share the tags between the view and the table.

I thought it would be useful to look at the generated SQL to demonstrate how this works.
Loading the two models as separate queries:
TaggableThroughModel.where(foreign_id: TaggableModel.tagged_with([:awesome]).pluck(:id)).to_a

   ActsAsTaggableOn::Tag Load (0.1ms)  SELECT "tags".* FROM "tags" WHERE (LOWER(name) = LOWER('awesome'))
    (0.1ms)
SELECT "taggable_models"."id"
FROM "taggable_models"
JOIN taggings taggable_mod_taggings_03d67c2
ON taggable_mod_taggings_03d67c2.taggable_id = taggable_models.id
AND taggable_mod_taggings_03d67c2.taggable_type = 'TaggableModel'
AND taggable_mod_taggings_03d67c2.tag_id = 1

   TaggableThroughModel Load (0.2ms)
SELECT "taggable_through_models".*
FROM "taggable_through_models"
WHERE "taggable_through_models"."foreign_id" = 1

Using a has_one relationship on TaggableThroughModel and inlining the TaggableModel query:
TaggableThroughModel.where(taggable_model: TaggableModel.tagged_with([:awesome])).to_a

   ActsAsTaggableOn::Tag Load (0.2ms)
SELECT "tags".* FROM "tags"
WHERE (LOWER(name) = LOWER('awesome'))

   TaggableThroughModel Load (0.3ms)
SELECT "taggable_through_models".*
FROM "taggable_through_models"
WHERE "taggable_through_models"."id" IN (
  SELECT "foreign_key"
  FROM"taggable_models"
  JOIN taggings taggable_mod_taggings_03d67c2
  ON taggable_mod_taggings_03d67c2.taggable_id = taggable_models.id
  AND taggable_mod_taggings_03d67c2.taggable_type = 'TaggableModel'
  AND taggable_mod_taggings_03d67c2.tag_id = 1
)

Using this PR and TaggableThroughModel.tagged_with:
TaggableThroughModel.tagged_with([:awesome]).to_a

   ActsAsTaggableOn::Tag Load (0.7ms)
SELECT "tags".* FROM "tags"
WHERE (LOWER(name) = LOWER('awesome'))

   TaggableThroughModel Load (0.2ms)
SELECT "taggable_through_models".*
FROM "taggable_through_models"
JOIN taggings taggable_mod_taggings_03d67c2
ON taggable_mod_taggings_03d67c2.taggable_id = taggable_through_models.foreign_id
AND taggable_mod_taggings_03d67c2.taggable_type = 'TaggableModel'
AND taggable_mod_taggings_03d67c2.tag_id = 1


Duplicated scrape configurations

I got a prometheus-k8s deployment borked in BlockedStatus for invalid config. I logged into the prometheus container and used promtool check config /etc/prometheus/prometheus.yml and got this:
root@prometheus2-0:/prometheus# promtool check config /etc/prometheus/prometheus.yml
Checking /etc/prometheus/prometheus.yml
  FAILED: parsing YAML file /etc/prometheus/prometheus.yml: found multiple scrape configs with job name "juju_cos_778d179d-ef0b-40ef-839a-577c8a98706b_spring-music_spring-music_prometheus_scrape"

Indeed, the tool is right:
root@prometheus2-0:/prometheus# cat /etc/prometheus/prometheus.yml
global:
  evaluation_interval: 1m
  scrape_interval: 1m
  scrape_timeout: 10s
rule_files:
- /etc/prometheus/rules/juju_*.rules
scrape_configs:
- honor_timestamps: true
  job_name: prometheus
  metrics_path: /metrics
  scheme: http
  scrape_interval: 5s
  scrape_timeout: 5s
  static_configs:
  - targets:
    - localhost:9090
- honor_labels: true
  job_name: juju_cos_778d179d-ef0b-40ef-839a-577c8a98706b_spring-music_spring-music_prometheus_scrape
  metrics_path: /actuator/prometheus
  relabel_configs:
  - regex: (.*)
    separator: _
    source_labels:
    - juju_model
    - juju_model_uuid
    - juju_application
    - juju_unit
    target_label: instance
  scrape_interval: 1s
  static_configs:
  - labels:
      juju_application: spring-music
      juju_charm: spring-music
      juju_model: cos
      juju_model_uuid: 778d179d-ef0b-40ef-839a-577c8a98706b
      juju_unit: spring-music/0
    targets:
    - <IP_ADDRESS>:8080
- honor_labels: true
  job_name: juju_cos_778d179d-ef0b-40ef-839a-577c8a98706b_traefik-k8s_traefik-k8s_prometheus_scrape
  metrics_path: /metrics
  relabel_configs:
  - regex: (.*)
    separator: _
    source_labels:
    - juju_model
    - juju_model_uuid
    - juju_application
    - juju_unit
    target_label: instance
  scrape_interval: 1s
  static_configs:
  - labels:
      juju_application: traefik-k8s
      juju_charm: traefik-k8s
      juju_model: cos
      juju_model_uuid: 778d179d-ef0b-40ef-839a-577c8a98706b
      juju_unit: traefik-k8s/0
    targets:
    - <IP_ADDRESS>:8082
- honor_labels: true
  job_name: juju_cos_778d179d-ef0b-40ef-839a-577c8a98706b_spring-music_spring-music_prometheus_scrape
  metrics_path: /actuator/prometheus
  relabel_configs:
  - regex: (.*)
    separator: _
    source_labels:
    - juju_model
    - juju_model_uuid
    - juju_application
    - juju_unit
    target_label: instance
  static_configs:
  - labels:
      juju_application: spring-music
      juju_charm: spring-music
      juju_model: cos
      juju_model_uuid: 778d179d-ef0b-40ef-839a-577c8a98706b
      juju_unit: spring-music/0
    targets:
    - <IP_ADDRESS>:8080

The issue is coming from me relating spring-music directly as well as over prometheus-scrape-config-k8s:
Model  Controller   Cloud/Region        Version  SLA          Timestamp
cos    development  microk8s/localhost  2.9.27   unsupported  14:19:18+02:00

App                           Version  Status   Scale  Charm                         Channel  Rev  Address         Exposed  Message
prometheus2                            waiting      1  prometheus-k8s                edge      29  <IP_ADDRESS>  no       installing agent
prometheus-scrape-config-k8s           active       1  prometheus-scrape-config-k8s  edge      29  <IP_ADDRESS>   no
spring-music                           active       1  spring-music                  edge       3  <IP_ADDRESS>  no

Unit                             Workload  Agent  Address      Ports  Message
prometheus2/0*                   blocked   idle   <IP_ADDRESS>         Failed to load Prometheus config
prometheus-scrape-config-k8s/0*  active    idle   <IP_ADDRESS>
spring-music/0*                  active    idle   <IP_ADDRESS>

Relation provider                              Requirer                                               Interface                Type     Message
prometheus-scrape-config-k8s:metrics-endpoint  prometheus2:metrics-endpoint                           prometheus_scrape        regular
prometheus2:prometheus-peers                   prometheus2:prometheus-peers                           prometheus_peers         peer
spring-music:metrics-endpoint                  prometheus-scrape-config-k8s:configurable-scrape-jobs  prometheus_scrape        regular
spring-music:metrics-endpoint                  prometheus2:metrics-endpoint                           prometheus_scrape        regular

Issue confirmed.
Adding a relation between the same Prometheus charm and the same spring-music charm in two different ways

One directly
One through Prometheus scrape config

Leads to a duplicate scrape job and consequent failure on behalf of Prometheus to load its configuration.

There are two approaches to fix this

Ensure jobs get de-duplicated by Prometheus
Ensure Prometheus scrape config modifies job name so jobs passed through it are unique.

What is the preferred approach. My inclination is to de-duplicate jobs even though implementation wise this is the more complex solution.


[WIP] Update DC/OS E2E location to Mesosphere organisation

Merge this once the repository is moved as per https://jira.mesosphere.com/browse/DCOS-18425?jql=assignee %3D adamdangoor  AND status not in (Closed%2C "In Review").
This should not be merged until requires.io has been updated by an administrator.

Codecov Report

Merging #241 into master will decrease coverage by 18.62%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master     #241       +/-   ##
===========================================
- Coverage     100%   81.37%   -18.63%
===========================================
  Files          13       13
  Lines         569      569
  Branches       33       33
===========================================
- Hits          569      463      -106
- Misses          0      104      +104
- Partials        0        2        +2

Impacted Files
Coverage Δ

tests/test_node.py
0% <0%> (-100%)
:arrow_down:

tests/test_enterprise.py
0% <0%> (-100%)
:arrow_down:

src/dcos_e2e/node.py
73.07% <0%> (-26.93%)
:arrow_down:

src/dcos_e2e/cluster.py
85.24% <0%> (-14.76%)
:arrow_down:

tests/test_harness.py
89.47% <0%> (-10.53%)
:arrow_down:

tests/conftest.py
91.66% <0%> (-8.34%)
:arrow_down:

src/dcos_e2e/backends/_dcos_docker/__init__.py
97.72% <0%> (-2.28%)
:arrow_down:

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 6aae7be...744b48c. Read the comment docs.


RuntimeError: The size of tensor a (32000) must match the size of tensor b (32001) at non-singleton dimension 0

Traceback (most recent call last):
File "/panda/apply_delta.py", line 171, in
apply_delta(args.base_model_path, args.target_model_path, args.delta_path)
File "/panda/apply_delta.py", line 146, in apply_delta
param.data += delta.state_dict()[name]
RuntimeError: The size of tensor a (32000) must match the size of tensor b (32001) at non-singleton dimension 0

Now fixed. Try it again after git pull.
Thanks!


Disable OAuth rate limiting

I want to check if the OAuth transactions are being rate limited by praw, and possibly suspend rate limiting during bootup to improve the initial load time when launching rtv.

Working on this branch: https://github.com/michael-lazar/rtv/tree/new_rate_limiting


SQL Bindings connection string may not be added to local.settings.json

SQL Bindings 0.0.1
Scenario: User has no folder open and right-clicks table to use command

Warning to Create Azure Function Project (next steps) or Learn More (aka.ms/sqlbindings)
Browse folder to use for azure function project
Select Type of Binding (input or output)
Function Name - (retrieved from the schema and table name – sanitized and removed brackets)
Provide namespace
Creates azure function with SQL binding
Ask user to include password for connection string in local.settings.json
Add a connection string to local.settings.json

Step 6 shows this prompt:

Once that step is done - VSCode is restarted (with the selected folder).
The extension host will restarted as well and so the remaining logic after createFunction API will not be executed.

Two options:

Find a way to delay opening the project in the workspace until the entire flow is done
Store the state in the extension context and then check for that in the extensions activate

cc @Charles-Gagnon


Test/keepalive httpversion

Closes #791

Codecov Report

Merging #800 (80bf2c4) into test/keepalive (ff9905e) will decrease coverage by 0.06%.
The diff coverage is n/a.

@@                Coverage Diff                 @@
##           test/keepalive     #800      +/-   ##
==================================================
- Coverage           51.86%   51.79%   -0.07%
==================================================
  Files                  68       68
  Lines                2090     2085       -5
  Branches               60       60
==================================================
- Hits                 1084     1080       -4
+ Misses               1006     1005       -1

Impacted Files
Coverage Δ

zio-http/src/main/scala/zhttp/http/Patch.scala
58.33% <0.00%> (-6.38%)
:arrow_down:

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 ff9905e...80bf2c4. Read the comment docs.


Repeated use of moduleType or (extendModules foo).type in attrsOf can not use the name parameter.

Describe the bug
For context, moduleType and extendModules duplicate the configuration namespace, but with user-defined modules added.
Extending the configuration more than once makes name throw a duplicate definition error.
Steps To Reproduce
Suppose we have
{ config, moduleType, ... }: {
  options.variants = mkOption { type = attrsOf moduleType; };
  options.result = mkOption { type = str; };
}

then
variants.foo = { name, ... }: { result = name; }

will result in
variants.foo.result == "foo"

but
variants.foo.variants.bar = { name, ... }: { result = name; }

causes an error because name is redefined in the second level.
Expected behavior

name does not throw an error.

All names can be used.

Additional context
Discovered in https://github.com/NixOS/nixpkgs/pull/176557 matrix module.
This can be solved by defining name in specialArgs, or by making the parameter name configurable (creating PR in a minute).
Notify maintainers
@infinisil

Workaround: add a submodule between attrsOf and moduleType so that the submodule can set the appropriate option in moduleType, instead of having moduleType itself rely on _module.args.name (which still can't be used, but doesn't have to be used).
Example: https://github.com/NixOS/nixpkgs/pull/176557/commits/7071f1d3a8f9c7233002747cac525d0f77e827b7

attrsOf (attrsOf x) seems like an antipattern.


Feature/support invalid opcode

Description
Get stack trace when eth_call / eth_sendTransaction response is invalid opcode error.
With reason this support, tweaks some of error messages.

@nakajo2011 Thanks for this pull request.


Generate sample data -> sample image download error

Error at  $ go run db/seeds/main.go :

open file ("http://qor3.s3.amazonaws.com/01-tee-c.20160316044516567824937.png") failure, got err open /home/caghan/Development/go-work/src/github.com/qor/qor-example/tmp/01-tee-c.20160316044516567824937.png: no such file or directory

It is because the folder tmp doesn't exist in the repo tree. So you may fix it by adding tmp folder to root of example.
mkdir $GOPATH/src/github.com/qor/qor-example/tmp
P.S. BTW qor seems promising! :100:

Thank you for your report, just fixed that.


Number of bits for storing the delete mark of each element

Hi @Yury Malkov,
In the comment for function 'markDeletedInternal', it states that "Uses the first 8 bits of the memory for the linked list to store the mark...". However, from the implementations of function "getListCount" and "markDeletedInternal", we can see that the first 16 bits are used to store the delete mark and the lower 16 bits are used to store the number of neighbors. It is a bit confusing here.
https://github.com/nmslib/hnswlib/blob/2571bdb6ef3f91d6f4c2e59178fde49055d2f980/hnswlib/hnswalg.h#L795-L798
https://github.com/nmslib/hnswlib/blob/2571bdb6ef3f91d6f4c2e59178fde49055d2f980/hnswlib/hnswalg.h#L819-L821

Yes. It is strange. I do not remember the exact reason why it has been changed, but it seems we forgot to update the comments.

Yep. It seems I've changed it and forgot to update the comments. Thanks for reporting!


feat(authN): Redesign JWT token auth #372

Redesign JWT token authentication middleware to support additional/alternative authentication method
Description

Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.
What type of PR is this? (check all applicable)

[x] 🍕 Feature
[ ] 🐛 Bug Fix
[ ] 📝 Documentation Update
[ ] 🎨 Style
[x] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert

Related Tickets & Documents

Related Issue # (issue)
Closes # (issue)
Fixes # (issue)

Remove if not applicable

Added tests?

[x] 👍 yes
[ ] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help
[ ] Separate ticket for tests # (issue/pr)

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Added to documentation?

[x] 📜 README.md
[ ] 🤝 Documentation pages updated
[ ] 🙅 no documentation needed
[ ] (if applicable) generated OpenAPI docs for CRD changes

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

In the description I cannot see the "related issues" nor the ones which the PR should close.


cmd/compile: suboptimal code generated for simple integer comparison if-block

What version of Go are you using (go version)?

$ go version
go1.12.7 darwin/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/stanevt/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/stanevt/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/zx/b2z35dfn0272q_n6g410wv340000gn/T/go-build707218538=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
The program linked below generates an array of random uint8s and then repeatedly runs a function that finds the second highest value in the array of random uint8s. The logic inside the inner loop is simple, it keeps track of the highest value and the second highest value using an if-else condition.
The problem is that the code generated by the compiler using the naive implementation (shown in max2_slow() in the example) runs slow -- 810 ms for the test. Adding a continue statement in the final else block generates better code that runs the test in 540 milliseconds.
For comparison, the same logic as the max2_slow, written in JavaScript runs the same test in 690 ms and it doesn't make a difference if the logic is converted to if-continue.
Just for reference, the same logic in C runs much faster (490ms without loop unrolling, 350 with unrolling), but the C compiler seems to make use of conditional move instructions, which neither Golang nor V8 seem able to generate.
The program:
https://play.golang.org/p/uV2tVrLifCq
(Note that timings will not show in the web based play page, because it does not have a functioning clock)
What did you expect to see?
I would expect the code generated for the plain if-else condition to run as fast as the code generated by manually adding "continue" statement.
What did you see instead?
The code generated by the if-else condition runs 50% slower compared to the code with the artificially added continue statement.

This one is a bit tricky. Sort of the luck of the draw, the val > max1 path is processed first during register allocation. Because of the way regalloc works, the reg-reg moves from that branch end up at the end of the loop. The other paths through the loop then have to issue countervailing moves to pre-undo what those moves do. By using "continue", you avoid that merge point and the need to do/undo the moves on every iteration.
At least, I think that is what is going on.
I don't see any easy fix for this. If we knew that both ifs were unlikely, the layout pass would fix it for us. FDO would help with that. Without FDO, I don't see any easy way to know. The register allocator is correctly optimizing for the case that the first if is likely taken.
Maybe there's a way to detect that we would need undo register moves, and lay things out a bit differently as a result. Not sure.
In any case, it is unlikely that this will be fixed for 1.14. Moving to unplanned.


v3.0.0

Should the lower bound of the SDK stay at 3.0.0 instead of 3.1.0 for maximum compatibility?

@GZGavinZhao mockito 5.4.3 which requires Dart SDK version ^3.1.0.

Oh yes, you're right. Well, that's sad, we have to keep the min SDK bound at 3.1.0 then.

Dart 3.2 is already released. _tests/test is not updated. I also noticed old doc. comments to update.

I think we should keep min SDK bound to 3.1 unless there are packages/language features that prevents us from doing so.
Regarding _tests/test, locally I was able to migrate all files to Dart 3 except 3:

_tests/test/core/linker/security_integration_test.dart
_tests/test/compiler/output/dart_emitter_test.dart
_tests/test/compiler/ast_directive_normalizer_test.dart

I'm not sure how I should merge the changes with yours. Do you want me to push to your existing working branch directly?

Some tests show that mock-like behavior is not supported in null-safety mode:
group('should be mock-like', () {
  mockLikeTests(nullSafe: false);
});

group('should never be mock-like when opted-in to null-safety', () {
  mockLikeTests(nullSafe: true);
});

Maybe remove all mock-like tests? I try to disable the null-safety option in the compile context.

Found this:
/// Whether this output has mock-like behavior.
///
/// The heuristic used to determine mock-like behavior is if the analyzed
/// class or one of its ancestors, other than [Object], implements
/// [noSuchMethod].
///
/// Note that is the value is _never_ true for null-safe libraries, as we no
/// longer support null streams/stream subscriptions in the generated code.

I think this is ready for merge?

@GZGavinZhao yes.


Input refactoring: added an InputField widget

Added an InputField Widget. It just displays hintText and it's InputValue, it doesn't include a label or support for error text.  The Input widget now just contains an InputField.
Fixes #6691

I don't understand this split. What does InputField give us that RawInput doesn't?
I thought the split was going to be such that Input's materialness would be factored out into a class that didn't know anything about text input, and then Input would become that class + RawInput.


Report set 1 - countries

All the countries in the world organised by largest population to smallest.
All the countries in a continent organised by largest population to smallest.
All the countries in a region organised by largest population to smallest.

Tasks defined as user stories:
As a locations advisor I want a report that shows all the countries in the world organised by largest population to smallest so I can advise which countries are the most populated and which countries are the least

Tasks defined as user stories:
As a locations advisor I want a report that shows all countries in a continent organised by largest population to smallest so I can advise which continents and which countries have the highest population and which have the lowest.

Suggested Query:
public void getCountriesByPopulation() {
try {
// Create the SQL statement
Statement stmt = con.createStatement();
// Turn it into a string and add in the query.
String strSelect =
"SELECT Name, Population "
+ "FROM Country "
+ "ORDER BY Population DESC"; // Ordering by population in descending order
// Run the SQL statement
ResultSet rset = stmt.executeQuery(strSelect);
// Print countries organized by population
System.out.println("Countries by Population:");
while (rset.next()) {
String countryName = rset.getString("Name");
int population = rset.getInt("Population");
System.out.println(countryName + ": " + population);
}
} catch (Exception e) {
System.out.println(e.getMessage());
System.out.println("Failed to get country details");
return null;
}
}

Report 1 output:

Report 2 Output:

Report 3 Output:

Report 1

Report 2

Report 3


Async calls failing on OSX

Attached please find a simple console program.  It needs a bucket name and credentials.  When running on OSX it crashes the framework.  When debugging with VS4MAC, a crash log is generated. I've included it in the project.  When just running the console app, it simply ends execution.
When I run the same project on windows OR linux via docker, everything works as expected. Any help would be great.  I'll post this in the github project as well.
WTFAWSCON.zip
.NET Core Info

.NET Core version used for development:
.NET Core version installed in the environment where application runs:
Output of dotnet --info:

.NET Command Line Tools (2.0.0)
Product Information:
Version:            2.0.0
Commit SHA-1 hash:  cdcd1928c9
Runtime Environment:
OS Name:     Mac OS X
OS Version:  10.13
OS Platform: Darwin
RID:         osx.10.12-x64
Base Path:   /usr/local/share/dotnet/sdk/2.0.0/
Microsoft .NET Core Shared Framework Host
Version  : 2.0.0
Build    : e8b8861ac7faf042c87a5c2f9f2d04c98b69f28d

Contents of project.json/project.csproj:

I think you may want to post this on https://github.com/dotnet/coreclr repo instead.  Looking at the source of the crash:
Termination Signal:    Segmentation fault: 11
...
Thread 12 Crashed:
0   libcrypto.35.dylib              0x00007fff68162a64 ASN1_STRING_cmp + 20

Either the libcrypto library on your machine has a bug or lobcoreclr is calling the library with incorrect parameters triggering segfault.  Have you tried setting a breakpoint at ASN1_STRING_cmp in lldb and see what parameters were passed in?
Either way, I don't think this is an issue with the SDK.  As you mentioned, your project builds and runs fine on windows and linux which seem to indicate that this is a runtime problem.  I would like to close this issue unless you have some more data points that indicate that there is a bug in the SDK.


[6445] Amended so failed urn validation the details are open

Context
Failed urn validation
Changes proposed in this pull request
Amended so failed urn validation the details are open
Guidance to review

Important business

[ ] Does this PR introduce any PII fields that need to be overwritten or deleted in db/scripts/sanitise.sql?
[ ] Does this PR change the database schema? If so, have you updated the config/analytics.yml file and considered whether you need to send 'import_entity' events?
[ ] Do we need to send any updates to DQT as part of the work in this PR?
[ ] Does this PR need an ADR?

NB: Please notify the #twd_data_insights team and ask for a review if new fields are being added to analytics.yml

 Snagging II: Validation for URN as it needs to be unique for the trainee placements

All looking good to me @defong :shipit:


Passwords aren't saved according to the System Settings > Passwords configuration

Describe the bug
The passwords are saved in the config of the plugin instead of in the keystore as configured in System Settings > Passwords.
To Reproduce
Steps to reproduce the behavior:

Add a connection that uses an SSH tunnel
Export the settings
The password can be found in plain text

Expected behavior
I would expect a password to be saved in the keystore instead of in the config files.

@JeroenTriptic got it, I will change it in next version 1.10.5

Hi @JeroenTriptic,
this is fixed by 1.0.15,  after install this version, it will automatically migrate passwords to keychain(macos) by PasswordSafe.
You can download from Jetbrains market v1.10.15 or manual install by Github release v1.10.15.
Thanks your feedback


Please add a color definition for Function group

From :help group-name
Function       function name (also: methods for classes)

Many themes highlight function names differently than default color, making them more visible. Currently vim-gotham doesn't do it because Function definition is missing.
See example with Rust syntax highlighting (note that fn which is a keyword and main which is a function name are the same color here which doesn't look so well):

Example of how it can look better:

Sample definition for the color and group:
let s:colors.sea   = { 'gui': '#4d618e', 'cterm': 4  }

" Function.
call s:Col('Function', 'sea', s:background)

Hey @shmerl, would you be willing to submit a PR for this? I am busy with other work these days 😄

Sure. Are you OK with this color / name, or you have any preference of different color or how to call it? I started with brighter one and called it "sea", but ended up with a bit darker tone which is close to your violet. I can call it "manganese", since its oxides can have such color.

I don't think we should add a new color for this in the colorscheme. We can use one of the existing colors though :)

Ping @shmerl?

Sorry, I was a bit busy lately. I'll try to wrap it up today.

See https://github.com/whatyouhide/vim-gotham/pull/33
The result isn't the best looking IMO though. I liked the custom color more.

Closed by #33.


Use of I2C BFM hints

I am quite new to UVVM, so sorry for the silly question maybe.
I have a running I2C master, which works quite well in hardware.
Now I have to add some clock stretching feature or recovery mode, so I decided to implement a testbed based on SPI BFM,
so that I can also practice with the framework.
So my testbench is composed by the I2C master, an i2C slave model and a call to i2c_slave_receive() to sniff what is passing on the bus.
I assume i2c_slave_receive() cannot be used as a slave model, right?
I am generating an access to a slave mapped to I2C address 0x44.
The BFM is issuing an error stating:

The simulation waveform is:

Any fault on my side?

I realize the information I give you are very limited.
I just call:
        i2c_if <= init_i2c_if_signals(VOID);
        i2c_slave_receive(v_data_out, "Receive from Master");

with local defined config structure:
  constant C_I2C_BFM_CONFIG : t_i2c_bfm_config := (
    enable_10_bits_addressing       => false,
    master_sda_to_scl               => 20 ns,
    master_scl_to_sda               => 20 ns,
    master_stop_condition_hold_time => 20 ns,
    max_wait_scl_change             => 10 ms,
    max_wait_scl_change_severity    => failure,
    max_wait_sda_change             => 10 ms,
    max_wait_sda_change_severity    => failure,
    i2c_bit_time                    => cc_halfp*2*clk_period,
    i2c_bit_time_severity           => failure,
    acknowledge_severity            => failure,
    slave_mode_address              => "0001000100",
    slave_mode_address_severity     => failure,
    slave_rw_bit_severity           => failure,
    reserved_address_severity       => warning,
    match_strictness                => MATCH_EXACT,
    id_for_bfm                      => ID_BFM,
    id_for_bfm_wait                 => ID_BFM_WAIT,
    id_for_bfm_poll                 => ID_BFM_POLL
    );

i2c_bit_time is 2025 = 200 ns which is my SCL bit time.

Hi Luca,
You are right that the BFM can not be used as a model.
I guess you are using a local overload in your testbench - can you paste more code from your testbench?
Br,
Marius

Hi Marius,
here's the complete testbench
i2c_master_tb.txt

Can you set the BFM config entry "enable_10_bits_addressing <= True" and try again?

Hm, I'm trying to figure out what could be the root of this error. I guess you are using 7 bit addressing then, so you have to set the enable_10_bits_addressing back to false. From your initial post it seems that the BFM is missing the upper bit of the address. Which version of UVVM are you using? I do not think that there has been any major changes to the I2C VIP in a while so unless you are using a very old version the source code should be mostly identical.

I am using UVVM tagged v2020.06.23

Is there any change that I must call i2c_slave_receive() at a precise time?
I am issuing the call just after init_i2c_if_signals(VOID), as you can see from the testbench.
At the beginning of the test there is a reset pulse, so init_i2c_if_signals(VOID) is called  just 5 clock cyclose after the reset returns high.

No, the BFM waits for a SDA to be set low, then SCL, before sampling the address and the R/W bit. There is a timeout which will generate an alert if there is no interface activity when the BFM is waiting, in your case within 10 ms of SDA and additional 10 ms for the SCL line, so I do not think that is the problem. Is it a write access you are requesting?

I think the problem is that your SDA line is 'U' at the beginning, while the BFM is waiting for it to be '1', i.e. free, so the data sampling actually do not start until after your first '1' on the SDA line. So if you have a look at the wave diagram below the red circle indicates when the BFM thinks the I2C line is free, and starts sampling the data byte from the next CLK high period.

So the BFM does:

Wait for SDA to be idle / '1'
Wait for SCL to be idle / '1'
Wait for SDA to be active / '0'
Wait for SCL to be active / '0'
Start sampling byte

Now it works! That was the trick!
The 'U' at the beginning are due to the iobuf/obuft instances inside the master (there shouldn't be there!!).
I have introduces some spare SCL cycles at the beginning, so the start condition is found later on.
I have add this small simulation setup on github (https://github.com/lukipedio/i2c_master_uvvm) .
Thanks for helping!

Thats great!
Then I will close this issue. If you have more questions please do not hesitate to post them on our forum at https://forum.uvvm.org
Kind regards,
Marius


Add documentation for iPad for "Request Mobile Website"

Describe the solution you'd like
When the banner pops up for iPad saying, 'If you are using iOS, please enable "Request Mobile Website" for this site', it would be nice to link "Request Mobile Website" to App Center documentation or iOS documentation on how to do so. It isn't immediately obvious. You can either click on the "AA" in the toolbar to "Request Mobile Website", or go to Settings > Safari > Request Mobile Website.
Describe alternatives you've considered
I did a search in App Center documentation and found nothing.
Additional context

I ran into the same issue and would have been lost if not for this post.


Module not found:

Module not found: Error: Can't resolve 'react-dom/lib/ReactMultiChild' in '.../node_modules/react-canvas/lib'

Yeah I had that too. I switched to react-konva.

+1

+1

项目太长时间没有维护了，react-dom内部一些模块早已发生了变化，已致于无法引入react-dom/lib/ReactMultiChild。
The project has not been updated a long time ago. and some modules inside the react-dom have already changed, the react-dom/lib/ReactMultiChild also changed.

Thanks for your clear answer!


Method "remove" removed ...

Are you guys aware that the "remove" method doesn't exists in the API ?
"db.remove ..."
I got lucky trying the db.delete method instead.
The docs should be updated, if i'm not wrong...
Cheers!

just submitted a pull request for this after i noticed it at work today, haha.

10x for the catch. In the past the method was called remove but I aligned it to IndexedDB naming which is delete.


Site can't be reached

DNS_PROBE_FINISHED_NXDOMAIN issue when trying to access laravelpackage.com

Hi thx for creating this issue. We are currently switching from domain register. The site should be back on wednesday.

From: astlaure @.>
Sent: Sunday, June 25, 2023 5:18:47 PM
To: PackagePages/LaravelPackage.com @.>
Cc: Subscribed @.***>
Subject: [PackagePages/LaravelPackage.com] Site can't be reached (Issue #147)
DNS_PROBE_FINISHED_NXDOMAIN issue when trying to access laravelpackage.com
—
Reply to this email directly, view it on GitHubhttps://github.com/PackagePages/LaravelPackage.com/issues/147, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AE2EYQDA2S4F27PU2E5LQ7TXNBJFPANCNFSM6AAAAAAZTGVONQ.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Hi we are back online :)


attributes() got an unexpected keyword argument 'frozen'

when i import aiohttp, report a error, blew:
import aiohttp
Traceback (most recent call last):
  File "/anaconda3/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 2869, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File "<ipython-input-9-6b0f4dd1af9d>", line 1, in <module>
    import aiohttp
  File "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 19, in do_import
    module = self._system_import(name, *args, **kwargs)
  File "/anaconda3/lib/python3.6/site-packages/aiohttp/__init__.py", line 6, in <module>
    from .client import *  # noqa
  File "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 19, in do_import
    module = self._system_import(name, *args, **kwargs)
  File "/anaconda3/lib/python3.6/site-packages/aiohttp/client.py", line 17, in <module>
    from . import client_exceptions, client_reqrep
  File "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 19, in do_import
    module = self._system_import(name, *args, **kwargs)
  File "/anaconda3/lib/python3.6/site-packages/aiohttp/client_reqrep.py", line 17, in <module>
    from . import hdrs, helpers, http, multipart, payload
  File "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 19, in do_import
    module = self._system_import(name, *args, **kwargs)
  File "/anaconda3/lib/python3.6/site-packages/aiohttp/helpers.py", line 162, in <module>
    @attr.s(frozen=True, slots=True)
TypeError: attributes() got an unexpected keyword argument 'frozen'

Looks like your version of attrs is very old. The frozen keyword was added in 16.1.0.

Thanks! Work well after updating!

Thanks, Me too


Agent doesn't respond sometimes with groq_stt error in simple-app

While testing out simple-app
I would say something and the agent would not respond with anything
This didn't happen all the time, but happened 3-4 times
I see this in the logs when the agent doesn't respond groq_stt:no segments in transcription indicating no speech

Full log
xrx-simple-app-arjun.log

are these short snippets? like 'yes' or 'no'?


ngSanitize not working for DOM XSS in firefox

The following piece of string when passed to $sanitize in firefox, its giving the original string back.

Steps to reproduce .

Open https://docs.angularjs.org/api/ngSanitize/service/$sanitize in Firefox
Scroll down to the bottom and in the example paste "><svg/onload=prompt(12);>
You will see the prompt box open up

how was this issue resolved?

it was never an issue.


fix: update newsletter styles

reduce content of template  to avoid rendering issues
add client specific styles to embedded css to avoid rendering issues
reduce  embedded styling, a more minimalistic approach works best with all clients
change html structure, dont use tables to allow for better responsiveness across devices
add ms outlook conditionals

<img> within the content part of the template need to have the following inlines next to alt and src
width="600" border="0" style="display: block; max-width: 100%; min-width: 100px; width: 100%;"

<pre> within the content part of the template need to have the following inline style added to them
style="word-break: break-all; white-space: pre-wrap"


Jenkins does not run iaf-test larva tests on 7.7 branch

❗ please do not add sensitive information in issues, you can provide extra information via email using issue number as reference ❗
Describe the issue
The Jenkins build server appears to start iaf-test for the 7.7 branch framework build, but it is unlikely all tests are run in a below 1 second total runtime.
Reporter
Gerrit

To Reproduce
Steps to reproduce the behavior:

Go to https://jenkins.interpar.nl/view/Voor scherm core developers/job/Frank-Framework/job/7.7-release/
See unreasonably low run times for iaf-test

The tests are disabled because of storage and performance problems on the server, this will be picked up after the new server is installed


Issue 393: Convert from TravisCI to GithubActions

Codecov Report

Merging #394 (52d16a9) into master (248692f) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 52d16a9 differs from pull request most recent head 79bf97c. Consider uploading reports for the commit 79bf97c to get more accurate results

@@           Coverage Diff           @@
##           master     #394   +/-   ##
=======================================
  Coverage   81.11%   81.11%
=======================================
  Files          53       53
  Lines        1483     1483
  Branches      323      323
=======================================
  Hits         1203     1203
  Misses        125      125
  Partials      155      155

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 248692f...79bf97c. Read the comment docs.


Test fixes wct6

Hammer tests until they run on travis. WCT 6 update, migrate travis to run polymer cli, switch out to VM from docker setup.

👍 🐐 🧀


zerubabel4 Update user-personas.md

[x] user persona updated

Good job..did you create issue for it..

@minjupgeorge yes i did you can check it out now.


[LLVMCPU] Re-implement the flow of setting dispatch configurations.

It defines how we find a root op clearly, and move the check of preset path to entry point. This also addresses the odd logic, which is returning success() when it does not meet the preconditions.

LG! Is this changing the behavior in any way? Could we run benchmarks to be sure?


Bugfix/rtdev 3462

[ ] All tests passed. If this feature is not already covered by the tests, I added new tests.

Please also rename the title of the PR to something more informative than Bugfix/rtdev 3462


Japanese Font Generation Settings

Source Font File: NotoSansJP-Regular.ttf ( https://fonts.google.com/noto/specimen/Noto+Sans+JP ) and Bold
Sampling Point Size:30
Padding:5
Atlas Resolution: 4096x4096 (note: Some Android devices not supported 8192)
Character Set: Custom Characters ( https://gist.github.com/kgsi/ed2f1c5696a2211c1fd1e1e198c96ee4 )
RenderMode:SDF32
Character Included:7130

move to wiki


missing files

the files : data_generator_cbr_mb and data_generator_mb are not in the repo

Thanks for reminding us, we have updated the files.


How will Haste adapt to WebAssembly appearance?

As we've heard recently, JavaScript soon won't be as lucrative as a compilation target. What are your plans to continue its development?

I'd be glad to support the format, if/when:

it's widely supported and performant across browsers;
it's decently interoperable with JavaScript;
it provides access to the garbage collected heap and supports higher order functions, or makes it worth the trouble of implementing a custom GC, runtime and code generator for a significantly lower level target language; and
there is a significant performance gain, without a huge blowup in code size.

I'm not sure I agree that WebAssembly poses any real threat to the JS hegemony at this point in time. I'd be happy if it did, but considering that it shares almost all of the drawbacks that made ASM.js pretty much completely uninteresting I'm not holding my breath.

What are you thoughts about chrome native client? llvm compile target, should work with Haskell (almost) by default (but doesn't due to different calling conventions used), almost-native performance etc.

@jhoxray The introduction of WebAssembly is going to make (P)NaCl largely obsolete I think.

For those interested in Haste on WebAssembly, one of our students is now working on an ASM.js (since WebAssembly is a rather impractical target until it appears in at least one major browser) Haste backend for his MSc thesis. It will be interesting to see how it compares to the JS generator for speed and code size.

Are there any results yet?

Unfortunately, the student working on this has seemingly disappeared off the face of the earth. WebAsm looks a bit more attractive now than a year and a half ago. However, the issues of GC and HOFs still need to be resolved, either by WebAsm introducing native support or through significant changes to the runtime and code generator.
If anyone is interested in working on this I'd be happy to assist, but I won't have the time to push this on my own for the foreseeable future.


lines = p.getOutline  initialization of reference of type error

Hi Patricio,
First Thanks for your amazing work on the vPlotter :)
I had to correct the line 29 on ofApp.cpp file to compile the app correctly
from
vector& lines = p.getOutline();
to
vector& lines = const_cast<vector&>(p.getOutline());
apparently p.getOutline need to cast as a polyline array on raspberry pi
Thanks!
/Frederic

Hi Frederic, I am still receiving an error upon compilation, even with your suggestions. I have attached the screenshot of the errors I recieved. Thanks!

(url)


docs: add jwt custom

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

@SamYSF plz fix CI: