Support erlang < 24

> [2/3] RUN install-tool erlang:
  #11 5.840 Setting up libltdl7:amd64 (2.4.6-14) ...
  #11 5.845 Setting up libsctp1:amd64 (1.0.18+dfsg-1) ...
  #11 5.855 Setting up libodbc1:amd64 (2.3.6-0.1build1) ...
  #11 5.860 Processing triggers for libc-bin (2.31-0ubuntu9.7) ...
  #11 12.18 linking tool erlang v<IP_ADDRESS>
  #11 12.20 /opt/buildpack/tools/erlang/<IP_ADDRESS>/bin/erl: 29: exec: /usr/local/erlang/<IP_ADDRESS>/erts-<IP_ADDRESS>/bin/erlexec: not found
  #11 12.20
  #11 12.20 real	0m12.120s
  #11 12.20 user	0m8.357s
  #11 12.20 sys	0m1.717s

Elixir 1.7+ is still supported and needs erlang 19-22
https://hexdocs.pm/elixir/1.12.3/compatibility-and-deprecations.html#compatibility-between-elixir-and-erlang-otp

https://github.com/renovatebot/docker-elixir/runs/6333976811?check_suite_focus=true

Sounds to me that we should ensure the latest possible version of erlang is installed when somebody want to install elixir.
So like a small requirement table that either enforces the erland version and aborts or silently installs it.

I don't think we need a special version handling here, we don't do this for other tools like ruby / cocoapods.
We only need to make sure we can use older erlang / elixir versions. Renovate ant /or the user needs ti handle compability


chore: release v1.20.1

fixes arweave import in esm web bundle

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


chore(combine-api): simplify and update to fix build/test in CI

What new features does this PR implement?
The combine-api service provides access general manipulation of omex archives, file handling, and validatdion, backed by various python libraries.  In addition, there were about 20 biosimulators (e.g. biosimulator-copasi, biosimulator-xpp, etc) which were bundled into this same service - making it very difficult to maintain.
What bugs does this PR fix?
The corresponding docker container will no longer build - there are too many conflicting dependencies.
Does this PR introduce any additional changes?
Most simulators were removed - only those to remain are for support of model validation as needed.
How have you tested this PR?
Docker container builds and passes pytests, and local install on macbook dev machine builds and passes tests (with a local install of xppaut).
Additional information
MyPy was introduced and library type stubs were added to verify and correct typing information.
Poetry was introduced as a build system - it gives better messages than pipenv and provides an easier path toward installs.

combine-api ready to integrate, Typescript/Angular/NestJS linting errors remain (as well as existing circular dependencies).

@bilalshaikh42 @moraru @eagmon @mpw6 - looking for a ceremonial approval while I bootstrap things.

not reviewed - but approval requested by Jim

Thanks everyone for the quick response!!!


Group By Tags / Table of Contents

Swagger2Markup version:
1.1.0
Problem description:
Hi there,
I'm generating asciidoc while grouping by tags:
Swagger2MarkupConfig config = new Swagger2MarkupConfigBuilder()
                    .withMarkupLanguage(MarkupLanguage.ASCIIDOC)
                    .withOutputLanguage(Language.EN)
                    .withPathsGroupedBy(GroupBy.TAGS))
                    .withOperationOrdering(OrderBy.AS_IS)
                    .build();

When I do this, I get, for example:
Table of Contents

Overview

...

Resources

Pet
Store
User

Where the links in resources are individual tags.
Is it possible to get the table of contents to drill down one level further to individual operations like so?

Overview

...

Resources

Pet

Update an existing pet
....

Store
User

This would be helpful for quickly jumping to specific points in the documentation when a tag has a handful of operations associated with it, but still retaining the benefit of grouping / organizing them by tag..

Hi,
how do you generate the AsciiDoc HTML documentation? Using an Asciidoctor plugin or directly via code?
It's easy: You just have to set the Asciidctor attribute toclevels to '3'. See http://asciidoctor.org/docs/user-manual/#levels


[typescript] make Select's onChange prop optional

This PR is a follow-up to #11012, which caused the Select component's onChange prop to be required in TypeScript. However, the SelectInput component's onChange prop is optional. This PR uses a Pick to ensure that the Select component's onChange has exactly the same typing as the SelectInput.

@nmchaves Thanks!


[BUG] unity_temp_config file being created with a double file extension .json.json

Describe the bug
When installing Genesis (and Entitas Redux) into a project for the first time, I experienced an issue where the unity_temp_config file was being created with a double file extension unity_temp_config.json.json. This caused Genesis to not be able to find any plugins, and thus not generate any code.
Operating System:
macOS 12.3.1
Unity Version:
Unity 2021.3.0f1
Genesis Version:
v2.4.6
To Reproduce
Go through the normal installation process as described in the Genesis and Entitas Redux Wikis.
Expected behavior
The unity_temp_config file is created with the proper extension, i.e. unity_temp_config.json
Screenshots and Files:
Auto Import - Output.txt
Generate - Output.txt

Additional context

The Genesis.CLI folder is in the root of the project folder.
.NET 3.1 installed
Unity project is set to use .NET Framework 4.x
Clicking "Update Genesis CLI" in Genesis Project Settings says Genesis CLI is up-to-update.
Clicking "Install or Update Plugin" next to Entitas Redux says [Genesis] Successfully installed plugins for [Entitas Redux].

Hi @ryanwiesjahn. This has been fixed in Genesis v2.4.7  and Entitas Redux 2.1.4.


MacOS note re: pdftk version

PDFTk unfortunately does not link to the most recent MacOS version from their home page. So if a user of your library uses MacOS >= 10.11, PDFTk won't work at all but they'll likely blame the wrapper.
The correct PDFTk version is at https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/pdftk_server-2.02-mac_osx-10.11-setup.pkg
I emailed the author to update his page but this has been an open issue for a year: https://stackoverflow.com/questions/39750883/pdftk-hanging-on-macos-sierra

Thanks for point that out! I added a note to the README.

I think this issue shouldn't be closed - the README wasn't updated with the link. I wasted so much time because I got the link from the site but it just hung indefinitely.
OP's link needs to be in the README explicitly!

For others finding this, as @jelling pointed out, the filename is the giveaway.  If the filename of your installer doesn't mention osx 10.11, then you probably have the old one.

Please update the README!! I had the same issue and spend some time on debugging!

Sent Sid a message on Linkedin and over email. Let's see if it'll help..


Rework of Replicator CLI implamentation to use mitchellh/cli.

command package has now been added where all CLI commands are
configured and replicator now uses github.com/mitchellh/cli for
its top level commands.
This changes also introduces three new commands and removes the
old -config top level command. The commands, init, version, and
agent are now the top level commands which manipulate the
replicator binary.
The README has been updated and the dist example unit files has
been updated to reflect the new changes.
Closes #31
Closes #37

This looks fantastic - this will break the associated puppet module so we will need an update there as well.


Ek update pom repo

Looks good, just bummed that we integrations in one place and integration in another.  Nothing to do with this PR of course, but bit of an eye sore.


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from  to before v4.14.259",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=4bf81386e3d6e5083c93d51eff70260bcec091bb"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "4bf81386e3d6e5083c93d51eff70260bcec091bb",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "xen/netfront: harden netfront against event channel storms\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v4.14.259 by commit 4bf81386e3d6e5083c93d51eff70260bcec091bb. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2021-1002642


Can't click on playlist when is downloaded

It looks like the download icon on the playlist disturbs the cursor and cannot be clicked, it only works when clicking on the corner of the playlist. Playlists that are not downloaded can be clicked freely

I can't make screenshot with cursor.

@7evenlxrd what if we move download icon to a corner?
will it work in your opinion

It should work better than now sure

@7evenlxrd hello, is it still relevant?

closing as stale


Added KTITS (ktits.ru)

On official site of Ministry Of IT in Republic of Tatarstan (Russia) we have link to ktits.ru  (http://mic.tatarstan.ru/eng/gbou-spo-kazanskiy-elektrotehnikum-svyazi.htm)
But you can see name "GBPOU KAZAN ELECTRICAL TECHNICAL SCHOOL" , but it's wrong, because now we have another name "Kazan Technical School of Information Technologies and Communication".


Chore/fix sync bug multiple depedent changes

During a sync, if a word is created, then a definition is created, and there's more than one change to that definition, and all 3+ of those changes come via a sync at once there will be a failure due to a FK constraint, I suspect this is due to the creation of the definition happening before the word is created.

Looks good to me. There might be an edge case when applying commits to snapshots SnapshotWorker.ApplyCommitsToSnapshots, but that's only used for getting the state of an object at a point in time.
Let's merge it, I think you need to approve so it'll merge


Release 11.3.0

@abika5  Please resolve the conflicts and merge the PR

I will create my own PR with merged conflicts


Consume changes go-mod-core-contracts v0.1.56

Updates to edgex-go to consume changes to go-mod-core-contracts
from the following PRs:
https://github.com/edgexfoundry/go-mod-core-contracts/pull/233
https://github.com/edgexfoundry/go-mod-core-contracts/pull/231
This is being clubbed into one PR on the edgex-go side because both
PRs on go-mod-core-contracts have already been merged.
Fixes #2439 and Fixes #2480 in edgex-go.
Replaces ugorji/go with fxamacker/cbor for security reasons.
Reflects the system management client functionality being
moved from the "general" client in go-mod-core-contracts
to an "agent" client.
Signed-off-by: Daniel Harms<EMAIL_ADDRESS>PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://wiki.edgexfoundry.org/display/FA/Contributor's+Guide

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[x] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

Issue Number:
#2439 #2480
Does this PR introduce a breaking change?

[ ] Yes
[x] No

@jdharms in the old code you didn't modify, the call to ioutil.ReadAll(reader) in io.go can lead to denial of service attacks using large payloads (if another program is providing the data, etc.)
line 76:	bytes, err := ioutil.ReadAll(reader)

It would be safer to use io.LimitReader with a reasonable size limit appropriate for edgex-go and then pass the limited reader directly to the CBOR library for decoding.
Even without io.LimitReader, it's still safer to pass io.Reader directly to the decoder.
// optionally use io.LimitReader r with size limit appropriate to edgex-go
...
decoder := cbor.NewDecoder(reader)  // decoder will read in 512 byte chunks
err := decoder.Decode(&event)

Note: github.com/fxamacker/cbor has only two maintainers.

@bnevis-i  by comparison, the CBOR library used by edgex-go has zero contributors based on commit activity since August 15, 2019.  For context, security problems were found in Sep 2019.
If small team size (without context) is an indicator of risk, take a look at a 27 contributor CBOR library written in Rust looking for maintainers in part because the maintainer says,

Within the past year it became increasingly clear to me that I don't understand all the details and interactions of different features. This is in part because I accepted pull requests implementing new features but did not review the code thoroughly enough.

Number of contributors
Contributor counts (based on commits) from Aug 15, 2019 - Apr 8, 2020 are:

2 contributors -- fxamacker/cbor (proposed new CBOR library)
0 contributors -- ugorji/go (current CBOR library used by edgex-go)

Graphs showing activity from Aug 11, 2019 - Apr 8, 2020:
For fxamacker/cbor:

For ugorji/go:

Source:

https://github.com/fxamacker/cbor/graphs/contributors?from=2019-08-11&to=2020-04-08&type=c
https://github.com/ugorji/go/graphs/contributors?from=2019-08-11&to=2020-04-08&type=c

I agree with both comments @x448 has made. Please use a limited reader. Also consider making the limit a constant that we could possibly configure, defaulting to something we think sensible today. If you like, could make this a separate issue. For the future, do keep patches separate for different issues, easier on the reviewers.

I will make the change to use a limit reader and re-request.
I clubbed the PRs because currently both changes on the go-mod-core-contracts side have been merged, and they include interface changes (the sma client functionality).  This means any other go-mod-core-contracts changes won't be able to be used by EdgeX unless it incorporates these changes, so I wanted to unblock development there as quickly as possible.
In the future I'll keep them separate.

DIscussed the above bug with @jdharms and @michaelestrin. The requirements were clarified and Daniel will rework his changes in go-mod-core-contracts before creating another integration PR.


network evolve error: ReferenceError: regeneratorRuntime is not defined

Description
After updating to the latest version, network evolve crashes with this error:

Trace: ReferenceError: regeneratorRuntime is not defined
at X.n.evolve (/Volumes/RAID1/projects/twitterNeuralNetwork/node_modules/@liquid-carrot/carrot/dist/index.min.js:1:138618)

To Reproduce
I have not yet put together an example to show this bug, but can if you need
The evolve params were:
cost: MSE,
efficientMutation: true,
elitism: 2,
equal: true,
error: 0.05,
fitnessPopulation: true,
growth: 0.000058676602433414615,
iterations: 10,
mutation: [
{ name: 'ADD_NODE' },
{ name: 'SUB_NODE', keep_gates: true },
{ name: 'ADD_CONN' },
{ name: 'REMOVE_CONN' },
{ name: 'MOD_WEIGHT', min: -1, max: 1 },
{ name: 'MOD_BIAS', min: -1, max: 1 },
{ name: 'MOD_ACTIVATION', mutateOutput: true, allowed: [Array] },
{ name: 'SWAP_NODES', mutateOutput: true }
],
mutationAmount: 1,
mutationRate: 0.6947879778477388,
network: null,
popsize: 20,
populationSize: 20,
provenance: 0,
schedule: { function: [Function: function], iterations: 1 },
selection: { name: 'FITNESS_PROPORTIONATE' },
threads: 4,
population_size: 20,
mutation_rate: 0.6947879778477388,
mutation_amount: 1,
fitness_population: true,
max_nodes: undefined
Tasks

Update: version 0.3.18 works

Okay excellent, should we close this issue?

Okay excellent, should we close this issue?

No
Sorry, my update wasn't clear:
v0.3.18 works
v0.3.19 does not work

I think that's a bug with parcel bundler or webpack.

Also @christianechevarria @luiscarbonell we should implement a CI test that checks the build javascript files.

@tracycollins can you check if it works on this branch?
https://github.com/liquidcarrot/carrot/tree/FIX_244_regenerator_runtime_error

@tracycollins can you check if it works on this branch?
https://github.com/liquidcarrot/carrot/tree/FIX_244_regenerator_runtime_error

no, didn't work. fails with the same error.

What about this file? https://gist.github.com/raimannma/95706ec9af955a413b25161b72e075e9

@tracycollins can you check if it works on this branch?
https://github.com/liquidcarrot/carrot/tree/FIX_244_regenerator_runtime_error

no, didn't work. fails with the same error.

SORRY!
THIS DOES WORK
Pilot error when I tested it before.  Haven't tried your 2nd fix yet

Also, sorry for the delay. I'm in a class...

ok, so my first commit fixes your problem ?
If so, i would push it to master.

yes, push please

Just waiting for approve from @christianechevarria or @luiscarbonell .

I'm sorry, but it seems that this was never fixed; I had pinned the version to 0.3.18 and wasn't testing against the latest version, v0.3.20, which fails.
running on node 12.18.3
To reproduce, a file with only the following line fails with the error 'MODULE_NOT_FOUND'
let { Network, methods } = require('@liquid-carrot/carrot');

the error message:

internal/modules/cjs/loader.js:968
throw err;
^
Error: Cannot find module './architecture/network'
Require stack:

<EMAIL_ADDRESS>/Volumes/RAID1/projects/neuralNetworkTools/testing.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
at Function.Module._load (internal/modules/cjs/loader.js:841:27)
at Module.require (internal/modules/cjs/loader.js:1025:19)
at require (internal/modules/cjs/helpers.js:72:18)
at /Volumes/RAID1/projects/neuralNetworkTools/node_modules/@liquid-carrot/carrot/dist/index.min.js:1:166451
at Object. (/Volumes/RAID1/projects/neuralNetworkTools/node_modules/@liquid-carrot/carrot/dist/index.min.js:1:172944)
at Module._compile (internal/modules/cjs/loader.js:1137:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
at Module.load (internal/modules/cjs/loader.js:985:32)
at Function.Module._load (internal/modules/cjs/loader.js:878:14) {
code: 'MODULE_NOT_FOUND',
requireStack: [
<EMAIL_ADDRESS>'/Volumes/RAID1/projects/neuralNetworkTools/testing.js'
]
}

@christianechevarria Maybe this comes from the dependency updates in version 0.3.19

The issue particularly is in the dist so I'm guessing this is Webpack / Rollup related

Same issue with 0.3.20.
Cannot find module './architecture/network'


QR is printed twice and textEncoded could not align to center, how to decrease the large space come between text encoded words

import 'package:bluetooth_thermal_printer/bluetooth_thermal_printer.dart';
import 'package:esc_pos_utils_plus/esc_pos_utils.dart';

Future<List<int>> getTicket() async {
    List<int> bytes = [];
    CapabilityProfile profile = await CapabilityProfile.load();
    final generator = Generator(PaperSize.mm58, profile);
    const characterSet = 'CP1256';

   Uint8List encSeller = await CharsetConverter.encode(characterSet, "النجم السادس");
   bytes += generator.hr(ch: '=', linesAfter: 1);
   bytes += generator.qrcode("www.google.com", size: QRSize.Size8);
   bytes += generator.textEncoded(encSeller,
        styles: const PosStyles(
          height: PosTextSize.size2,
          width: PosTextSize.size2,
          align: PosAlign.center,
          bold: true,
        ));
    bytes += generator.text("${Utils.formatDate(DateTime.now())}",
        styles: const PosStyles(align: PosAlign.center), linesAfter: 1);

    bytes += generator.cut();
    return bytes;
  }

// I'm using IposPrinter thermal POS printer

Connect me whatsApp<PHONE_NUMBER>0618
On Tue, May 24, 2022, 4:30 PM Shiyas @.***> wrote:

How did you get the correct arabic text ? we are using epson printer
,arabic not printing correctly with encoding
—
Reply to this email directly, view it on GitHub
https://github.com/andrey-ushakov/esc_pos_utils/issues/70#issuecomment-1135927744,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABY5BME6BYY6TBQL4JUWYYDVLTKYXANCNFSM5P5LB4QQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

I have the same issue with this plugin.
@mustafa2011 did you manage to find any work around for this issue?

No, I didn't.
On Sat, Jul 23, 2022, 1:14 PM bashir yousufy @.***>
wrote:

I have the same issue with this plugin.
@mustafa2011 https://github.com/mustafa2011 did you manage to find any
work around for this issue?
—
Reply to this email directly, view it on GitHub
https://github.com/andrey-ushakov/esc_pos_utils/issues/70#issuecomment-1193100770,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABY5BMD6VOJ3OYUZRGRG6VLVVPAZLANCNFSM5P5LB4QQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


Old vulnerabilites in OpenSSL 3?

I got a message from a client, that a routine security check for our site detected vulerabilities originating from the OpenSSL.
This is the list of vulerabilities:
CVE-2016-0703
CVE-2009-1387
CVE-2014-3568
CVE-2015-1790
CVE-2017- 3735
CVE-2012-2110
CVE-2013-0166
CVE-2014-3470
CVE-2011-3210
CVE-2012-1165

As you can see, they are all really old.
The OpenSSL version that is installed on the server is:

Does it make sense? How can I check this?

The easiest way to be sure is to read the advisories for each of the mentioned CVEs and see what versions are impacted and what versions the issue was fixed in.  If they were fixed in a version below the version being used, you're not vulnerable.
I think it is unlikely there is a problem here but you need to check.

Are you sure there are no other versions of OpenSSL running on that server? I have not investigated the specific list of CVEs you provide but there are only 3 CVEs listed on the vulnerabilities page @paulidale links to that impact 3.0.5 and none of them are the ones you list. It looks like you either have a false positive, or you're not running the version of OpenSSL that you think you are.

I think php on apache is using a different version:

But from what I understand, that version (1.1.1l) is also relatively new, from around 2021 (though I don't understand the difference in the versioning , 1.1.x vs 3.0.x).
I don't think there is any other version on that server.

Version 1.1.1l was released on 24th August 2021.

I don't think there is any other version on that server.

If there is truly no other version on that server, then it is difficult to see how any OpenSSL vulnerabilities older than the above date would apply.


[BUG] Unable to change any cluster setting: all PUT /_cluster/settings fail with unknown setting [archived...] on an unrelated parameter

Describe the bug
Upgrading from OS 2.3.0 to 2.8.0, I am unable to change any cluster setting. All calls result in a 400. For example
PUT /_cluster/settings
{
  "persistent" : {
    "logger.org.opensearch.index.reindex" : "DEBUG"
  }
}

results in
{
  "error": {
    "root_cause": [
      {
        "type": "illegal_argument_exception",
        "reason": "unknown setting [archived.plugins.index_state_management.template_migration.control] did you mean any of [plugins.index_state_management.template_migration.control, opendistro.index_state_management.template_migration.control]?"
      }
    ],
    "type": "illegal_argument_exception",
    "reason": "unknown setting [archived.plugins.index_state_management.template_migration.control] did you mean any of [plugins.index_state_management.template_migration.control, opendistro.index_state_management.template_migration.control]?"
  },
  "status": 400
}

Host/Environment (please complete the following information):

OS: Windows
Version: 2.8.0

Additional context
To eliminate the archived, I had to:
PUT /_cluster/settings
{
  "persistent" : {
    "archived.plugins.index_state_management.template_migration.control": null
  }
}

PS, the expected behavior would be for archived.* to be ignored and not raise an exception.

This is how it works, by design. If there are any unknown settings, OpenSearch doesn't allow changing any other settings without clearing it.
While there are few gotcha's like #2609 chicken and egg problems, since they are archived we could consider them as non-existent. Its an enhancement instead of a bug :)

Sarat, this is not a feature request; it is a bug. The user did not add the "archived.*" setting; OpenSearch did. And now, the logs are riddled with errors.
While I was able to previously remove the setting, with 2.19.0, I no longer can do this.


Pooling/Concurrency

database/sql maintains an internal pool that can be safely accessed concurrently. Is gorm safe to be accessed via multiple goroutines?

Very good question and answer. I encounter the same question when I use gorm.

I suspect the fact that pooling wasn't working is that TCP KeepAlive was not set properly on the GCE VMs hosting the databases and/or on the local clients connecting to these databases. On Cloud SQL we explicitly tune KeepAlive to prevent transient breaks of long-lived database connections so that pooling will work effectively. I don't think this is specifically a Go or database/sql problem (unless there's more data to the contrary, in which case I'd be happy to help debug).

@badoet, thank you, I don't know why, but setting db.DB().SetMaxIdleConns(0) boosted performance by many times for me. I am able to handle much more requests per second now.

I suspect the fact that pooling wasn't working is that TCP KeepAlive was not set properly on the GCE VMs hosting the databases and/or on the local clients connecting to these databases. On Cloud SQL we explicitly tune KeepAlive to prevent transient breaks of long-lived database connections so that pooling will work effectively. I don't think this is specifically a Go or database/sql problem (unless there's more data to the contrary, in which case I'd be happy to help debug).

can you explain how you tune cloud SQL keep alive? I'm using cloud run to access cloud SQL and I'm seeing random (but often) aborting connection errors. (I do defer close db in my app).
Any suggestions would be helpful.


Enable support of budget in trajectory

Don't forget to change docs, this comes with SMAC v 0.12.1

Fixed in development


Mod 6 Fix Bug 88954

Change Instruction to open the visual studio as administrator

@roigodelman please resolve conflicts.


Links between deeply nested subfolders fails

Sorry, as I can't reopen the my last issue, I create a new :)
So, the problem still persist :
It doesn't seems to work, on my side at last (windows 11) :

Image are localized in assets/img who is in directly under docs (as docs/assets/img) and Mnémosyne folder is located in docs/Roleplay/Personnages/Mnémosyne
Note : I use, effectively, Windows 11.

Not sure if my issue is related to this, but I also encounter issues when using EZLinks.
In my case is it caused when using it alongside the i18n plugin.
A URL like /assets/images/cats.png in file docs/en/info/about.md results in ....\assets\images\cats.png being created which is obviously wrong.
Checking console prints warnings such as WARNING  -  Documentation file 'en\info\about.md' contains a link to 'en\about\..46.\assets\images\cats.png' which is not found in the documentation files.
This shows to me that there is some broken escaping of the \ which results in the dot . being turned into its character value (46).
This is a seriously annoying bug that I hope will be fixed soon.


Release 0.8.0.RC1

Resolved via https://github.com/r2dbc/r2dbc-mssql/commit/ea491aa73918d66d740c8153f61b647a5c14e4af.


The system-rust cargo packages bin dir is not added to PATH by the default rtx activation (should it be?)

Describe the bug
Hello! While rtx adds some folders to PATH as expected, it does not add ~/.local/share/rtx/installs/rust/system/bin, which I need to add manually. Is this expected, or a bug? I can justify either answer.
To Reproduce
I'm using rtx on Pop OS 22.04, with ~/.tool-versions:
python system
nodejs latest
rust   system
elm    latest

$ rtx current
python system
nodejs 19.8.1
rust system
elm 0.19.1

$ which cargo
/usr/bin/cargo

In my .zshrc, I activate rtx with
if (( $+commands[rtx] )) {
  eval "$(rtx activate zsh)"
  if [[ ! -r ${XDG_DATA_HOME:-~/.local/share}/zsh/site-functions/_rtx ]]  rtx complete -s zsh >${XDG_DATA_HOME:-~/.local/share}/zsh/site-functions/_rtx
}

Now when I install packages with cargo, I expected the binaries to end up in ~/.cargo/bin, but they are instead at ~/.local/share/rtx/installs/rust/system/bin. That's fine, but then I wonder if that should get automatically prepended to the PATH, which it currently is not:
$ print -rl $path
/home/andy/.local/share/rtx/installs/nodejs/19.8.1/bin
/home/andy/.local/share/rtx/installs/elm/0.19.1/bin
/home/andy/.local/bin
/usr/local/sbin
/usr/local/bin
/usr/sbin
/usr/bin
/sbin
/bin
/usr/games
/usr/local/games
/snap/bin
/usr/lib/execline/bin

Expected behavior
I expected ~/.local/share/rtx/installs/rust/system/bin to be added to my PATH by the rtx activation step.
But I don't know for sure if that's expected, as it's not a path to rustc or cargo itself.
rtx doctor output
rtx version:
  1.27.9 linux-x64 (a5246dc 2023-03-27)

build:
  Target: x86_64-unknown-linux-gnu
  Features: DEB
  Built: Mon, 27 Mar 2023 15:52:08 +0000
  Rust Version: rustc 1.68.0 (2c8cc3432 2023-03-06)
  Profile: release

shell:
  /usr/bin/zsh
  zsh 5.8.1 (x86_64-ubuntu-linux-gnu)

rtx environment variables:
  RTX_SHELL=zsh

settings:
  {"experimental": "false", "missing_runtime_behavior": "prompt", "always_keep_download": "false", "legacy_version_file": "true", "plugin_autoupdate_last_check_duration": "10080", "trusted_config_paths": "[]", "verbose": "false", "asdf_compat": "false", "jobs": "4", "disable_default_shorthands": "false", "log_level": "INFO", "raw": "false"}

config files:
  /home/andy/.tool-versions

plugins:
  elm      https://github.com/asdf-community/asdf-elm.git#df378ce
  nodejs   https://github.com/asdf-vm/asdf-nodejs.git#644ada3
  python   https://github.com/jdxcode/rtx-python.git#d7ea40b
  rust     https://github.com/code-lever/asdf-rust.git#0c88f99

toolset:
  python@system, nodejs@latest, rust@system, elm@latest

No problems found

~/.local/share/rtx/installs/rust/system/bin

I think you're misunderstanding the point of "system". That is for using a version of rtx installed on your system that was not provided by rtx.

Yes, assuming one of those times you say "rtx" you mean "rust or whichever runtime," I am expecting to use the rustc and cargo installed via apt. But the tools I install with cargo end up in that rtx folder. Is that intentional?

I don't see how that could happen. If I set rust to system in a vanilla alpine install it sets no env vars that would modify how cargo works:
/ # rtx x rust@system -- env
SHLVL=1
HOME=/root
TERM=xterm
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PWD=/
RTX_MISSING_RUNTIME_BEHAVIOR=warn

Yes I was surprised as well. I can take a closer look at everything in a couple of hours, but AFAIK I'm not setting any rtx/rust/cargo vars manually, and I have no rtx-installed rust/cargo runtimes.

My best guess is you were on an old version where there was a bug with system

Yes, seems to be all well now, I just
$ rm -rf ~/.local/share/rtx/installs/rust
$ rtx install  # nothing to install
$ cargo install ...

And this time ~/.cargo was created and populated, instead of ~/.local/share/rtx/installs/rust. I'm happy to see this closed as irrelevant for the current release, if you don't think it merits any further investigation.
Thanks!


Updated CipherSuites.FAST_CIPHER_SUITES

Now FAST_CIPHER_SUITES includes
TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 which is not provided
by default by current versions of the JVM, however can be taken
advantage of by using a native JSSE implementation.

@uschi2000


Case Studies Section - MOBILE (0.5 h)

Notes:

Hello @luigicr18 @mjbarnes88
1- Please take look at the "Client Case Studies" text it is not in the centered .

2- Learn more link is not appearing.

3-There is a white line between two Client Cases

Thanks

For mobile "Learn more" link shouldn't display.

Looks great! @luigicr18


chore(main): release faro-shop 0.50.0

:robot: I have created a release beep boop
0.50.0 (2024-10-05)
Features

Bump app to 0.38.11 (#828) (ecbf12d)
Bump app to 0.38.12 (#840) (3c5c09b)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

faro-shop-0.50.0
:sunflower:


Physical pinhole camera

The current pinhole camera isn't physical, it uses a very constrained ray geometry with zero etendue. Although the mean Radiance is usable, power makes no sense with this camera.
As an alternative, we could offer a physical pinhole camera. Arguments could include pinhole radius, distance to CCD and CCD dimensions.
CCD would use the new targeted pixel functionality for speed.

Added a demo with a pinhole camera using a TargettedCCDArray.


[UI Kit] Batch Submit

As a user, I need to be able to collect, sign, and submit items in a batch, so that I can easily register for roles, submit proposals, or cast votes with a single "transaction".

GIVEN a user that has selected roles / proposals / votes (dependent on context)
WHEN pull up the batch submission bottom rail
THEN show all selected choices
AND relevant metadata
AND available actions
AND summary
AND call to action SUBMIT (dependent on context)
GIVEN a user with the batch submit menu open
WHEN hit submit
THEN open submission confirmation modal
AC:

Component created
Component reviewed by team
Component incorporated into UI kit
Component ready to be used across prototypes

FYI @nielskijf


hongbo/arrayview to json

impl ArrayView::ToJson
info

Pull Request Test Coverage Report for Build 3478
Details

1 of 2 (50.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 82.595%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

builtin/json.mbt
1
2
50.0%

Totals

Change from base Build 3476:
0.2%

Covered Lines:
4100

Relevant Lines:
4964

💛  - Coveralls


Fix type annotations originating in property initializers being emitted in constructor

Fixes #31792

@typescript-bot test this

PR that broke this was https://github.com/microsoft/TypeScript/pull/30467, reverted in https://github.com/microsoft/TypeScript/pull/31807

Closing as #30467 was reverted


Error when copy a file

Hi Rambalac,
After mounting, I tried to copy a file from my local folder to the new mounted disk drive. An error occurred as you can see in the attached image.

But, when I click "Skip", the file is already copied.
Could you please take a look?
Thanks!

Just as workaround. If you copy files in explorer it's better and faster instead of normal pasting or dropping use Upload Here feature. For that you need to put selected files into clipboard by Ctrl+C or Copy in context menu and at the destination open context menu and select Upload Here.

I think this is an actual issue and should not be closed. It looks like a wrong error code is returned. Maybe someone can post logs and maybe ProcessMonitor logs as well?


Param 'default' is ignored

Given the following configuration, my dashboard still navigates to home and not to weather. Leading me to believe that 'default' is either not read or not used correctly.
view_timeout:
  timeout: true
  default: weather
  duration: 3000

See https://github.com/BWilky/viewtimeout/pull/13


Nuttx shmem

Summary
Impact
Testing

I'll still test this together with px4 shmem uorb

Thanks! I'll fix some of those tomorrow and test

Thanks @pussuw for all the comments!


Revert commit #861 that broke creation of kubeconfig

In #861 the temporary kubeconfig was disabled, and the permanent kubeconfig was used.
That broke the generation of kubeconfig from the new cluster credentials, which was created first as temporary file (with the oc login), and then as permanent file (with the oc status).

@kobihk This should fix the issue you faced on rhods-smoke/4078 where the kubeconfig that was created was empty, and thus the installation the cluster was deprovisioned.


UI tests & Android Emulator on GH Actions - System UI isn't responding alert when application loads

We started experiencing Espresso UI tests failing when being ran on GH Actions workflow. We have a logic to grab a screenshot of emulator screen when a given test fail, and right now it looks like all tests fail right after the application under test loads up - app's main window goes out of focus due to "System UI isn't responding" alert and tests fail because app's window is out of focus due to the alert and UI tests cannot find an element defined in the test itself (see attached screenshot).
That I think could potentially point us to some performance issue while the workflow is being run, however it's quite difficult to pinpoint exactly what would be the issue - if there's a way we could add some command to the .yaml workflow file to get you guys a proper log on that - please let me know. Potentially what I could do is to increase the timeout on which we wait for the element (to bypass the time it takes for the alert to disappear) but that seems only like a workaround and not the actual long-term solution.
Also, reading the docs at https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners it is my understanding that every single runner is being assigned 14gb of RAM, therefore I would assume RAM-wise, we should be good, however maybe there is some different performance issue on the runners right now? (e.g like the one mentioned at https://github.com/actions/virtual-environments/issues/2707)
Similarly to https://github.com/actions/virtual-environments/issues/3663 the same tests ran locally on the same codebase and branch are passing just fine.
Example of failing workflow https://github.com/baas-devops-reference/android-us-retail-app/actions/runs/1021523609
Virtual environments affected

[ ] Ubuntu 16.04
[ ] Ubuntu 18.04
[ ] Ubuntu 20.04
[X] macOS 10.15
[ ] macOS 11
[ ] Windows Server 2016
[ ] Windows Server 2019

Image version and build link
https://github.com/baas-devops-reference/android-us-retail-app/actions/runs/1021523609

Is it regression?
No response
Expected behavior
Same tests ran on the same codebase should pass locally and on the GH workflow run
Actual behavior
Tests are passing locally but failing on the GH workflow run
Repro steps

Execute a gh workflow pipeline that runs the Android emulator and UI tests (link to example workflow provided)

Hi @mazgajmaciek!
Unfortunately, we don't have access to your pipeline. Could you please provide minimal repro steps so we can debug the issue?
And a couple of questions:

Does any of the pieces of advice from this issue help? https://github.com/actions/virtual-environments/issues/2741
What Android emulator version do you use? There are 2 of them on macOS — the old one, which is in the path, and the most recent one available on $HOME/Library/Android/sdk/emulator/emulator

@miketimofeev thanks for a quick response!

Unfortunately, we don't have access to your pipeline. Could you please provide minimal repro steps so we can debug the issue?
We're using fastlane to build the build - which in the process executes two .sh scripts - first creates the emulator, 2nd one that's executed right after emulator creation, waits for it to boot. Once it's booted - gradle executes the tests.

emulator creation
`#!/usr/bin/env bash
Install AVD files
echo "y" | $ANDROID_HOME/tools/bin/sdkmanager --install 'system-images;android-30;google_apis;x86'
Create emulator
echo "no" | $ANDROID_HOME/tools/bin/avdmanager create avd -n google_pixel_xl -d pixel_xl -k 'system-images;android-30;google_apis;x86' -f
$ANDROID_HOME/emulator/emulator -list-avds
echo "Starting emulator google_pixel_xl"
Start emulator in background
nohup $ANDROID_HOME/emulator/emulator -avd google_pixel_xl -no-snapshot -no-window -no-audio -no-boot-anim -memory 4000 > /dev/null 2>&1 & sleep 5s`
waiting for emulator to boot:
#!/usr/bin/env bash sleep 10 echo "list of active devices: $($ANDROID_HOME/platform-tools/adb devices)" for n in $($ANDROID_HOME/platform-tools/adb devices | egrep -o  'emulator-(\d+)') do     echo "waiting for $n to boot"     $ANDROID_HOME/platform-tools/adb -s $n wait-for-device shell 'while [[ -z $(getprop sys.boot_completed | tr -d '\r') ]]; do sleep 1; done;'     echo "$n booted" done

Does any of the pieces of advice from this issue help? System UI isn't responding shows up on Android emulators #2741
Like I mentioned in my initial message - I can try increasing the timeout to basically wait for the alert to disappear however this seems to me like a workaround still. Maybe I should ask - do you know if potential runner performance issue could be causing that alert to appear in the first place?

What Android emulator version do you use? There are 2 of them on macOS — the old one, which is in the path, and the most recent one available on $HOME/Library/Android/sdk/emulator/emulator
I'm guessing I could potentially change nohup $ANDROID_HOME/emulator/emulator in the script that creates the emulator to $HOME/Library/Android/sdk/emulator/emulator to try if that makes any difference?

I'm guessing I could potentially change nohup $ANDROID_HOME/emulator/emulator in the script that creates the emulator to $HOME/Library/Android/sdk/emulator/emulator to try if that makes any difference?

I believe it makes no sense since $ANDROID_HOME is $HOME/Library/Android/sdk/ so you are definitely on the latest emulator version.

Like I mentioned in my initial message - I can try increasing the timeout to basically wait for the alert to disappear however this seems to me like a workaround still. Maybe I should ask - do you know if potential runner performance issue could be causing that alert to appear in the first place?

Could you try to increase it anyway until we make further investigation? The runner has only 3 cores at the moment and the performance can be poor sometimes, we will try to reproduce the issue and find potential improvements point.

I'm guessing you'd need more than that so if you could point me what exactly do you need - I'd be more than happy to help.

We will start with those steps and ask for details if needed, thank you!

@miketimofeev sure I can try with increasing timeout for the interim solution. One more question though - in your opinion could we potentially try to switch from macos 10.15 to using Windows/Ubuntu runners? I wonder where they're at when it comes to no of cores?

@mazgajmaciek I'm not aware of emulator performance issues on either windows or ubuntu VMs, so let's give it a try if it's possible.

@miketimofeev @dsame do we have any update on this issue maybe?

@mazgajmaciek
yes, the root of the problem identified by this moment is Google Services bundled SDK 30 and the overall performance of the hosts.
While we still can not solve the performance issue with SDK30 there's a workaround to detect the "System UI isn't responding" alert and simulated the click on it.
Take a look at this pipeline: https://github.com/akv-platform/espressodemo/blob/main/.github/workflows/blank.yml step run emulator
This lets emulator to work in most cases but in ~20% of builds we still see another popup saying "Google Services not responding". We still working on it.
Besides that please pay attention to modify config.ini step - there's evidences the setting memory size can change the behaviour a bit.
And finally you can try to use an image without google-api in case if your app does not require them.

thank you @dsame, I'll try to apply the workaround and post the results here.

@mazgajmaciek
For better results there should be only one KEYCODE_DPAD_DOWN while dismissing "System Not Responding" alert:
 76             *"Not Responding: com.android.systemui"*)
 77               echo "Dismiss System UI isn't responding alert"
 78               # adb shell input keyevent KEYCODE_DPAD_DOWN
 79               adb shell input keyevent KEYCODE_DPAD_DOWN
 80               adb shell input keyevent KEYCODE_ENTER

The roadmap to solve the problem:

use the script to launch the emulator and make sure there are no any pop ups:

nohup "$ANDROID_HOME/emulator/emulator" -avd TestAvd -no-snapshot -no-window -no-audio -no-boot-anim -accel on -wipe-data 2>&1 &

        echo "Waiting for device..."
        $ANDROID_HOME/platform-tools/adb wait-for-device shell true
        echo "Android is booting..."

        EMU_BOOTED=0
        n=0
        first_launcher=1
        echo 1 > /tmp/failed
        while [[ $EMU_BOOTED = 0 ]];do
            echo "Test for current focus"
            #        $ANDROID_HOME/platform-tools/adb shell dumpsys window
            CURRENT_FOCUS=`$ANDROID_HOME/platform-tools/adb shell dumpsys window 2>/dev/null | grep -i mCurrentFocus`
            echo "Current focus: ${CURRENT_FOCUS}"
            case $CURRENT_FOCUS in
            *"Launcher"*)
              if [[ $first_launcher == 1 ]]; then
                echo "Launcher seems to be ready, wait 10 sec for another popup..."
                sleep 10
                first_launcher=0
              else
                echo "Launcher is ready, Android boot completed"
                EMU_BOOTED=1
                rm /tmp/failed
              fi
            ;;
            *"Not Responding: com.android.systemui"*)
              echo "Dismiss System UI isn't responding alert"
              adb shell input keyevent KEYCODE_ENTER
              adb shell input keyevent KEYCODE_DPAD_DOWN
              adb shell input keyevent KEYCODE_ENTER
              first_launcher=1
            ;;
            *"Not Responding: com.google.android.gms"*)
              echo "Dismiss GMS isn't responding alert"
              adb shell input keyevent KEYCODE_ENTER
              first_launcher=1
            ;;
            *"Not Responding: system"*)
              echo "Dismiss Process system isn't responding alert"
              adb shell input keyevent KEYCODE_ENTER
              first_launcher=1
            ;;
            *"ConversationListActivity"*)
              echo "Close Messaging app"
              adb shell input keyevent KEYCODE_ENTER
              first_launcher=1
            ;;
            *)
              n=$((n + 1))
              echo "Waiting Android to boot 10 sec ($n)..."
              sleep 10
              if [ $n -gt 60 ]; then
                  echo "Android Emulator does not start in 10 minutes"
                  exit 2
              fi
            ;;
            esac
        done
        echo "Android Emulator started."

sample build: https://github.com/akv-platform/espressodemo/runs/3132275577?check_suite_focus=true
The suggested script is not 100% robust because there might be another pop ups from the Android System and Google Services: use the  output of "echo "Current focus: ${CURRENT_FOCUS}" to identify it and add the extra branches to close the popup.

Use API levels below 30 for faster emulator launch
Use emulator images without google service api to avoid the pop ups
To reduce the probability of the pop up increase the memory available to emulator device:

        echo 'hw.ramSize=2048MB' >> ~/.android/avd/[Emulator Name].avd/config.ini

@mazgajmaciek i am finishing the investigation of this problem  and am not going to provide info within this issue but please feel free to give us more feedback and reopen the issue if needed.

@dsame

Use emulator images without google service api to avoid the pop ups

Do you happen to know how one can verify which ones are using google service api and which are not?

@dsame

Use emulator images without google service api to avoid the pop ups

Do you happen to know how one can verify which ones are using google service api and which are not?

it is in package name used to create avd
    - name: create AVD
      run: |
        export API=`echo ${{matrix.api}}|cut -f 2 -d'-'`
        if [ $API == 28 ]
        then
          export PACKAGE="system-images;android-${API};google_apis;x86"
          export ABI="google_apis/x86"
        else
          export PACKAGE="system-images;android-${API};google_apis;x86_64"
          export ABI="google_apis/x86_64"
        fi

I am closing the issue with the workaround suggested


[WIP] Update ECS::Service/Props/Role to accept Role name

Description of changes:
Hi, there. Thank you for providing nice tool 😉
I realized that AWS::ECS::Service/Properties/Role can take name or ARN of IAM role but our definition accepts just only arn.
Documentation:

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-role

The reason I put WIP is that, I tried to change ValueType from IamRole.Arn to IamRole.NameOrArn but cfn-lint still raises E3008 Property "..." has no valid Refs to Resources at .... And I don't know why...
I used with official example yaml file provided here: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#aws-resource-ecs-service-examples
My environment and what I did is here. Any advice would be appreciated.

Env: Python 2.7.15
Operations:

$ python setup.py build
$ python setup.py install
$ easy_install dist/cfn_lint-0.18.1-py2.7.egg

Yea, sorry that can be a little confusing.  You need to run cfn-lint --update-specs which will run the process to actually patch the specs.  I use pip install -e . to have the update the appropriate files.  I also don't mind merging this and making that call myself in another pull request if that would help.  We run that update process a lot either way.

@kddejong
Thank you! I ran $ cfn-lint -u and confirmed that AWS::ECS::Service/Properties/Role accepts IAM name (also updated this PR description).
Would you mind approving this PR?


Docker container for easy deployment & offline run

Let's turn the whole website to docker (docker.com) for easy deployment and offline availability.
The updates of the new EPSG database to be automated as well -  in cooperation with the publishers.

We can get inspired in the dockerizing KlokanTech made at: https://github.com/klokantech/hawk

First version done.
See: https://hub.docker.com/r/klokantech/epsg.io/
Compatible with Kitematic!


        var alovelaceDocumentRef = db.collection('users').doc('alovelace');

https://github.com/firebase/snippets-web/blob/a5f85504926b45e92dacdbbd1fa4be3ce73c5d44/firestore/test.firestore.js#L158-L158

@kiminbum81 what's the issue you are reporting?

Closing due to inactivity.


CloudSQLInstance keeps modifying the instance

What happened?
After creating a CloudSQLInstance, the system keeps trying to make modifications to it. This can be seen in the console itself (the instances are perpetually in a state of being modified) and in the state.atProvider.settingsVersion, which keeps incrementing every few seconds. Sadly, there's nothing logged in stack-gcp or the other crossplane Pods that give any indication what it's trying to do.
How can we reproduce it?
This is the resource we created:
apiVersion: database.gcp.crossplane.io/v1beta1
kind: CloudSQLInstance
metadata:
  annotations:
    crossplane.io/external-name: infra-xplane-test-jkgk7
  creationTimestamp: "2020-02-07T14:03:51Z"
  finalizers:
  - finalizer.managedresource.crossplane.io
  generateName: infra-xplane-test-
  generation: 2
  name: infra-xplane-test-jkgk7
  resourceVersion: "35099427"
  selfLink: /apis/database.gcp.crossplane.io/v1beta1/cloudsqlinstances/infra-xplane-test-jkgk7
  uid: 0201d2c2-3418-4d55-8f7f-18efd83d8e4a
spec:
  claimRef:
    apiVersion: database.crossplane.io/v1alpha1
    kind: PostgreSQLInstance
    name: xplane-test
    namespace: infra
    uid: 8f12b8aa-1691-486b-9694-4a9c854e1a6b
  classRef:
    apiVersion: database.gcp.crossplane.io/v1beta1
    kind: CloudSQLInstanceClass
    name: postgres-9.6
    uid: fa73b0ff-9f9b-4786-84b2-9f89153ceb4a
  forProvider:
    databaseVersion: POSTGRES_9_6
    gceZone: europe-west1-d
    instanceType: CLOUD_SQL_INSTANCE
    region: europe-west1
    settings:
      activationPolicy: ALWAYS
      backupConfiguration:
        binaryLogEnabled: false
        enabled: false
        startTime: "09:00"
      dataDiskSizeGb: 10
      dataDiskType: PD_SSD
      ipConfiguration:
        privateNetwork: projects/redacted/global/networks/default
      locationPreference:
        zone: europe-west1-d
      pricingPlan: PER_USE
      replicationType: SYNCHRONOUS
      storageAutoResize: true
      storageAutoResizeLimit: 500
      tier: db-g1-small
  providerRef:
    name: redacted-crossplane-provider
  reclaimPolicy: Delete
  writeConnectionSecretToRef:
    name: 8f12b8aa-1691-486b-9694-4a9c854e1a6b
    namespace: infra
status:
  atProvider:
    backendType: SECOND_GEN
    connectionName: redacted:europe-west1:infra-xplane-test-jkgk7
    gceZone: europe-west1-d
    ipAddresses:
    - ipAddress: <IP_ADDRESS>
      type: PRIVATE
    project: redacted
    selfLink: https://www.googleapis.com/sql/v1beta4/projects/redacted/instances/infra-xplane-test-jkgk7
    serviceAccountEmailAddress<EMAIL_ADDRESS>    settingsVersion: 58
    state: RUNNABLE
  bindingPhase: Bound
  conditions:
  - lastTransitionTime: "2020-02-07T14:03:53Z"
    reason: Successfully resolved resource references to other resources
    status: "True"
    type: ReferencesResolved
  - lastTransitionTime: "2020-02-07T14:08:35Z"
    reason: Resource is available for use
    status: "True"
    type: Ready
  - lastTransitionTime: "2020-02-07T14:03:55Z"
    reason: Successfully reconciled resource
    status: "True"
    type: Synced

No settings were changed after the creation. Here's a screenshot from the console:

What environment did it happen in?
Crossplane version: 0.7.0
Stack GCP version: 0.5.0
Kubernetes version: 1.15.9
Let me know if you need any additional information!

@timstoop thanks for providing such a detailed description! I have self-assigned this issue and will make sure to follow-up here 👍

@hasheddan To add more information:
On stackdriver logging, a lot of this errors are raised:
{
 insertId: "lnj9zhe12c1s"
 logName: "projects/tksvas6-service-0-45995/logs/cloudaudit.googleapis.com%2Factivity"
 protoPayload: {
  @type: "type.googleapis.com/google.cloud.audit.AuditLog"
  authenticationInfo: {
   principalEmail<EMAIL_ADDRESS>
  }
  authorizationInfo: [
   0: {
    granted: true
    permission: "cloudsql.instances.update"
    resource: "instances/tks-system-banco2-gfzlc"
    resourceAttributes: {
    }
   }
  ]
  methodName: "cloudsql.instances.update"
  request: {
   @type: "type.googleapis.com/google.cloud.sql.v1beta4.SqlInstancesPatchRequest"
   body: {
    databaseVersion: "POSTGRES_11"
    gceZone: "us-east1-b"
    instanceType: "CLOUD_SQL_INSTANCE"
    name: "tks-system-banco2-gfzlc"
    region: "us-east1"
    settings: {
     activationPolicy: "ALWAYS"
     backupConfiguration: {
      startTime: "04:00"
     }
     dataDiskSizeGb: "20"
     dataDiskType: "PD_SSD"
     databaseFlags: [
      0: {
       name: "max_connections"
       value: "500"
      }
     ]
     ipConfiguration: {
      ipv4Enabled: false
      privateNetwork: "projects/tksvas6-45995/global/networks/tksvas6"
     }
     locationPreference: {
      zone: "us-east1-b"
     }
     pricingPlan: "PER_USE"
     replicationType: "SYNCHRONOUS"
     storageAutoResize: true
     tier: "db-custom-1-3840"
    }
   }
   instance: "tks-system-banco2-gfzlc"
   project: "tksvas6-service-0-45995"
  }
  requestMetadata: {
   callerIp: "gce-internal-ip"
   destinationAttributes: {
   }
   requestAttributes: {
    auth: {
    }
    time: "2020-02-07T14:50:04.090Z"
   }
  }
  resourceName: "instances/tks-system-banco2-gfzlc"
  response: {
  }
  serviceName: "cloudsql.googleapis.com"
  status: {
   code: 2
   message: "UNKNOWN"
  }
 }
 receiveTimestamp: "2020-02-07T14:50:04.398595480Z"
 resource: {
  labels: {
   database_id: "tksvas6-service-0-45995:tks-system-banco2-gfzlc"
   project_id: "tksvas6-service-0-45995"
   region: "us-east1"
  }
  type: "cloudsql_database"
 }
 severity: "ERROR"
 timestamp: "2020-02-07T14:50:04.086Z"
}```

Hope this information helps.

I have been working through this issue, which is being caused by our late initialization behavior, and I have discovered that the problem is not how we are doing late initialization, our functionality there actually makes sense. If we removed the current functionality we would end up setting fields in the spec of our managed resources to "" and other zero values. The problem is rather that we are using the same late initialization to do comparison, which is a fundamentally different operation.
In the first case, we are saying here is this mostly populated spec. If we did not provide a value in the spec and we see that it is set on the cloud provider, go ahead and update it here.
The second case is a very different. We are saying here is a guaranteed empty spec. Please fill it with the values from the cloud provider.
The issue is that we are not respecting both Crossplane and the cloud provider's serialization habits. Even if a cloud provider has omitempty on a field that they return, we get the zero value rather than the missing field. However, if we then marshalled the struct from the cloud provider to JSON bytes, we get the exact representation that they intended for us to have. Now currently, we are trying to translate everything into "Crossplane-language" for comparison, but that doesn't make much sense. We know how we want to translate Crossplane to the cloud provider, but we don't know as much about how to translate the cloud provider to Crossplane. Furthermore, it creates extra work to try and do both translations when we really only need one. Therefore, I feel as though it makes much more sense to translate Crossplane to the cloud provider, then compare.
This is relatively easy with something like CloudSQL, where there is only a single patch operation:
Old:
func IsUpToDate(in *v1beta1.CloudSQLInstanceParameters, currentState sqladmin.DatabaseInstance) bool {
	currentParams := &v1beta1.CloudSQLInstanceParameters{}
	LateInitializeSpec(currentParams, currentState)
	return cmp.Equal(in, currentParams, cmpopts.IgnoreInterfaces(struct{ resource.AttributeReferencer }{}))
}

New (this needs to be cleaned up but you get the idea):
func IsUpToDate(in *v1beta1.CloudSQLInstanceParameters, currentState sqladmin.DatabaseInstance) bool {
	test := *in
	test.Settings.IPConfiguration.PrivateNetworkRef = nil
	database := GenerateDatabaseInstance(test, "test-sql")
	b, _ := json.Marshal(database)
	b2, _ := json.Marshal(&currentState)
	return cmp.Equal(b, b2)
}

You can see that we are now generating the GCP representation of CloudSQLInstance, then comparing, rather than trying to generate a Crossplane representation for comparison. By marshalling the structs to JSON, we take advantage of GCP's omitempty preferences, so we are allowing it to declare which zero values should be omitted.
The top two negatives to this are:

Ignoring the ref's is a little bit more cumbersome, but I think we can actually give them a json:"-" tag (depending on how this affects the CRD generation).
More complicated APIs (like GKECluster) require you to determine where the diff occurs such that the correct update method can be called. This is more challenging (but not impossible) when marshalling to JSON then comparing.

I have tested this out with the issues described above, and this appears to be functioning properly.

@hasheddan Great summary, thank you!
One thing about json comparison is that by nature JSON is unordered. So, the marshal operation will probably give you the results in a specific order but it won't guarantee that, especially when the diff is large. So, we need to use an ordering option on cmp or something like Equate..(we have something similar somewhere).

cmp.Equal will treat the marshaled JSONs as []byte and it doesn't seem like it has a special mechanism to actually see that they are JSON. I'm almost sure that there is no way to provide a reliable Option for that type's comparison, since it's pretty much raw data and this would lead some false positives when the ordering of the keys change while their name or value stay the same.
Also our spec is a subset of the provider's struct and the generated struct instance will not have, for example, the fields that we put under status. Like our generated provider object won't have creationTimestamp where as actual state object will and that will cause a false positive during comparison. So, this may not work in different cases.
What we could do is that we'd copy the retrieved provider struct instance and make GenerateDatabaseInstance function take it as parameter and work on that already filled object field by field. Then compare the resulting object with the fetched object. If there is any difference, then we'll see. However, this comes with a caveat that when we use GenerateDatabaseInstance to actually generate an object to be used in Patch or Insert, developer should call it via an empty DatabaseInstance object so that we don't try to send a status field like creationTimestamp in those requests, which could cause the request to fail because those are [Output Only].
New:
func IsUpToDate(in *v1beta1.CloudSQLInstanceParameters, currentState sqladmin.DatabaseInstance) bool {
        desired := &currentState.DeepCopy() // or some other method to get a deep copy
	GenerateDatabaseInstance(in, desired)
	return cmp.Equal(desired, currentState, cmpopts.EquateSliceOrderings)
}

// In other places
obj := &sqladmin.DatabaseInstance{}
GenerateDatabaseInstance(spec, obj)
if err := gcp.Insert(...); err != nil {return err} ...

@muvaf thanks for diving into this more! I think what you are proposing here is a drastically better solution. I'll do some experiments here and open up a preliminary PR for your review :)

Why is this issue closed? I still can see this behavior happening

@b4nst we believed we diagnosed and fixed the issue in https://github.com/crossplane/provider-gcp/pull/166, and have not had any recent reports over the last year to my knowledge. Please raise a new issue for the issue you're seeing, including examples of any XRs, Compositions, and the CloudSQLInstance you're using.


Creating new file for new function to take two filter channel name

Will add shortly

Can we close this?

Yes, @nabobalis. Example where new method is used. https://github.com/HinodeXRT/xrtpy/pull/288/files


Added logic for checkign gcp nats on instances, will skip hosts without a NAT ip

This code should change how the Nat IP checking works, it should skip hosts that do not have a public IP attached to the VM instances in GCP

@maximillianbrain1 Could you review this PR when you get a chance? thanks!!

@maximillianbrain1 I believe I've added the changes you've requested, I think the code now checks for the variable that contains the network interfaces & AccessConfig Structs

@maximillianbrain1 when you get a moment, could you review this PR? I was able to fix this with the latest commit. Thanks!! :)


How to access characters in string arrays

Hi, I would like to implement a "vectorized" hash map that operates on arrays of strings. To do that I would like to be able to implement a "vectorized" hash function:
@jit(nopython=True)
def vectorized_hash(keys):
    hashed_keys = np.zeros(len(keys), dtype='int32')
    for k in keys:
         # hash function here
     return hashed_keys

keys = np.array(["Li", "Cl", "Li", "Li"])
vectorized_hash(keys)
# That would return a set of hashed values

The problem is that, while I can iterate over the strings, I can't iterate over the characters of the strings:
Failed at nopython (nopython frontend)
Invalid usage of getiter with parameters ([char x 2])
 * parameterized
File "<ipython-input-764-ce1caada3cb0>", line 4

Is there a way to iterate over characters?

This is currently not possible. For that we should add general support for strings in Numba.

I am also interested in adding general support for strings.
At least try to use a function that converts {a,e,i,o,u,space,b,c,d} to {1,2,3,4,5,6,7,8,9}
So, when we type any of the 9 characters, a function should generate a number based on the string values: 'ae bi' = int(12673) . As a workaround I find it much better to have at least 9 character support for comparison then not to have at all. If what I'm saying is doable, please make a feature request

As of Numba 0.47.0 this works:
from numba import njit
import numpy as np

@njit
def vectorized_hash(keys):
    hashed_keys = np.zeros(len(keys), dtype=np.int32)
    for k in keys:
         print(k)
    return hashed_keys

keys = np.array(["Li", "Cl", "Li", "Li"])
vectorized_hash(keys)

Closing.

It doesn't work


Bicep or Terraform?
Bicep
Module Classification?
Resource Module
Module Name
avm/res/data-protection/backup-vault
Module Details
This module was migrated from CARML by @segraef without an owner.
Note: when someone volunteers to be the owner of this module, please reach out to @segraef to for changing the ownership of the existing GitHub teams as well.

Module proposal: https://github.com/Azure/Azure-Verified-Modules/issues/461
PR: https://github.com/Azure/bicep-registry-modules/pull/797

Do you want to be the new owner of this module?
No
Module Owner's GitHub Username (handle)
No response
(Optional) Secondary Module Owner's GitHub Username (handle)
No response

@segraef  I'd like to volunteer to be the owner of this module

@segraef I'd like to volunteer to be the owner of this module

Fine with that, can we have your name please and triggering @matebarabas to initiate the process with you.

Matthew Schmitt is my name. Looking forward to contributing

Hi @hundredacres,
Thanks for requesting/proposing to be an AVM module owner!
We just want to confirm you agree to the below pages that define what module ownership means:

Team Definitions & RACI
Shared Specification (Bicep & Terraform)
Module Support

Any questions or clarifications needed, let us know!
If you agree, please just reply to this issue with the exact sentence below (as this helps with our automation 👍):
"I CONFIRM I WISH TO OWN THIS AVM MODULE AND UNDERSTAND THE REQUIREMENTS AND DEFINITION OF A MODULE OWNER"
Thanks,
The AVM Core Team
#RR

I CONFIRM I WISH TO OWN THIS AVM MODULE AND UNDERSTAND THE REQUIREMENTS AND DEFINITION OF A MODULE OWNER

Hi @hundredacres,
Thanks for confirming that you wish to own this AVM module and understand the related requirements and responsibilities!
We just want to ask you to double check a few important things.
Please use the following values explicitly as provided in the module index page:

You must be the owner of the GitHub teams as outlined here.
Please check that your name has been updated in the module index page (this should happen shortly after you confirmed ownership).

You can now take ownership of this module and start improving it as needed! ✅ Happy coding! 🎉
Any further questions or clarifications needed, let us know!
Thanks,
The AVM Core Team

@hundredacres, since this module has been migrated by @segraef, he's created the required GH teams. Please work with him to take ownership over these teams and let me know in a comment here when it happened. Thanks!

@hundredacres, since this module has been migrated by @segraef, he's created the required GH teams. Please work with him to take ownership over these teams and let me know in a comment here when it happened. Thanks!

Approved https://github.com/orgs/Azure/teams/avm-res-dataprotection-backupvault-module-owners-bicep/members.

Thank you, @hundredacres, for the updates and thanks for volunteering to own this module as of now. I'm closing this issue now.
@segraef, please make @hundredacres a maintainer of these two teams too!


Passing Headers in Gql Functions

Environment

Operating System: Linux
Node Version:     v16.18.0
Nuxt Version:     3.7.1
CLI Version:      3.8.3
Nitro Version:    2.6.3
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      runtimeConfig, devtools, modules
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Describe the bug
There is seemingly no way to pass headers to Gql Functions: https://nuxt-graphql-client.web.app/getting-started/gql-functions
This is an issue because if I want to use a Gql Function in a server route, the Token is no longer included in the request. I would like to be able to just extract the token from the event headers and pass it manually into the function so I can use the Gql Function server side.
Expected behaviour
To be able to pass an options object or something like that where I can specify headers.
Reproduction
No response
Additional context
No response
Logs
No response

what about passing headers with this composable?
https://nuxt-graphql-client.web.app/getting-started/composables#usegqlheaders
useGqlHeaders({ 'X-Custom-Header': 'value' })```

It seems like a duplicate of #328.

what about passing headers with this composable? https://nuxt-graphql-client.web.app/getting-started/composables#usegqlheaders
useGqlHeaders({ 'X-Custom-Header': 'value' })```

Sometimes I do not want to set token/header for all subsequent requests.


Document installation procedure [JIRA: CLIENTS-692]

A fresh Ubuntu or CentOS machine will require many dependencies to be present to install the Riak Python Client. This needs to be documented.

Ubuntu Trusty docker file:
FROM ubuntu:trusty
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
RUN apt-get install -y python-dev python-pip libffi-dev libssl-dev
RUN pip install cryptography riak
ENTRYPOINT /usr/bin/python


Strange crash in project (Not urgent)

Hi,
So everything works well within my test project. But when i move it over to my main project, i get a few crashes in the editor.
In suspecting this has something to do with a race condition. The crashes happen about 10 seconds after i end play in editor mode.
On debugging, here is where it crashes:
I keep continuing to get the next few images.
A breakpoint instruction (__debugbreak() statement or a similar call) was executed in UnrealEditor.exe.
Exception thrown at 0x00007FF89C019FF3 (UnrealEditor-Core.dll) in UnrealEditor.exe: 0xC0000005: Access violation reading location 0x0000000000000001.

And then keeps cycling in the same area -

'''Exception thrown at 0x00007FF89C019FF3 (UnrealEditor-Core.dll) in UnrealEditor.exe: 0xC0000005: Access violation reading location 0x0000000000000001.
Unhandled exception at 0x00007FF89C019FF3 (UnrealEditor-Core.dll) in UnrealEditor.exe: 0xC0000005: Access violation reading location 0x0000000000000001.
Exception thrown at 0x00007FF89C019FF3 (UnrealEditor-Core.dll) in UnrealEditor.exe: 0xC0000005: Access violation reading location 0x0000000000000001.
Unhandled exception at 0x00007FF89C019FF3 (UnrealEditor-Core.dll) in UnrealEditor.exe: 0xC0000005: Access violation reading location 0x0000000000000001.
Exception thrown at 0x00007FF89C019FF3 (UnrealEditor-Core.dll) in UnrealEditor.exe: 0xC0000005: Access violation reading location 0x0000000000000001.
Unhandled exception at 0x00007FF89C019FF3 (UnrealEditor-Core.dll) in UnrealEditor.exe: 0xC0000005: Access violation reading location 0x0000000000000001.
Exception thrown at 0x00007FF89C019FF3 (UnrealEditor-Core.dll) in UnrealEditor.exe: 0xC0000005: Access violation reading location 0x0000000000000001.
Unhandled exception at 0x00007FF89C019FF3 (UnrealEditor-Core.dll) in UnrealEditor.exe: 0xC0000005: Access violation reading location 0x0000000000000001.
Exception thrown at 0x00007FF89C019FF3 (UnrealEditor-Core.dll) in UnrealEditor.exe: 0xC0000005: Access violation reading location 0x0000000000000001.
Unhandled exception at 0x00007FF89C019FF3 (UnrealEditor-Core.dll) in UnrealEditor.exe: 0xC0000005: Access violation reading location 0x0000000000000001.
Exception thrown at 0x00007FF89C019FF3 (UnrealEditor-Core.dll) in UnrealEditor.exe: 0xC0000005: Access violation reading location 0x0000000000000001.
'''
This is after pressing continue a bunch of times.

Could you offer logs for more details? Any clues in the Call Stack?

@HereafterMills , we want to check if this issue has been resolved.  Did you find the cause from the log file? Another hint from a common pitfall is that the Agora engine did not get properly disposed when the game stop playing.  That would cause similar crashing issue in the Editor like you experience.

This still happens for me in my project but not in the example template. @icywind
You're probably correct about the cause, bit I'm not sure how to resolve it.
Fir now, iv disabled voice in the editor

@WinterPu Was trying to get the logs, but unreal doesnt write anything in the logs. Which is why i had to run it in debug mode to get the call stack

This still happens for me in my project but not in the example template. @icywind
You're probably correct about the cause, bit I'm not sure how to resolve it.
Fir now, iv disabled voice in the editor

Here are some code snippet copied from the examples:
void UAgoraVideoWidget::UnInitAgoraEngine()
{
	if (RtcEngineProxy)
	{
		RtcEngineProxy->leaveChannel();
		RtcEngineProxy->unregisterEventHandler(UserRtcEventHandler.Get());
		RtcEngineProxy->release();
		RtcEngineProxy = nullptr;
		UBFL_Logger::Print(FString::Printf(TEXT("%s release agora engine"), *FString(FUNCTION_MACRO)), LogMsgViewPtr);
	}
}

Call this when quitting the app.  See if that works on your project?

I'm using the blueprint example though. Should I create c++ class and try this?

This is what im currently doing. However, i am running this code in my game instance as follows:

This is a platform game instance where onApplicationWillTerminate is called anyway at shutdown.


buuk does not display pictures.

Something I've noticed is that when running buuk watch, no pictures are displayed. Yet after building the site itself, pictures are shown.
Is this an intentional design decision? Is there a way to enable it as a toggle-able feature if so?

Actually, this seems to be something that broke since I last tested with an older version: images are in the same location as before, but both buuk watch and buuk build seem to show an "X" where the pictures should be.

It seems like you need to reference a relative path from your markdowns for buuk to find your pictures (../static/img/your_image.png).
This is indeed not ideal, I'll try to think of another way (need to update the doc in the meantime 😕  )

I can confirm, I needed to add the ../ to the beginning of my image links. Not ideal, no - but it works!

Well in this case, I'll close the issue! 🎉


Error negative dimension creating resnet50,

Hello.
I have a problem while creating a resnet50 network. I used your script to create my network, but I have this error:
"ValueError: Negative dimension size caused by subtracting 7 from 3 for 'avg_pool/AvgPool' (op: 'AvgPool') with input shapes: [?,3,3,2048]."
The neural layers are the same that you use in your code, so I don't know what is the issue.
I use tensorflow 1.3 and keras 2.0.6 in ubuntu using anaconda and spyder.
I have the same problem while creating GoogLeNet v1... I don't know what to do because I'm noob in deep learning.
Thank you very much.

Check the keras.json file
If it has "channels first", the first layer of the model must have the input_shape as
input_shape=(channels.img_rows, img_cols)
Otherwise the input shape must be
input_shape=(img_rows, img_cols,channels)
This should solve the negative dimension error

hello vaibhav! thank you for your reply.
I found the problem. It is about the size of the image and the number of the strides in maxpool and avgpool, if the image is too small the strides has to be small.

Detailed explenation by lewfish.


Conda Package for heFFTe

Hi,
We are in the process of integrating heFFTe into the mainline of WarpX. As part of this, we want to make sure we can compile our desktop distributions (Linux/macOS/Windows) with all features.
We distribute for desktop via conda using the conda-forge packaging index.
Since heFFTe did not yet have a package in conda-forge, I will add one. Please let me know if you like to be listed as co-maintainers for it: https://github.com/conda-forge/staged-recipes/pull/26633
(We also ship via other package managers, such as Spack for desktop and HPC, which already has a heFFTe package.)

@ax3l Thanks for contributing.
Please go ahead and list me as a maintainer on the conda package. I don't have experience with conda but I may be able to preempt potential heFFTe issues.

Cool, thanks a lot!
Done!
Can you please comment something like
I agree to be listed as feedstock maintainer.

on https://github.com/conda-forge/staged-recipes/pull/26633 ? :pray:

@ax3l can we close this one? You can always open a new one if needed.

I am still working on this package but have issues building heFFTe with FFTW on Linux:
https://github.com/conda-forge/staged-recipes/pull/26633#issuecomment-2240786736
I think the CMake scripts in heFFTe need an overhaul for FFTW, but I have not yet had time to contribute them.
I have a very general, multi-platform FFTW script in BLAST codes that addresses various defficiencies of the FFTW upstream install methods that we might be able to reuse for heFFTe:
https://github.com/ECP-WarpX/WarpX/blob/development/cmake/dependencies/FFT.cmake


Make it more obvious that output is buffered in execSync

Looks like this is a no-op so I'm going to close. Feel free to reopen if appropriate.


fix(codegen): dedupe fragments

Fixes #164

@boboldehampsink LGTM! Thank you for addressing this, I've been a bit busy lately.


color logging (like logc) for cli / stderr

consider having the color output of logc (https://github.com/fortio/logc#logc) be the default for cli (and/or when stderr isn't redirected - though under kubernetes it may appear not redirected yet captured, tbd)

fixed in #34 and released as 1.2.0


Error or not : Loss about Relation Classification

Hi,
Thanks for sharing such a wonderful work. I am studying the code and found a problem about the relation calssification(may not).
The format of the relationship classification label you construct is as follows:
[     [0,1,0,0],     [0,0,1,0]         ...       ]
If a data set contains a total of four relationships, namely [A,B,C,D], then the first line [0,1,0,0] indicates that there is a relationship B between the corresponding entity pairs, the second line  [0,0,1,0] indicates that there is a relationship C between the corresponding entity pairs.
There seems to be no doubt about the above, but the first and second rows may be the same entity pair sample. At this time, the label should be in the following form：
[     [0,1,1,0],         ...       ]
Finally, in the above two cases, the relation calssification loss is different, and the first is wrong.

Hi,
thanks for your well described issue. I'm aware that this case is currently not handled correctly. It was not necessary for our paper, since the datasets we evaluated SpERT on did not contain multiple relations between the same entity pair. However, the model itself is build to handle such cases. Considering that our model (and code) is now also used on other datasets, I wanted to handle this case for some time, then postopened it due to other work and forgot about it. Thanks for reminding me, it is a good time to fix it now.

Should be fixed in commit 7b27b7d258d0b4bb44103b9d0f9e19f2ce08611f . Please leave a comment if the issue is still unsolved.


Bump Twitter Libs to 20.7.0

Bump Twitter libs and version 20.7.0
tested locally with "sbt hello-world-example/test"

[info] DocsControllerTest:
[info] - sampleController: docs endpoint should return 307 (43 milliseconds)
[info] - sampleController: docs endpoint should return 200 from full URL (31 milliseconds)
[info] - sampleController: /swagger.json should be returned (112 milliseconds)
[info] - Startup and be healthy (29 milliseconds)
[info] Run completed in 4 seconds, 912 milliseconds.
[info] Total number of tests run: 4
[info] Suites: completed 1, aborted 0
[info] Tests: succeeded 4, failed 0, canceled 0, ignored 0, pending 0
[info] All tests passed.
[success] Total time: 7 s, completed Jul 21, 2020, 8:09:08 PM

Thanks!


aerial fishing + npc indicators (show respawn timer)

Please check if your issue is not a duplicate by searching existing issues
when aerial fishing with "show respawn timer" turned on in npc indicators it gets all wild and crazy in the water
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to 'npc indicators'
turn on 'show respawn timer' at the very bottom
get bird from arly
wait
see error(s)

a bajillion timers
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete

the following information):

OS: [macOS monterey]
RuneLite version: [e.g 1.8.17]
Launcher version: [e.g 2.2.0]

Additional context
Add any other context about the problem here, e.g. logs. Your client logs can usually be found in
C:\Users\<your_user_name>\.runelite\logs on Windows and ~/.runelite/logs on Linux and macOS.

This isn't RuneLite


Add initial tests with ava

The implementation right now doesn’t make it possible to test baffle itself without running it in some browser environment.
Fixes #15

Baffle could be tested in jsdom, right?

You are right, I totally forgot it existed 😅 I'll try to add it over the weekend

Yeah, seems like jsdom would be the way to go. Would love to see that.

I've added jsdom, adjusted the tests and added nyc with coverage, so you can setup coveralls.io or something.
---------------|----------|----------|----------|----------|----------------|
File           |  % Stmts | % Branch |  % Funcs |  % Lines |Uncovered Lines |
---------------|----------|----------|----------|----------|----------------|
All files      |    99.01 |    91.67 |      100 |      100 |                |
 baffle.js     |    98.08 |     87.5 |      100 |      100 |                |
 obfuscator.js |      100 |    95.45 |      100 |      100 |                |
 utils.js      |      100 |       90 |      100 |      100 |                |
---------------|----------|----------|----------|----------|----------------|

@camwiegert If ypu have any questions or notices, feel free to ask or change anything ⭐

I really appreciate this, thanks! Would you mind breaking this up a little bit. I'd love to see a PR that simply adds Ava and puts us in good position to write tests in the future. I'd like to have a PR-per-test group to discuss the best way to test everything.


Vault::service update for Chef 13

Update vault::service library to remove deprecation warnings
Update metadata to correct Foodcritic errors

Codecov Report

Merging #104 into master will not change coverage.
The diff coverage is 0%.

@@          Coverage Diff          @@
##           master   #104   +/-   ##
=====================================
  Coverage      53%    53%
=====================================
  Files           2      2
  Lines         100    100
=====================================
  Hits           53     53
  Misses         47     47

Impacted Files
Coverage Δ

libraries/vault_service.rb
52.27% <0%> (ø)
:arrow_up:

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 dc303e5...c728b25. Read the comment docs.


Add the new Scene collection to the python-spec

This adds the Scene collection to the python-spec and the parent spatial group as a pre-defined type to the Experiment collection.

Closing in favor of a larger PR.