mAP NAN while training with custom dataset

Hello, I try to train YOLOX-X using my custom dataset in COCO format. While it was fine with a small version of my dataset (~3K images) using the default settings in yolox_base.py (only batch size set to 4, due to the lack of GPU memory), when I train it using the big version of my dataet (~10K) I cant find any solution to prevent getting NAN for each class, since the first epoch. I have tried many things:

Decreasing self.basic_lr_per_img by 10
Decreasing self.basic_lr_per_img by 100
Decreasing epoch number to 100, to 75 (thinking that the yolox cosine warmup learning rate scheduler gets arranged according to the total iteration number, and since my iteration per epoch is 3x more now, decreasing max epoch could...)
Using multi GPU so that I can put batch size = 16, which gives me very similar iteration number per epoch with my previous training

NONE of them worked. I don't know what to do else, is anyone have any idea?
Apart from that, I have checked my COCO format labels in the platform that I used to convert my labels, and they all seem fine. But maybe in YOLOX dataloader something is wrong, how can I visualize my ground truths easily after loading a batch in YOLOX training???

How many samples are there in your validation dataset? A common way to get NaN values is not to have enough samples in each classe to perform an evaluation.

For instance, if your validation dataset contains 0 "car", your "car" mAP will always beNaN. But also, if you have too few car, the validation batch may not contain any (since YOLOX use a random subset of this dataset for each epoch evaluation).


Comprehensive advice with tests works

Build failed https://gradle.com/s/3hwclpfid7iei

Build failed https://gradle.com/s/kvwwholfknvei

Build failed https://gradle.com/s/s6jg4n4k4aclq

Build failed https://gradle.com/s/qlsydfrrwvebo

Build failed https://gradle.com/s/esgt7gjauy5b6

Build failed https://gradle.com/s/g5zn7ebixepi4


test: test requires keyword - v1

Also includes readme update for files to exists as a requirement.

Can you add a test with the example rules I shared in the previous PR?

Can you add a test with the example rules I shared in the previous PR?

Done.

Merged in #1558, thanks!


SPARKC-321

The routingKey is determined based on the column index in the first batch of rows sent during the save operation. Spark Cassandra connector shuffles the data around while saving the data resulting in column orders to be altered. This causes the job to fail when it's unable to find the routingKey column by that index. Instead of indexes, using columnNames should solve this issue.

I've been putting off looking at this because I'm not sure I understand the issue. Can you add a test case which would fail previously and would now succeed?

The change added a BOM to the file which is causing the CI failure.

Triage: Closing per discussion in JIRA.


Fix the TimePicker hour/minute field's input actions

fixes https://github.com/flutter/flutter/issues/68249

minimal code sample
import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      theme: ThemeData.dark(),
      home: const TimePickerSample(),
    );
  }
}

class TimePickerSample extends StatelessWidget {
  const TimePickerSample({Key? key}) : super(key: key);

  Future<TimeOfDay?> _showTimePicker(BuildContext context) {
    return showTimePicker(
      initialTime: TimeOfDay.now(),
      initialEntryMode: TimePickerEntryMode.input,
      context: context,
      confirmText: 'Accept',
      cancelText: 'Reject',
      hourLabelText: 'Happy Hour',
      minuteLabelText: 'Happy Minute',
      helpText: 'Spend your time wisely',
      onEntryModeChanged: (TimePickerEntryMode mode) {
        // ignore: avoid_print
        print('Current Mode: $mode');
      },
    );
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('TimePicker Sample'),
      ),
      body: Center(
        child: OutlinedButton(
          onPressed: () => _showTimePicker(context),
          child: const Text('Show TimePicker'),
        ),
      ),
    );
  }
}

Native behavior with input mode
The hour text field has the "next" input action which shifts the focus from the hour field to the minute field.
The minute text field has the "done" input action, which hides the keyboard.
https://user-images.githubusercontent.com/48603081/151339372-3e952ca4-df9c-459d-9ede-263fcd253349.mov
Bug
Both hour and minute text fields have "done" action which when pressing does nothing.
https://user-images.githubusercontent.com/48603081/166164962-aac21ecc-81b1-4d34-8055-ed4e52650db7.mov
Fix
https://user-images.githubusercontent.com/48603081/166164973-beeb2af6-9f1e-42b6-b6be-cbbcb93a255c.mov
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@darrenaustin
Removed the focus nodes added earlier, moved the Focus score code into conditions, and updated the test and PR description.
Can you please take a look?  Thank you!

Waiting for @darrenaustin's confirmation too before merging this, thanks.


RealmException: Switch user failed. Error code: 1 . Message: Unknown error

What happened?
When I try switch user
Repro steps
_app.switchUser(user);

Auth User ID:1
Open Realm Object (Open DB)
Logout user
Close DB
Auth User ID:2
Open Realm Object (Open DB)
Get users (App _app.users.toList())
Switch User

I do not get an error when switching the same user which logged.
Version
Flutter 3.7.5, Realm 1.0.2
What Atlas Services are you using?
Both Atlas Device Sync and Atlas App Services
What type of application is this?
Flutter Application
Client OS and version
Android 11
Code snippets
No response
Stacktrace of the exception/crash you're getting
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: RealmException: Switch user failed. Error code: 1 .  Error code: 1 . Message: Unknown error

You cannot switch to a user that has been logged out, if that is what you are trying?

Hi @RedFox64,
We closed this issue. You still can not switch to a user that is not logged in (it is by design), but we fixed the error message.
Thanks for reporting!


Fix async test assumptions

The Cache recv_add and recv_remove tests were flaky in CI because the test assumed that after sending the event, that event should be the first it would receive, which was not always true.
This fixes that by using a timeout stream (instead of a timeout on a single future).
These tests now handle all events within a span of a second to receive the event of interest.
This works fine.
The other thing this PR adds are some fixes with respect to outer parentheses on DBus signatures:
DBus omits outer parentheses on the wire.
This means that if we read a DBus signature "ii", "(ii)" is implied.
This adds:
- assert_eq_signatures macro that checks equality regardless of outer parentheses.
This PR also fixes signatures where we compare with Message::body_signature(), that is in our stream parsing TryFrom<Message> for Event
When the Type::signature's on the user facing types are checked, it will show outer parentheses again.
Note that others on the bus deserialize stripped signatures just fine and that those Type::signatures do include outer parentheses.
With this merged, that problem is fixed.

Is this branch still necessary? I thought it was solved by another one of your PRs?

You are right, it has no use anymore. This was the same thing, against pre-refactor main.


Segfault when cythonizing

@scoder this looks like the same bug as #2199 . It occurs on OSX with clang using cython 0.28.4:
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
  * frame #0: 0x00000001000e4608 libpython2.7.dylib`_PyObject_GetDictPtr + 8
    frame #1: 0x0000000103d1e27b Code.so`__Pyx_AddTraceback + 107
    frame #2: 0x0000000103d8b234 Code.so`__pyx_pw_6Cython_8Compiler_4Code_11GlobalState_61lookup_filename + 1924
    frame #3: 0x0000000103d3b80b Code.so`__pyx_pw_6Cython_8Compiler_4Code_11CCodeWriter_205lookup_filename + 379
    frame #4: 0x0000000103d3df31 Code.so`__pyx_pw_6Cython_8Compiler_4Code_11CCodeWriter_195error_goto + 1137
    frame #5: 0x0000000103d3d387 Code.so`__pyx_pw_6Cython_8Compiler_4Code_11CCodeWriter_197error_goto_if + 759
    frame #6: 0x000000010009dc55 libpython2.7.dylib`PyObject_Call + 101
    frame #7: 0x000000010014a168 libpython2.7.dylib`PyEval_EvalFrameEx + 22088
    frame #8: 0x00000001001448c4 libpython2.7.dylib`PyEval_EvalCodeEx + 2164
    frame #9: 0x000000010014ec0d libpython2.7.dylib`fast_function + 109

Could you please provide the complete stack trace? I double checked the code here and fail to see a way how this can occur with 0.28.4.

okay I checked on TRAVIS the OSX version of Cython
Traviss-Mac-463:tardis travis$ source activate tardis
(tardis) Traviss-Mac-463:tardis travis$ python
Python 2.7.15 |Anaconda, Inc.| (default, May  1 2018, 18:37:05)
[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import cython
>>> cython.__path__
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute '__path__'
>>> cython.__version__
'0.28.4'
>>> import Cython
>>> Cython.__version__
'0.28.4'

This is starting up lldb
(tardis) Traviss-Mac-463:tardis travis$ lldb python
(lldb) target create "python"
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "/Users/travis/miniconda/envs/tardis/lib/python2.7/copy.py", line 52, in <module>
    import weakref
  File "/Users/travis/miniconda/envs/tardis/lib/python2.7/weakref.py", line 14, in <module>
    from _weakref import (
ImportError: cannot import name _remove_dead_weakref
Current executable set to 'python' (x86_64).

@scoder - maybe the version 0.28.4 in the conda-forge osx channel is not 0.28.4 - who is the maintainer of that?

and now it works

@scoder - now I can't even get cython to segfault when running in LLDB in the TRAVIS debug mode. It still segfaults in the Travis build. We will disable OSX builds for now in TRAVIS and see if the next release fixes the issue. I wonder if cython 0.28.4 in OSX-build on conda-forge is maybe not the code version 0.28.4 but an earlier version that is falsely labeled.

I'm observing similar issue using cython 0.29.6 version on macOS (Mojave) using the following cython_test.tar.gz simple "Hello, World" app. The app uses address sanitizer when building the code in the debug mode. How to use it:
$ tar xvf cython_test.tar.gz
$ ./build_and_run.sh
........
AddressSanitizer:DEADLYSIGNAL
=================================================================
==33386==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000018 (pc 0x000103fa1b81 bp 0x7ffeebc5f9a0 sp 0x7ffeebc5f900 T0)
==33386==The signal is caused by a READ memory access.
==33386==Hint: address points to the zero page.
   #0 0x103fa1b80 in call_quack caller.c:1121
   #1 0x103fa1b21 in main main.cpp:12
   #2 0x7fff71a97ed8 in start (libdyld.dylib:x86_64+0x16ed8)

Turning sanitizer off:
lldb ./quacker
(lldb) target create "./quacker"
Current executable set to './quacker' (x86_64).
(lldb) r
Process 33866 launched: './quacker' (x86_64)
Process 33866 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x18)
    frame #0: 0x0000000100001c31 quacker`call_quack at caller.c:1121
   1118	 * cdef public void call_quack():
   1119	 *     quack()             # <<<<<<<<<<<<<<
   1120	 */
-> 1121	  __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_quack); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 6, __pyx_L1_error)
   1122	  __Pyx_GOTREF(__pyx_t_2);
   1123	  __pyx_t_3 = NULL;
   1124	  if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_2))) {
Target 0: (quacker) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x18)
  * frame #0: 0x0000000100001c31 quacker`call_quack at caller.c:1121
    frame #1: 0x0000000100001be2 quacker`main at main.cpp:12
    frame #2: 0x00007fff71a97ed9 libdyld.dylib`start + 1
    frame #3: 0x00007fff71a97ed9 libdyld.dylib`start + 1

Env details:
$ python3 --version
Python 3.7.2
$ cython --version
Cython version 0.29.6
$ cc --version
Apple LLVM version 10.0.0 (clang-1<IP_ADDRESS>)
Target: x86_64-apple-darwin18.2.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
$

We switched to Python 3 and the problem disappeared. unclear why.

Lucky you, however I'm observing the issue using the combination of python3 and cython 0.29.6

I have an error trying to run a successfully built script:
Traceback (most recent call last):
  File "parse.pyx", line 3, in init parse
  File<EMAIL_ADDRESS>line 86, in <module>
    import copy as _copy
  File<EMAIL_ADDRESS>line 52, in <module>
    import weakref
  File<EMAIL_ADDRESS>line 14, in <module>
    from _weakref import (
ImportError: cannot import name _remove_dead_weakref

running
INCL=$(python2-config --includes)
cp ./parse.py ./parse.pyx;
cython -2 ./parse.pyx --embed;
gcc -v -Os $INCL -o parse parse.c $(python2-config --libs) -lpthread -lm -lutil -ldl;

This ImportError seems unrelated to the original segfault described in this ticket. It's also unclear if this is related to Cython at all. (And note that you do not need to change the file extension just to compile it with Cython.)
It looks to me like this ticket describes three different issues by now.

The one by @tomaszmi hints at some kind of Python initialisation problem on user side.
The ImportError in Py2 is probably related to the way Python 2.x initialises extension modules, which is different from Python modules. Use Python 3, or avoid things like circular imports (which should actually best be avoided in any case).
The original segfault is a duplicate of #2885.

Closing this ticket.

The one by @tomaszmi hints at some kind of Python initialisation problem on user side.

I'm not sure if the problem was on user side. Definitely the code crashes with cython 0.29 but the same code works works fine with cython 0.27 and 0.28.


Tests: ensure Jimp uses bicubic as the resizing kernel

Otherwise it'll default to bilinear (jimp.RESIZE_BILINEAR), which is faster than bicubic but less accurate.
This corresponds to what is done in the JPEG benchmark suite:
https://github.com/lovell/sharp/blob/0bc79cdb953c9c0f1cf9015be65fb231fd5ec520/test/bench/perf.js#L59
https://github.com/lovell/sharp/blob/0bc79cdb953c9c0f1cf9015be65fb231fd5ec520/test/bench/perf.js#L79

...and thank you.


Enhancement - check_file.py

def readfile(filename):
with open(filename, 'r') as f:      # Ensure file is correctly closed under all circumstances
line = f.read()                        # more convenient it should be file = f.read()
print(line)                                  # print(file)
#Because it is reading whole file not a single line.It is just an enhancement.

Please make the changes
On 6 Apr 2017, at 19:58, saurabh srivastava<EMAIL_ADDRESS>wrote:

def readfile(filename):
with open(filename, 'r') as f: # Ensure file is correctly closed under all circumstances
line = f.read() # more convenient it should be file = f.read()
print(line) # print(file)
#Because it is reading whole file not a single line.It is just an enhancement.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Validating json using json schema

I would like to see the ability to validate json using json schema. As far as I know userver under the hood uses rapidjson. And as  @Anton3 wrote in telegram that rapidjson has JSON validation using JSON schema, you just need to put it outside as a function. Is it possible to see this functionality in the future?

I'm working no it.

Merged in https://github.com/userver-framework/userver/commit/2e6a760700f4700d74eb9b12587abc43d5e3e6e1
Many thanks for the PR!


triangle: implement exercise

Exercise implemented with tests and example solution.
Issue: #81

@mattmoss thanks a lot for working on this! 👍


Prometheus 2.1

what

Implement Prometheus umbrella chart

why

Comprehensive, extensible monitoring framework

@goruha abandon this PR now since we have the others?

I'll fix it. And I do not want it to be merged yet.

+2


Use new moderation lists

Support new moderation lists:

nsfw.json: track nsfw OBJKTs that don't have the metadata set
under_review.json: flag accounts that need to be reviewed by moderation team
ignore_uri.json: IPFS URIs to ignore for potential terms and conditions violations

I added a few comments besides I will test it later 👍

I know I said it a few times already @jagracar but I think the last commit solves #110!
I'm going to merge it now, to see on the staging url


Approach

The cause of the bug was that there were multiple instances of ItemContributionOptionsConfiguration created for one CentralServer thus GET method couldn't get one object.

SQL script that deletes all duplicate except for the latest entry and adds UNIQUE constraint added.
Test for ItemContributionOptionsConfiguration controller added.

Pre-Merge Checklist:
Before merging this PR, please go through the following list and take appropriate actions.

Does this PR meet or exceed the expected quality standards?

[ ] Code coverage on new code is 80% or greater
[ ] Duplications on new code is 3% or less
[ ] There are no major code smells or security issues

Does this introduce breaking changes?

[ ] Were any API paths or methods changed, added or removed?
[ ] Were there any schema changes?
[ ] Did any of the interface versions change?
[ ] Were permissions changed, added, or removed?
[ ] Are there new interface dependencies?
[ ] There are no breaking changes in this PR.

If there are breaking changes, please STOP and consider the following:

What other modules will these changes impact?
Do JIRAs exist to update the impacted modules?

[ ] If not, please create them
[ ] Do they contain the appropriate level of detail?  Which endpoints/schemas changed, etc.
[ ] Do they have all they appropriate links to blocked/related issues?

Are the JIRAs under active development?

[ ] If not, contact the project's PO and make sure they're aware of the urgency.

Do PRs exist for these changes?

[ ] If so, have they been approved?

Ideally all of the PRs involved in breaking changes would be merged in the same day to avoid breaking the folio-testing environment.  Communication is paramount if that is to be achieved, especially as the number of intermodule and inter-team dependencies increase.
While it's helpful for reviewers to help identify potential problems, ensuring that it's safe to merge is ultimately the responsibility of the PR assignee.

Could you please also fix ItemContributionOptionsConfigurationServiceImpl.createItmContribOptConf
repository.findById(centralServerId) expression is supposed to check if there is existing config for a central server, but it won't get any data as findById is designed to fetch entity by its own id while centralServerId is just a foreign key here


dropbox: remove appcast

What hasn't been updated for months is now finally gone.

[ ] brew cask audit --download {{cask_file}} is error-free.
[ ] brew cask style --fix {{cask_file}} reports no offenses.
[ ] The commit message includes the cask’s name and version.

I propose we revert this cask back to an always up-to-date URL and :latest/:no_check.
Dropbox is one of those rare cases where having the latest version trumps having it versioned. We made it versioned due to the appcast, but even that only kind of worked. Without an appcast, this should go back to being unversioned.

agreed with @vitorgalvao.
Also with Drobbox Update  there might not even a been to for this app to be upgrade / updated via homebrew as the app is going to self update itself periodically
Ref# https://www.dropbox.com/help/9300

Thanks for doing the necessary changes, @miccal! 🍒


Adding Snakemake Pipeline

This issue is to track changes while adding snakemake pipeline to repo. It is also for ideas on how to "tutorialize" the workflow.

After speaking with @AndyMcAliley, the first step looks like it should be to separate each function into a script. This way we can utilize snakemake's script directive to track changes in the scripts and call individual scripts in the rule. Below is a first pass for separating the function for fetching the data from ScienceBase:
`import os
from sciencebasepy import SbSession
def sb_get(item_id, sb_data_file=None, destination_dir='.'):
"""
Download an item from ScienceBase by ID.
Written by @AndyMcAliley
:param item_id: ScienceBase ID of item to download
:param sb_data_file: Name of file to download. If None, download all files. (Default value = None)
:param destination_dir: directory to save to (Default value = '.')
:returns: ScienceBase JSON response

"""
sb_session = SbSession()
if not (sb_session.ping()['result'] == 'OK'):
    raise ConnectionError('ScienceBase ping unsuccessful')
# If data are public, no need to log in
# if not sb_session.is_logged_in():
    # sb_session.login()

item_json = sb_session.get_item(item_id)
if sb_data_file is None:
    response = sb_session.get_item_files(item_json, destination=destination_dir)
else:
    all_file_info = sb_session.get_item_file_info(item_json)
    file_found = False
    for file_info in all_file_info:
        if file_info['name'] == sb_data_file:
            file_found = True
            response = sb_session.download_file(file_info['url'], file_info['name'], destination_dir)
    if not file_found:
        raise FileNotFoundError(f'{sb_data_file} not found on ScienceBase')

return response

def main():
sb_item = "5e5d0bb9e4b01d50924f2b36"
sb_file = "pgdl_predictions_04_N45.50-48.00_W92.00-93.00.zip"
out_dir = "out_data/"
sb_get(sb_item, sb_file, out_dir)
if name == "main":`

Thanks, Ted! This is a good first step towards splitting out the parts of the workflow into separate scripts. I assume that this is missing one line at the bottom that would call main().
This is nice because it's simple. The Snakemake rule would call this script, and the script would download the appropriate file. I think that, in the tutorial, it could work well to start here. Then, as a later step in the tutorial, we can move the hardcoded sb_item, sb_file, and out_dir out of the script and into the Snakefile.

Thanks, Ted! This is a good first step towards splitting out the parts of the workflow into separate scripts. I assume that this is missing one line at the bottom that would call main().
This is nice because it's simple. The Snakemake rule would call this script, and the script would download the appropriate file. I think that, in the tutorial, it could work well to start here. Then, as a later step in the tutorial, we can move the hardcoded sb_item, sb_file, and out_dir out of the script and into the Snakefile.

Yes, that's correct. I was also contemplating if the arguments for the functions should be the snakemake inputs. Do you think that is too complicated for this tutorial or a good process to illustrate in the tutorial?

I think that would be good to include in the tutorial. I don't think that these arguments would be Snakemake inputs for the rule that calls this script, though. sb_file and out_dir could be inferred from the rule's output, and sb_item can be specified in params.

Closed by #7


Bug with backend 2

If you log out from admin page and you try to log in again there is only a WHITE page.

I'm also experiencing this. I've tried deleting the cookie, refreshing the page. It will eventually load the admin area, but I have no idea how...

see #35

see #35

Thank you! Problem fixed!


fix: prevent crash when using custom Webpack path

Summary

Fixes #105

Test plan

Run Re.Pack's start/bundle in TesterApp (it should not crash)
Change webpack.config.js to webpack2.config.js
Run Re.Pack's start/bundle in TesterApp (it should crash)
Run Re.Pack's start/bundle in TesterApp with --webpackConfig ./webpack2.config.js (it should not crash)

I was just about to submit an issue for this 😛
Thank you for fixing!


DDF-1397 Removes RRD4J version property

Removes RRD4J version property.

I am going to close this PR, as the version property has simply been overridden in the downstream project that needs it and we need to remove all the version properties from here.


Use double quote for default generated spec_helper.rb

This file all uses double quote except for default_formatter. Let's all use double quotes in this file.

LGTM


[ACR Plugin] QE for ACR plugin

Description:
Test ACR plugin and update test plan
Acceptance Criteria:

[ ]  Test Plan

Hi @invincibleJai,
Please review e2e test case. Thanks,
OCI Registry (ACR) plugin install and verification (readme/instruction)
Prereqs:

setup instance of ACR server and obtain an authorization token

OCI Registry (ACR) plugin install and verification:

install @janus-idp/backstage-plugin-acr plugin and enable it
start backstage and navigate to the ACR tab for a component with the 'azure-container-registry/repository-name' annotation
navigate to the ACR tab and check if you can view the tags, last update and Manifest (SHA) of an image related to a catalog deployed by an image in the Azure Container Registry
test the table to see if moving to next/prev/first/last page works
test the table filtering/sorting functionality and page size

Hi @invincibleJai, Please review e2e test case. Thanks,
OCI Registry (ACR) plugin install and verification (readme/instruction)
Prereqs:

setup instance of ACR server and obtain an authorization token

OCI Registry (ACR) plugin install and verification:

install @janus-idp/backstage-plugin-acr plugin and enable it
start backstage and navigate to the ACR tab for a component with the 'azure-container-registry/repository-name' annotation
navigate to the ACR tab and check if you can view the tags, last update and Manifest (SHA) of an image related to a catalog deployed by an image in the Azure Container Registry
test the table to see if moving to next/prev/first/last page works
test the table filtering/sorting functionality and page size

@josephca yeah this looks good


remove otn transport

fixed isuue  #61
role refactoring
fixed linux tests
fix windows tests( disable chocolatey )

@tgadiev need you review


Dependency updates

Updated some (not all) the dependencies to their 1.11 versions and moved them from the API folder to a Gradle dependency.
Mods updated and moved to Gradle:

Tesla
Invtweaks
OpenComputers

Updated WAILA to HWYLA and moved to Gradle. HWYLA is an up to date maintained version of WAILA of TehNut (https://github.com/TehNut/HWYLA)
Removed compat for MineFactoryReloaded and Metallurgy as both do not have a 1.11 version at this moment.
Computercraft itself doesn't have a 1.11 version, but since it's opensourced TheCodedOne has a maintained version with the same API (https://github.com/NoMansMinecraft/Computality)
Haven't looked at:

IC2, but saw you've already updated it's API
Buildcraft, but it's certainly available for 1.11
Galacticraft, also, certainly available for 1.11

Added all changes as individual commits, for the case of wierd stuff a single mod can be reverted to the state it was.

Closed and reopened to trigger a new Travis build. Which is successful now

Thanks so much, been meaning to do this for a while.


Bump sonarjs

Codecov Report

Merging #422 (c5dfa68) into master (59f030c) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #422   +/-   ##
=======================================
  Coverage   67.07%   67.07%
=======================================
  Files          16       16
  Lines         571      571
  Branches      156      156
=======================================
  Hits          383      383
  Misses        137      137
  Partials       51       51

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 59f030c...c5dfa68. Read the comment docs.


Strange issue when using webpack 2

Trying to upgrade to webpack 2, my build fails with the following error:
ERROR in ./~/ng-table/src/browser/pager.html Module build failed

Importing library (fails):
import * as ngTable from 'ng-table'

Requiring bundle (success):
require('ng-table/bundles/ng-table.js')

webpack config:
'use strict';

const webpack = require('webpack');
const NgAnnotatePlugin = require('ng-annotate-webpack-plugin');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const argv = require('yargs').argv;
const path = require('path');

module.exports = {
  watch: false,
  bail: true,
  cache: true,
  devtool: 'source-map',
  entry: './typescript/app/app.ts',
  output: {
    path: path.resolve(__dirname, 'public'),
    filename: 'build/main.bundle.js',
    sourceMapFilename: '[name]-[chunkhash].map'
  },
  resolve: {
    extensions: [
      '.webpack.js',
      '.web.js',
      '.ts',
      '.js'
    ],
    alias: {
      Raven: path.resolve(__dirname, 'node_modules/raven-js/src/raven.js')
    }
  },
  plugins: [
    new webpack.DefinePlugin({
      'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV || 'development'),
    }),
    new NgAnnotatePlugin({
      add: true
    }),
    new ExtractTextPlugin('build/[name].css'),
    new HtmlWebpackPlugin({
      filename: 'index.html',
      inject: false,
      hash: true,
      cache: false,
      template: 'ejs-loader!./typescript/index.html',
      locals: {
        environment: ENVIRONMENT,
        production: process.env.PRODUCTION,
        cdnDomain: CDN_DOMAIN,
        backendUrl: BACKEND_URL,
        releaseVersion: RELEASE_VERSION
      }
    }),
    new webpack.SourceMapDevToolPlugin({
      filename: '[file].map', // if no value is provided the sourcemap is inlined
      test: /\.(ts|js)($|\?)/i // process .js and .ts files only
    })
  ],
  module: {
    rules: [
      {
        test: /\.ts$/,
        loader: 'awesome-typescript-loader'
      },
      {
        test: /\.p?css$/,
        loader: ExtractTextPlugin.extract({
          fallbackLoader: 'style-loader',
          loader: [
            'css-loader',
            'postcss-loader'
          ]
        })
      },
      {
        test: /\.html$/,
        exclude: /index.html$/,
        use: [
          {
            loader: 'ngtemplate-loader',
            options: {
              relativeTo: path.resolve(__dirname, 'typescript')
            }
          },
          {
            loader: 'html-loader'
          }
        ]
      }
    ]
  },
  devServer: {
    historyApiFallback: true
  }
}

@faceleg have you been able to resolve that issue? I'm upgrading an AngularJS 1.5 app to Webpack 2 and see a  GET http://app.finderbox.dev/app/ng-table/pager.html 404 (Not Found) in the browser log.

@richtmat no I gave up and have been using webpack 1. Very interested in a solution though

I think this might actually be related to ngtemplate-loader when specifying relativeTo. I'm not getting any errors about not finding http://app.finderbox.dev/... though. Might be related: webpack-contrib/html-loader#91. I'm using<EMAIL_ADDRESS>and<EMAIL_ADDRESS>On your test for .html, try removing relativeTo and running Webpack. For me, it compiles fine, and the ng-table templates are added to the cache. Crack open your bundle and check it out.
Since we'll still need a prefix, I'm messing around with having a loader/test block for my app and a separate block for node_modules.

@mheppner unfortunately,  for me it does not change a thing (here and https://github.com/esvit/ng-table/issues/969).
Only difference is that local templates are wrong as well. The url ending on .dev is my local development url, you obviously cannot go there.
As I said in https://github.com/esvit/ng-table/issues/969 , I put the template content of the bundle in my files. The templates are put into the cache like this: $templateCache.put('ng-table/pager.html', html);. I still struggle to find out if its a ng-table or webpack issue...

Up, same error here

Yo, I was able to solve this by changing how I import ng-table into my project. Importing directly from the bundle fixed it for me:
import 'ng-table/bundles/ng-table';

Works great: import 'ng-table/bundles/ng-table';

Same problema here. When importing like
import { ngTableModule } from 'ng-table';

then the header and footer are not bundled resulting in a HTTP 404.
Changing the import to
import 'ng-table/bundles/ng-table';

solves the header/footer problem but there's a glitch missing: the ^ and v sorting indicators are not shown. Sorting happens but there is no visual indication.
Any ideas?


Create Zarf package

Create a Zarf package so that leapfrog-ui can be deployed in k8s.

Addressed by https://github.com/defenseunicorns/leapfrog-ui/commit/c921f966b1c69d7b375ba051300d4860629d6a0d


Reuse cluster connection objects but only for authorized users

The couchbase provider for wasmcloud now stores a connection object per link in the map.
While this prevents link's from overwriting each other's connection objects, we may result in a lot of duplicates.
We will need to find a way to prevent duplicate connection object .
A duplicate connection object is created when more than one connection object (cluster) has all the same properties:
connection-string, bucketname, scope, collection, username, password.
Proposed solution 1 :
We could maintain a hash of the above properties along with the connection object in the map .
On a new link, we fetch the connection object from the map using the source id.
If found, we compare the hash values . If they match , we dont add a new entry to the map .
If they dont match, we create a new entry in the map .
Now the Map key will need to be updated to include a suffix with the source id.
Value of the suffix is TBD.
Solution 2 :
Couchbase SDK to be updated to include the option to perform authorization at a more granular level .
Eg: at a collection level or bucket level .
This will reduce the overhead of having to fetch the cluster map on every link and still authorize again while reusing the existing clouchbase cluster object.

Proposed solution 1 should have at least two benefits:

Connection re-use (identical connection details could be used to de-duplicate, if sharing is reasonable)
Security

As far as the improvement in security -- at present if the same component connects twice, but should be authorized differently/use different authentication for the connection, then the same connection is made available.
With proposed solution 1, we would effectively index by the Source ID and effectively the hash of the configuration object, to prevent this kind of overlap.
@ritesh089 just to make sure I was understanding right -- in this case we have a single webassembly component which needs to use different connection authentication levels, correct?
If we could split the component they would have separate source IDs and not overlap in this way.

@chvck I think we should automagically dereference to the same connection from the same process if the bucket and credentials precisely match.  Am I correct for that here, or is Golang a bit different than our other SDKs?
cc/ @brett19

I think we should automagically dereference to the same connection from the same process if the bucket and credentials precisely match. Am I correct for that here, or is Golang a bit different than our other SDKs?

In Go if the same Cluster object is used for opening buckets then calling cluster.Bucket multiple times with the same bucket name will reuse the existing "agent" for that bucket name under the hood - that is basically the same set of connections. The bucket name (sort of) gets baked into each connection at connect time. At present to open the same bucket twice but with different credentials would require two Cluster instances. Scopes and collections are specified at the request level on the wire rather than connection level so do not have the same overheads/considerations.


[Design] Errored loggers causing cascade loops?

If a logger throws an exception it will be rethrown; and then potentially relogged, which may then throw an exception due to the errant logger, etc, etc or move up throw the exception chain until it rises to the top level of the app?
Should a logger that keeps throwing errors be disconnected for a time?
Also all the error messages say "An error occurred while writing to logger(s)."; whether its Log, IsEnabled or BeginScope

@benaadams do you have a repro, or is this theoretical? We had some discussions about exceptions in the loggers (wheter to prevent any exception from loggers or not), and our feeling like loggers should throw exceptions.  Of course cascade loops are probably should not happen.

Was theoretical; happy to close it - likely to be more a setup issue also.


Refact javascript objects initialization

@rultor merge

@rultor merge

@tmoreira2020 OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@tmoreira2020 Done! FYI, the full log is here (took me 2min)


ci: add ARM/ARM64 support (into ci/pipeline)

This branch was re-created from master as there were a lot of conflicts on rebase. https://github.com/newrelic/infrastructure-agent/pull/392


Can not run with xcode  on real iphone

Hi
I add this to my flutter project, and run with xcode.  but i got the error as follows:
Undefined symbols for architecture arm64:
"_SDImageCoderEncodeCompressionQuality", referenced from:
+[CompressHandler compressDataWithImage:quality:format:] in CompressHandler.o
ld: symbol(s) not found for architecture arm64
PS：run with a simulator is ok.
How can i do to deal with it, thanks!~

Same issue here, this seems to be related to the IOS 14 update causing an issue with SDWebImage.
https://github.com/SDWebImage/SDWebImage/issues/3040
Could probably be fixed by using a newer version of the SDWebImage library?

Yes same issue here. Did you find a way to solve this?

Run "pod install" command.
Run ios app from xcode for simulator
Then run for real device

It worked for me

@Dinesh41  yeah it solved the problem. but why?

@uchiha-itachi95 That we have to find

@Dinesh41 Followed your instructions but still doesn't work for me.

Happening on my side as well after upgrading to flutter 1.22

me 2

in flutter_image_compress.podspec
set newer iOS version (9.0) than (8.0)
$ cd ios
$ pod install
Pod::Spec.new do |s|
s.name             = 'flutter_image_compress'
s.version          = '0.0.1'
s.summary          = 'A new flutter plugin project.'
s.description      = <<-DESC
A new flutter plugin project.
DESC
s.homepage         = 'http://example.com'
s.license          = { :file => '../LICENSE' }
s.author           = { 'Your Company' =><EMAIL_ADDRESS>}
s.source           = { :path => '.' }
s.source_files = 'Classes//*'
s.public_header_files = 'Classes//*.h'
s.dependency 'Flutter'
s.dependency 'Mantle'
s.ios.deployment_target = '11.0'
s.dependency 'SDWebImageWebPCoder'
end

me 2

Still happening any updates?

Still happening any updates?

I tried the solutions above without success, in my case I solved by setting the 'deploy target' to a version > 9.0(I choose 12.0,which is my target min sdk).
Found this solution here:
thanks to  ItzNotABug!

Should be fixed by #182 .


server: the logs in client-go are not fully red-acted

There are still some logs printting in the client-go code which are not red acted.
For example
[2023/10/25 23:02:59.305 +00:00] [WARN] [region_request.go:1898] ["tikv reports `DataIsNotReady` retry later"] [store-id=770512] [peer-id=6265849273] [region-id=6265849271] [safe-ts=445192389840081807] [ctx="region ID:<PHONE_NUMBER>, meta: id:6265849271 start_key:\"t\\200\\000\\000\\000\\000\\001L\\235_r\\001PRIMARY_...

you mean we should print in hex format?

The keys are printted in raw value and not replaced with a questionmark, some of them are printted by the errors returned from tikv.


Typescript types .d.ts

No, sorry. I don't want to have to maintain these as well. Please add these to DefinitelyTyped. Thanks.


Add README and tests to pet shop application.

Tests need only confirm the code compiles without error.

This is in progress but currently the test on Windows fails due to .NET Framework 2.0 issue with permissions https://github.com/GoogleCloudPlatform/dotnet-docs-samples/pull/833

Closing this as it's not feasible. The code compiles but it's so old (that's the point of the demo) so that we can't easily test it.


Add converstion to string to FilterLevel, same as Level

Adds possibility to get FilterLevel text representation. This brings parity with Level.

Fixed


Simon/improve modal scroll

Summary

Long overdue: make it so that you can scroll when searching for courses when you are searching for them to add to a semester.
Algorithm: sort first by matching course codes, then by title.
Test Plan
Use eyes.

Notes
Right now I just came up with my own styles — scroll spans max-height: 50vh;. Works on both mobile and desktop but maybe there is something else that is better? Though right now Joanna gave this the ok since it is pretty much the same height as if you had 10 courses (the default).
Also there is "dead code" (I just commented stuff out). Sarah and Sophia would undoubtedly be disappointed given what we went over in Dev Sesh 2. However I reckon it's best to leave this up there just in case any bugs come up (I don't think we are going to be bug bashing this).

Shoot I was based off the wrong branch.


Apply new version of JuliaFormatter

Format all code with JuliaFormatter v2.0, now based on JuliaSyntax

Codecov Report
Attention: Patch coverage is 4.08163% with 47 lines in your changes missing coverage. Please review.

Project coverage is 3.08%. Comparing base (9174ccb) to head (ccdd07a).
Report is 4 commits behind head on main.

Files with missing lines
Patch %
Lines

...tiationInterfaceTest/src/tests/correctness_eval.jl
0.00%
10 Missing :warning:

...iationInterfaceChainRulesCoreExt/reverse_onearg.jl
0.00%
3 Missing :warning:

...ceTrackerExt/DifferentiationInterfaceTrackerExt.jl
0.00%
3 Missing :warning:

...faceZygoteExt/DifferentiationInterfaceZygoteExt.jl
0.00%
3 Missing :warning:

...ace/ext/DifferentiationInterfaceEnzymeExt/utils.jl
0.00%
2 Missing :warning:

...xt/DifferentiationInterfaceFiniteDiffExt/onearg.jl
0.00%
2 Missing :warning:

...xt/DifferentiationInterfaceForwardDiffExt/utils.jl
0.00%
2 Missing :warning:

.../ext/DifferentiationInterfaceMooncakeExt/onearg.jl
0.00%
2 Missing :warning:

...t/DifferentiationInterfaceReverseDiffExt/twoarg.jl
0.00%
2 Missing :warning:

...ext/DifferentiationInterfaceSymbolicsExt/onearg.jl
0.00%
2 Missing :warning:

... and 12 more

:exclamation:  There is a different number of reports uploaded between BASE (9174ccb) and HEAD (ccdd07a). Click for more details.
HEAD has 39 uploads less than BASE

Flag
BASE (9174ccb)
HEAD (ccdd07a)

DIT
8
1

DI
33
1

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #589       +/-   ##
==========================================
- Coverage   97.57%   3.08%   -94.49%
==========================================
  Files         110      95       -15
  Lines        5227    5028      -199
==========================================
- Hits         5100     155     -4945
- Misses        127    4873     +4746

Flag
Coverage Δ

DI
4.81% <5.55%> (-93.78%)
:arrow_down:

DIT
0.00% <0.00%> (-95.65%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

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


python310Packages.pontos: 22.12.3 -> 23.1.0

Diff: https://github.com/greenbone/pontos/compare/refs/tags/v22.12.3...v23.1.0
Changelog: https://github.com/greenbone/pontos/releases/tag/v23.1.0
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 209889 run on x86_64-linux 1

2 packages built:

python310Packages.pontos
python39Packages.pontos


Question: “No such file or directory: 'hhsearch'” when use "--template"

What is your installation issue?
I've installed localcolabfold without any problems, but when I run the multimer example, once I use "--template" I will get an error : "No such file or directory: 'hhsearch '"
Computational environment

OS: [Ubuntu 20.04.6 LTS in Windows10 WSL2]
CUDA version if Linux :
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Tue_May__3_18:49:52_PDT_2022
Cuda compilation tools, release 11.7, V11.7.64
Build cuda_11.7.r11.7/compiler.31294372_0

To Reproduce
/mnt/f/Colabfold$ colabfold_batch ./test/testt.fasta ./test/ --model-type alphafold2_multimer_v3 --template --overwrite-existing-results
2023-08-29 10:34:13,485 Running colabfold 1.5.2 (33ae16f350b107cbec3523cdac363ddaae8497ec)
2023-08-29 10:34:14.564510: E external/org_tensorflow/tensorflow/compiler/xla/stream_executor/cuda/cuda_driver.cc:267] failed call to cuInit: CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected
2023-08-29 10:34:14,568 WARNING: no GPU detected, will be using CPU
2023-08-29 10:34:35.110746: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
2023-08-29 10:35:00,358 Found 7 citations for tools or databases
2023-08-29 10:35:00,358 Query 1/1: 1BJP_homohexamer (length 372)
2023-08-29 10:35:09,616 Could not get MSA/templates for 1BJP_homohexamer: [Errno 2] No such file or directory: 'hhsearch'
Traceback (most recent call last):
File "/mnt/f/Colabfold/localcolabfold/colabfold-conda/lib/python3.10/site-packages/colabfold/batch.py", line 1377, in run
= get_msa_and_templates(jobname, query_sequence, a3m_lines, result_dir, msa_mode, use_templates,
File "/mnt/f/Colabfold/localcolabfold/colabfold-conda/lib/python3.10/site-packages/colabfold/batch.py", line 784, in get_msa_and_templates
template_feature = mk_template(
File "/mnt/f/Colabfold/localcolabfold/colabfold-conda/lib/python3.10/site-packages/colabfold/batch.py", line 130, in mk_template
hhsearch_result = hhsearch_pdb70_runner.query(a3m_lines)
File "/mnt/f/Colabfold/localcolabfold/colabfold-conda/lib/python3.10/site-packages/alphafold/data/tools/hhsearch.py", line 86, in query
process = subprocess.Popen(
File "/mnt/f/Colabfold/localcolabfold/colabfold-conda/lib/python3.10/subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/mnt/f/Colabfold/localcolabfold/colabfold-conda/lib/python3.10/subprocess.py", line 1863, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'hhsearch'
2023-08-29 10:35:09,631 Done
input sequence

1BJP_homohexamer
PIAQIHILEGRSDEQKETLIREVSEAISRSLDAPLTSVRVIITEMAKGHFGIGGELASKVRR:
PIAQIHILEGRSDEQKETLIREVSEAISRSLDAPLTSVRVIITEMAKGHFGIGGELASKVRR:
PIAQIHILEGRSDEQKETLIREVSEAISRSLDAPLTSVRVIITEMAKGHFGIGGELASKVRR:
PIAQIHILEGRSDEQKETLIREVSEAISRSLDAPLTSVRVIITEMAKGHFGIGGELASKVRR:
PIAQIHILEGRSDEQKETLIREVSEAISRSLDAPLTSVRVIITEMAKGHFGIGGELASKVRR:
PIAQIHILEGRSDEQKETLIREVSEAISRSLDAPLTSVRVIITEMAKGHFGIGGELASKVRR

Thanks!

Hi all, this seems to be a problem with hhsearch, after I reinstalled hhsearch the problem was solved
conda activate /mnt/f/Colabfold/localcolabfold/colabfold-conda
conda install -c conda-forge -c bioconda hhsuite

I am still getting the same error (shown below) even after reinstalling hhsearch:
2023-09-13 12:36:03,567 Running colabfold 1.3.0 (2a47c6f1459fbbdb5242cbc62173f9b513813cfa)
2023-09-13 12:36:15,566 --max-msa can not be used in combination with AlphaFold2-multimer (--max-msa ignored)
2023-09-13 12:37:04,506 Found 4 citations for tools or databases
2023-09-13 12:37:09,518 Query 1/1: X (length 370)
2023-09-13 12:37:10,405 Sleeping for 5s. Reason: PENDING
2023-09-13 12:37:21,115 Could not get MSA/templates for X: [Errno 2] No such file or directory: 'hhsearch'
Traceback (most recent call last):
File "/rds/general/user/dp5117/home/anaconda3/lib/python3.9/site-packages/colabfold/batch.py", line 1328, in run
) = get_msa_and_templates(
File "/rds/general/user/dp5117/home/anaconda3/lib/python3.9/site-packages/colabfold/batch.py", line 787, in get_msa_and_templates
template_feature = mk_template(
File "/rds/general/user/dp5117/home/anaconda3/lib/python3.9/site-packages/colabfold/batch.py", line 165, in mk_template
hhsearch_result = hhsearch_pdb70_runner.query(a3m_lines)
File "/rds/general/user/dp5117/home/anaconda3/lib/python3.9/site-packages/alphafold/data/tools/hhsearch.py", line 86, in query
process = subprocess.Popen(
File "/rds/general/user/dp5117/home/anaconda3/lib/python3.9/subprocess.py", line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/rds/general/user/dp5117/home/anaconda3/lib/python3.9/subprocess.py", line 1821, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'hhsearch'
2023-09-13 12:37:21,160 Done

I cannot solve this problem by reinstalling the packages either.

I cannot solve this problem by reinstalling the packages either.

I just solved this problem by mannually activating the colabfold-conda environment even though i have exported the colabfold-conda/bin to the PATH.
conda activate XXXXX/localcolabfold/colabfold-conda


Can this framework be used to monitor core resources like namespaces?

Expected Behavior
I want to handle namespaces events. Can this be done with kopf?
Actual Behavior
[2019-07-08 15:42:29,693] kopf.clients.auth    [DEBUG   ] configured via kubeconfig file
[2019-07-08 15:42:30,561] kopf.engines.peering [WARNING ] Default peering object not found, falling back to the standalone mode.
Traceback (most recent call last):
  File "/usr/local/bin/kopf", line 10, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/kopf/cli.py", line 28, in wrapper
    return fn(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/kopf/cli.py", line 59, in run
    peering_name=peering_name,
  File "/usr/local/lib/python3.7/site-packages/kopf/reactor/queueing.py", line 271, in run
    task.result()  # can raise the regular (non-cancellation) exceptions.
  File "/usr/local/lib/python3.7/site-packages/kopf/reactor/queueing.py", line 78, in watcher
    async for event in watching.infinite_watch(resource=resource, namespace=namespace):
  File "/usr/local/lib/python3.7/site-packages/kopf/clients/watching.py", line 132, in infinite_watch
    async for event in streaming_watch(resource=resource, namespace=namespace):
  File "/usr/local/lib/python3.7/site-packages/kopf/clients/watching.py", line 81, in streaming_watch
    rsp = fetching.list_objs(resource=resource, namespace=namespace)
  File "/usr/local/lib/python3.7/site-packages/kopf/clients/fetching.py", line 64, in list_objs
    plural=resource.plural,
  File "/usr/local/lib/python3.7/site-packages/kubernetes/client/apis/custom_objects_api.py", line 1307, in list_cluster_custom_object
    (data) = self.list_cluster_custom_object_with_http_info(group, version, plural, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/kubernetes/client/apis/custom_objects_api.py", line 1413, in list_cluster_custom_object_with_http_info
    collection_formats=collection_formats)
  File "/usr/local/lib/python3.7/site-packages/kubernetes/client/api_client.py", line 334, in call_api
    _return_http_data_only, collection_formats, _preload_content, _request_timeout)
  File "/usr/local/lib/python3.7/site-packages/kubernetes/client/api_client.py", line 168, in __call_api
    _request_timeout=_request_timeout)
  File "/usr/local/lib/python3.7/site-packages/kubernetes/client/api_client.py", line 355, in request
    headers=headers)
  File "/usr/local/lib/python3.7/site-packages/kubernetes/client/rest.py", line 231, in GET
    query_params=query_params)
  File "/usr/local/lib/python3.7/site-packages/kubernetes/client/rest.py", line 222, in request
    raise ApiException(http_resp=r)
kubernetes.client.rest.ApiException: (404)
Reason: Not Found
HTTP response headers: HTTPHeaderDict({'Audit-Id': '818d48ae-127f-4dc7-b767-337cc49be806', 'Content-Type': 'text/plain; charset=utf-8', 'X-Content-Type-Options': 'nosniff', 'Date': 'Mon, 08 Jul 2019 22:42:30 GMT', 'Content-Length': '19'})
HTTP response body: 404 page not found

Steps to Reproduce the Problem

Create sample code sample.py:

import kopf
@kopf.on.create('core', 'v1', 'namespaces')
def module_handler(meta, spec, namespace, logger, **kwargs):
    logger.info(f"Namespace was created")

Run code kopf run sample.py --verbose

Specifications

Platform:
Kubernetes version: v1.12.6
Python version: 3.7.1
Python packages installed:
aiohttp==3.5.4
aiojobs==0.2.2
async-timeout==3.0.1
attrs==19.1.0
awscli==1.16.169
boto3==1.9.134
botocore==1.12.159
cachetools==3.1.1
certifi==2019.6.16
chardet==3.0.4
Click==7.0
colorama==0.3.9
docutils==0.14
google-auth==1.6.3
idna==2.8
iso8601==0.1.12
jmespath==0.9.4
kopf==0.16
kubernetes==9.0.0
multidict==4.5.2
oauthlib==3.0.1
packaging==19.0
pip==19.1.1
pip-review==1.0
pyasn1==0.4.5
pyasn1-modules==0.2.5
pyparsing==2.4.0
python-dateutil==2.8.0
PyYAML==3.13
requests==2.22.0
requests-oauthlib==1.2.0
rsa==3.4.2
s3transfer==0.2.0
setuptools==41.0.0
six==1.12.0
urllib3==1.24.3
websocket-client==0.56.0
wpm==1.51.4
yarl==1.3.0

@etopeter Yes and no.
No: in the current version 0.18, only the custom resources are supported. Built-in resources are not supported (mostly those of apiVersion: v1; those of newer api-versions with group/version syntax should work in theory, never were tested in practice).
Yes: With #110 merged (switching to pykube-ng internally), all resources will be supported, including pods and namespaces. This is the last step of approximately 2-month journey, and I expect it to be released in few days.
Meanwhile, for experiments, you can try installing kopf==0.17.dev1 by explicitly specifying the version number (it is an unofficial temporary pre-release). It contains the code to handle all the builtin resources as an experiment, but lacks some of the newest Kopf's features and bugfixes of versions 0.17 & 0.18 (see changelogs). Be prepared to switch to 0.19 as soon as it is released — it will contain all the necessary features officially.
PS: I tried this code with namespaces, and it worked (with some unwanted effects like a finalizer on the namespaces — at that time; solved now): https://twitter.com/nolar/status/1139630966408994817


MIS Value Error (General)

Just something to consider, I know sometimes it may be useful to define once what exactly you mean by ValueError (I know it's likely outside the range of permissible input/output values or potentially a math error like overflow or something but defining it once wouldn't hurt).
MIS

See #73


Your Music/Songs "playlist" is out of order.

All of the songs that I have added my "My Songs" in Spotify are ordered by date. They aren't this way when pulled up in MPD (ncmpcpp). It would be nice if they are ordered the same way that they are in Spotify.

Hi, I've stumbled upon the same problem as you have/had. The issue probably lies within mopidy itself - it defaults to alphabetical sort. You can switch sorting off via C-s to "do not sort". Then enter the album directory again - the songs will be in the album order.


TacO not loading when multiple clients running at once?

So I try to load TacO through LB.  The account I try to load it on is currently running GW2Hook and Arcdps.  If I have another client running without any addons.  TacO will not load.  I am not sure if this is related to any addons, but as soon as I close the client not running any add-ons I can then start TacO on the account running the add-ons.
I'm not sure if this is LB to blame, or TacO itself.
I am still running LB 2.2.1 and TacO's latest version as they have worked in the past together with multiple clients going.  So not sure whats causing it.

So according to process explorer  There is no -mumblelink associated with an account that uses arcdps.

I check another account running without arcdps and I see this instead..


Allow binding to loopback address

Implements what was asked for in #2605
With an additional (optional) option seleniumUseLoopback selenium will bind to <IP_ADDRESS> instead of your current network ip (e.g. <IP_ADDRESS>).
The default for that option is false to not introduce any changes (even though they most likely wouldn't break anything).
This is useful especially in situations where you might use some VPN like let's say Ciscos AnyConnect, which forbids connections to your computer via your current network ip, but would allow connecting to localhost/<IP_ADDRESS>. Without that we currently unfortunately cannot run End2End tests via protractor when working remote.
Unfortunately I wasn't able to run the tests (npm start and npm test) without nearly all of them failing. Perhaps if this flag should have a test, someone would be so kind and write one, or give me some additional help, why my tests might not be working (and where the best place for that test would be).

I signed it!

After taking another look at remote.SeleniumServer, what if instead we add a localSeleniumStandaloneOpts object to the config, and just pass that directly to the SeleniumServer constructor? We can set config.localSeleniumStandaloneOpts.port = config.seleniumPort and config.localSeleniumStandaloneOpts.args = config.seleniumArgs for backwards compatibility. Then you can use config.localSeleniumStandaloneOpts.loopback to do this.

@juliemr Sounds like a good idea. I just added changes to enable this.

Thanks! Merged as b6932560d66730203e0e7b0c65c80a44ad4747de
I added a couple more docs with 261b49e1129e0288215d865d5953872c4839877a


Bug | Mark as sent button not working

The mark as sent button not working. High Priority bug as it is a showstopper for summons
https://github.com/user-attachments/assets/99bad024-3af0-4256-a276-b6b4a2e24710

Hi @Ramu-kandimalla
Env._UAT
url: https://dristi-kerala-uat.pucar.org/digit-ui/employee/orders/Summons&Notice
reference link: https://jam.dev/c/89cbbd86-320f-452e-bf58-d2e687c2d292
https://jam.dev/c/92485641-613d-4842-8e90-725e15f8a7fc

Hi @devarajd94  This issue is resolved and working as expected

Verfied


how to control to not repeat

How to disable loop gifs for android/ios?

Thank you for the issue!
I will add that feature as it does not exist at this time.
If you can send me a PR, let me know.


testing/slogtest: add check for empty group [freeze exception]

https://go.dev/issue/61067 identifies a bug in log/slog. CL https://go.dev/cl/508436 fixes it and so does not require a freeze exception.
However, any user-written handler could exhibit the same bug. The testing/slogtest package is designed to catch errors like this in Handlers. It should be updated to check for the problem. https://go.dev/cl/508438 does that.
Since this isn't technically a bug fix, I'm applying for an exception.
/cc @golang/release

Approved.


update compatability and version

Fixes #19

Looks like failing tests caused by CSV.jl now compatible with Julia 1.3 and above. I think it would be fine to release a ClipDataversion that's only 1.3 and above since 1.6 is about to go LTS.

Okay merging this!


Releases Submit PR to azure-docs-pr reflecting Updated Packages List

Somewhere on this page, or a subpage.
Package List Source is here (follow the github.io location).
This is extremely similar to the #1253, and should share automation scripts.

This is where it should exist in dev center ToC.

I think an example of this is: https://docs.microsoft.com/en-us/azure/developer/python/sdk/storage/overview?view=storage-py-v12

I think an example of this is: https://docs.microsoft.com/en-us/azure/developer/python/sdk/storage/overview?view=storage-py-v12

@scbedd -- Should this still be open?

@weshaggard IIRC we actually sync the releases markdown. I can't recall exactly where, but I think this is actually already happening.

We have the package index being generated and published, such as https://docs.microsoft.com/en-us/azure/developer/python/azure-sdk-library-package-index. Is that the saem thing we are talking about here? If so then yes this work has been done.


MockFirestoreInstance.dump() crashes on GeoPoint

This test fails:
await firebase.collection('places').add({
  location: GeoPoint(10, 100)
});
final snapshot = await firebase.collection('places').getDocuments();
final document = snapshot.documents.first;
expect(document['location'], equals(GeoPoint(10, 100)); // this works
expect(firebase.dump(), contains('location: ...')); // this does not.

It actually throws this error:
  Converting object to an encodable object failed: Instance of 'GeoPoint'
  dart:convert                                                             JsonEncoder.convert
  package:cloud_firestore_mocks/src/cloud_firestore_mocks_base.dart 39:30  MockFirestoreInstance.dump

Have you found a solution to this issue?

The solution is to handle GeoPoint at https://github.com/atn832/cloud_firestore_mocks/blob/1b556fb34c02d18488f6f120f4d3808e0e5dc6cd/lib/src/util.dart#L41. I haven't had the time to handle it so far. If you need it urgently, feel free to contribute a PR and I'll be happy to review it.

@atn832 I created a PR (https://github.com/atn832/fake_cloud_firestore/pull/257) to handle this. Please let me know if that's acceptable

I forgot to mention it, but I published your fix in version 2.2.0 last week: https://pub.dev/packages/fake_cloud_firestore/changelog#220. Thanks for taking care of this long-standing issue!


React Testing Library render() not working with embla-carousel-react v8.0.0-rc7

Bug is related to

[x] embla-carousel-react

Embla Carousel version

v8.0.0-rc7

Describe the bug
When upgrading from embla-carousel-react v6.2.0 to v8.0.0-rc7, the tests in my repo for components using embla-carousel-react started failing with the error TypeError: undefined is not a function at Array.map (<anonymous>) when calling render() from react testing library
CodeSandbox
- The link to a CodeSandbox that demonstrates the bug clearly.

Steps to reproduce

Go to Test tab in the sandbox
See that the renders EmblaCarousel test fails with the error

undefined is not a function

TypeError: undefined is not a function
    at Array.map (<anonymous>)

Change the embla-carousel-react version to v7.1.0 and refresh the page, see that the renders EmblaCarousel test passes

Expected behavior
The test should pass and the component should render properly.

Hi @MWhiteFearless,
Thank you for your complete bug report. I will look into this when possible.
Beat,
David

Hi @MWhiteFearless,
I haven't investigated this fully but three things probably will cause problems with React Testing Library that has changed internally in Embla from v7 --> v8:

Embla is using window.matchMedia now.
Embla is using ResizeObserver.
Embla is using MutationObserver.

So let's say you mock window.matchMedia like this. If run the tests after that and stuff start to work you get a different error, then I'm probably right about my guess.
Best,
David

It works by mocking matchMedia! Tests are passing now, thank you! The stackoverflow suggestion worked perfectly for me.

@MWhiteFearless I'm glad it solved the problem. So I'm closing this issue then?
Best,
David

Yeah works for me! It could be nice to add a note to the documentation in case others run in to this issue. Really appreciate your help!

@MWhiteFearless thanks for the tip. I will add it to the release notes for the stable v8 release which is coming soon.

@raphaelApard see my comment.

Thanks a lot @MWhiteFearless for completing this issue and @davidjerleke  for your responsiveness !
And by the way, thanks for the great work you do with  embla-carousel.


typo in kubectl command

Nothing exciting, just a small typo :). Was Kubectl apply -f deploy/manifest.yaml, changed to kubectl apply -f deploy/manifest.yaml

It took 2 min to understand the typo. Thanks @Piotr1215


disable buildpack after initial install

Is there a way to stop the buildpack from running every time I push new changes to production (on Heroku)?
Thanks in advance,
Ian

Hey @nax3t, there is some discussion about it found here: https://github.com/jontewks/puppeteer-heroku-buildpack/issues/51. As far as not getting the buildpacks to run when pushing code, I didn't see anything like that on heroku's site, and it seemed like it is set up to cause them to run each time. There may be some way of caching the installed packages, but a few things we tried didn't work and also heroku doesn't have that in their official chromium buildpack, and so it didn't make its way into this one.
Happy to accept a PR if you are inclined to find the way to cache on heroku correctly!


Cannot resolve adam-shade-spark2_2.11 dependency

With Travis CI on a downstream repo
https://travis-ci.org/heuermh/adam-gfa/builds/587540198
the adam-shade-spark2_2.11 dependency cannot be resolved
[INFO] --- maven-shade-plugin:3.2.0:shade (default) @ adam-gfa_2.11 ---
[WARNING] The POM for org.bdgenomics.adam:adam-shade-spark2_2.11:jar:0.29.0 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  8.641 s
[INFO] Finished at: 2019-09-20T16:27:26Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.2.0:shade
(default) on project adam-gfa_2.11: Execution default of goal
org.apache.maven.plugins:maven-shade-plugin:3.2.0:shade failed: Plugin
org.apache.maven.plugins:maven-shade-plugin:3.2.0 or one of its dependencies could
not be resolved: Failure to find org.bdgenomics.adam:adam-shade-spark2_2.11:jar:0.29.0
in https://maven-central.storage-download.googleapis.com/repos/central/data/ was
cached in the local repository, resolution will not be reattempted until the update
interval of google-maven-central has elapsed or updates are forced -> [Help 1]

https://travis-ci.org/heuermh/adam-gfa/builds/587540198
The files are present on repo1
https://repo1.maven.org/maven2/org/bdgenomics/adam/adam-shade-spark2_2.11/0.29.0/
and in the Maven Central search archive
https://search.maven.org/artifact/org.bdgenomics.adam/adam-shade-spark2_2.11/0.29.0/jar

Fixed on the GCS Maven Mirror. Thank you, @lesv


Get android-netguard from maven instead of jitpack

Task/Issue URL: https://app.asana.com/0/488551667048375/1203722248572744/f
Description
Start consuming the android-netguard library from maven instead of Jitpack
Steps to test this PR

App compiles
Smoke tests on AppTP

Current dependencies on/for this PR:

develop

PR #2729   👈

This comment was auto-generated by Graphite.


Rethink release process

master should use 999-SNAPSHOT
versions should be computed during the release process in a reliable way (right now it works by accident)
the documentation upload should be fixed (#58)

Is this something that should be discussed at a wider SmallRye level in the Google Group?
It would be nice to have consistency across projects

Yes, it can, but this is very related to GH Actions.

Sure, but SmallRye CI is something we need to evaluate and may lead to adopting GH Actions for everything too

Fixed in #65 . If it works as expected, I will send an email to the list to discuss the "why and how".


Endpoint to calculate and return Certificate of Deposit (CD)

Note

A certificate of deposit is an agreement to make a fixed-term interest-bearing deposit of money.
Formula to calculate Certificate of Deposit

Create a function in ./helpers/functions.py file for the calculation.
Map it with an endpoint  GET /certificate_of_deposit in the main.py file with properly.

Hi @nikhil25803 can I work on this issue?

Sure @yixin0829 , go ahead :)


Repository Configurations

Configure the repository for open source development with appropriate checks and balances.

[x] general features
[x] branch protection rules
[ ] tag protection rules

what are rulesets?
what are status checks?

status checks are basically api's (most commonly it seems for ci/cd) that return true or false.

there is no need for tag protection rules at this time.
rulesets is just a gui for the various rules that have been created for branches or tags.


is there a way to add movies/TV shows manually ?

I want to keep track of foreign movies and TV shows that I watch which TMDb does not have info about. Is there away to manually add information , poster.

This is not supported and there is no plan for this. Sorry.

You can submit them to TMDb.

thanks ,


Deprecating the project

I've made the decision to deprecate the project, mainly due to a lack of time on my part. If someone wants to take over maintenance, please reach on on the forum thread.

Might continue to work on this and see if I can get it working.


Firefox: Using five or more STUN/TURN servers causes problems

Got these errors when using firefox:
WebRTC: Using more than two STUN/TURN servers slows down discovery 2 ion-sdk.min.js line 1 > eval:13
WebRTC: Using five or more STUN/TURN servers causes problems ion-sdk.min.js line 1 > eval:13

interesting. we can reduce to just two

now is two.


Instantiate agent with Docker support

See issue https://github.com/gmacario/easy-genivigo/issues/4

Testing, LGTM.

Merged.


city_splits

In city_splits ,the file name of gtFine is different from the name of city Raw data set.
For example,In city_splits ,
/images/city_gt_fine/val/frankfurt_000001_066574_leftImg8bit.png /annotation/city_gt_fine/val/frankfurt_000001_066574_gtFine.png
In city Raw data set ,
stuttgart_000000_000019_gtFine_color.png
How can I get a city_splits dataset？

You can access our dataset in https://drive.google.com/file/d/1QNW_qRtCnL_Gn0blmHzxblfORCatiZb_/view?usp=share_link.
Please note, our cityscapes dataset following CPS and the lists of train/val IDs matches them (https://github.com/charlesCXK/TorchSemiSeg/blob/main/docs/getting_started.md).

你好，这是自动回复邮件。你的邮件我已收到，我将尽快给你回复。

Thank you very much!!

@alittledou You're welcome.


EdmxReader has been renamed to CsdlReader

EdmxReader has been renamed CsdlReader in Microsoft.Odata.Edm per https://github.com/OData/odata.net/issues/632 since v7.0 I believe.
The code still references the old name but requires an Odata.edm version >=7.3.1
I think is best to rename this and require the higher version. I don't mind submitting a PR for this.
#454

It appears the latest code has this fixed.

I am using Odata.edm version 7.4.1 but I am getting the error: "Could not load type 'Microsoft.OData.Edm.Csdl.EdmxReader' from assembly 'Microsoft.OData.Edm..."
What versions of which libraries do I need to get this working?

@banderson501 I think the latest v5 code has not been submitted to nuget yet. What I ended up doing is using  Version 5.0.0-beta1 from nuget since it targets Microsoft.OData.Core <7.0 (which still has Microsoft.OData.Edm.Csdl.EdmxReader). Unfortunately Version 5.0.0-beta1 will warn about using 4.6 framework (if your project targets .NetStandard) but it will still work for the time being until the next beta is pushed to nuget; at least this was my conclusion. Hope it helps.

I went back to this combo of versions and it works. Thanks for your help.
Microsoft.OData.Core 6.19.0, Microsoft.OData.Edm 6.19.0, Microsoft.Spatial 6.19.0
Simple.OData.V4.Client 5.0.0-beta1


feat: add i18n for scaffolder

Hey, I just made a Pull Request!

:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[ ] All your commits have a Signed-off-by line in the message. (more info)

finish PR: https://github.com/backstage/backstage/pull/20577

ping @benjdlambert @freben

Hi! First quick glance - I see a conflict has crept in. Also this should be exported on /alpha, right?

Hi! First quick glance - I see a conflict has crept in. Also this should be exported on /alpha, right?

yes

Think you'll need to run the API reports for catalog too, maybe you can do that in another PR instead and make those changes there?

ok


Add an option to hide selected variables

Low priority for now.  This is similar to #11, but this will give them an option to choose which ones they want to hide whereas #11 was automatically hiding ones with a certain amount of levels.

Closing as duplicate to #98.


OIDC authorization code flow does not work for SPAs

When using OpenID Connect authorization code flow, a login request is made from the frontend to the pac4j-oidc callback at the backend, and it should redirect the frontend to the identity provider's login page. A simple HTTP redirect is fine for traditional web applications.
However, in case of modern Single Page Applications calls to the backend are typically made with XMLHttpRequests. In a standards-conforming browser any HTTP redirections with XMLHttpRequests are automatically followed by the browser without giving control back to the frontend JavaScript. This is a problem when frontend login functionality is done with an AJAX call, or simply when a session times out and the user should be re-authenticated by redirecting them to the login page after an AJAX call.
To work around this, by default the IndirectClient implementation in pac4j-oidc will return a 401 instead of redirection if the AJAX request has e.g. X-Requested-With: XMLHttpRequest header set to identify it as an AJAX request. This seems to be a typical way of handling with this problem, except that the URL of the login page should be passed to the frontend as well. Otherwise the frontend will have no way of knowing the login page URL without out-of-band information.
Suggestion to fix is to include the same URL that a normal redirect would use in a suitable header field instead of just returning a simple HTML page with unhelpful text "HTTP Error 401" that a typical AJAX client would ignore or mishandle in any case.
Tested with pac4j 2.0.0 and buji-pac4j 2.1.0-RC1.

An appropriate header field could be "Referer"?

An appropriate header field could be Location?

Notice that buji-pac4j v2.1 has not been upgraded yet to pac4j v2.0, so if it works without any issue, it's luck.
So you finally expect the front to redirect the user to the login URL found in the Location header of the 401 error, don't you?
This will work most of the time, but we cannot address some SAML configuration as it might be a form POST instead of a URL redirection.

Yes, the frontend would need to do the redirect in this case which is not ideal, but I couldn't come up with a better way to tackle that and it's what seems to be the commonly suggested solution.
It's absolutely true that this will not cover everything 100% e.g. with SAML. But as you said at least it would work most of the time and be useful for some popular protocols like OpenID Connect, which is better than it not working at all. And the change should be pretty safe from not breaking existing clients.
WDYT, do you agree on the suggested solution, or any better ideas how we could tackle AJAX calls? If there's a green light that this would be useful, we could work on a PR.

I'm in line. Please submit a pull request for that? Thanks

Great! @andreaTP could you support with the PR? :)

sure is coming!


fix issue when publishing articles from servers running on alternate ports

When running clay on ports other than 80, the fetch of the newsiebot article data will fail. It will still post the message, but it won't have the actual article data. This checks the page url for a port and uses that when fetching article data.

Removed CLAY_PORT and CLAY_PROTOCOL because we can infer both of those from the page's url. Also moved all this stuff into page.js since that's where it's formatting the article url

👍


Feature Request - Emby Server

Would love to see Emby Server added to the install list.

I've tested installing on Mint and Raspbian however I've not tried to add any media or playback anything.
Please could someone report back and let me know if this application works ok which would be really appreciated.
Tom

I've not heard any bad feeback on this so will assume its ok. Please log an issue if anyone finds a problem.
Thanks