White screen when reopen app after close with back button

Hi, i have this code:
runApp(new MaterialApp(
      //home: new HomePage(),
      theme: appTheme,
      home: new StartScreen(),
    )
    );

class StartScreen extends StatefulWidget {
  @override
  _StartScreenState createState() => new _StartScreenState();
}

class _StartScreenState extends State<StartScreen> {

  bool isFirstLaunch = true;

  @override
  Widget build(BuildContext context) {
    if (isFirstLaunch) {
      return new Scaffold(
        body: new Center(
          child: new Row(
            children: <Widget>[
              new IconButton(
                  icon: new Icon(Icons.satellite),
                  onPressed: () {
                    setState(() {
                      isFirstLaunch = false;
                    });
                  }
              )
            ],
          ),
        ),
      );
    }
    return new Scaffold(
      body: new Text("HELLO"),
    );
  }
}

When close the app with back button and reopen i have white screen with this error:
Performing full restart...
Restarted app in 1.638ms.
D/EGL_emulation(17858): eglMakeCurrent: 0xb31055a0: ver 2 0 (tinfo 0xb314c3d0)
I/FlutterActivityDelegate(17858): onResume setting current activity to this
D/EGL_emulation(17858): eglCreateContext: 0x9241e4e0: maj 2 min 0 rcv 2
D/EGL_emulation(17858): eglMakeCurrent: 0x9241e4e0: ver 2 0 (tinfo 0xa5936080)
D/EGL_emulation(17858): eglMakeCurrent: 0x9241e4e0: ver 2 0 (tinfo 0xa59367e0)
E/flutter (17858): [ERROR:topaz/lib/tonic/logging/dart_error.cc(16)] Unhandled exception:
E/flutter (17858): 'package:flutter/src/material/app.dart': Failed assertion: line 112: 'home == null ||
E/flutter (17858):       !routes.containsKey(Navigator.defaultRouteName)': If the home property is specified, the routes table cannot include an entry for "/", since it would be redundant.
E/flutter (17858): #0      _AssertionError._doThrowNew (dart:core-patch/dart:core/errors_patch.dart:37)
E/flutter (17858): #1      _AssertionError._throwNew (dart:core-patch/dart:core/errors_patch.dart:33)
E/flutter (17858): #2      new MaterialApp (package:flutter/src/material/app.dart:112)
E/flutter (17858): #3      new Routes (package:ordine_app/Routes.dart:18)
E/flutter (17858): #4      main (file://********/lib/main.dart:5)
E/flutter (17858): #5      _startIsolate.<anonymous closure> (dart:isolate-patch/dart:isolate/isolate_patch.dart:277)
E/flutter (17858): #6      _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:163)

FLUTTER DOCTOR
[✓] Flutter (on Mac OS X 10.13.2 17C88, locale it-IT, channel alpha)
    • Flutter at /Users/gio/flutter
    • Framework revision 8f65fec5f5 (3 weeks ago), 2017-12-12 09:50:14 -0800
    • Engine revision edaecdc8b8
    • Tools Dart version 1.25.0-dev.11.0
    • Engine Dart version 2.0.0-edge.d8ae797298c3a6cf8dc9f4558707bd2672224d3e

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.2)
    • Android SDK at /Users/gio/Library/Android/sdk
    • Android NDK at /Users/gio/Library/Android/sdk/ndk-bundle
    • Platform android-27, build-tools 27.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)

[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.2, Build version 9C40b
    • ios-deploy 1.9.2
    • CocoaPods version 1.3.1

[✓] Android Studio
    • Android Studio at /Applications/Android Studio 3.0 Preview.app/Contents
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)

[✓] Android Studio (version 3.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)

[✓] Connected devices
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 7.1.1 (API 25) (emulator)

no it is gone

I'll close then. Add a comment if you encounter it again and I'll reopen.


Could port to OpenCL?

Could the project be port to OpenCL? Currently it only supports CUDA which is proprietary. OpenCL can be more wide spread and portable.

Thanks for the feedback -- this is tracked in https://github.com/tensorflow/tensorflow/issues/22


💡 [FEAT] - ADD ANIMATED PAGESPEED-INSIGHTS SCORE IMAGE

[X] I am from GSSoC23.
[X] I would like to be assigned this task.

Section
Description

Concise Description
The current score image not looks good, because of it's quality

Solution Proposed
I can add high quality animated score image in svg format which looks more professional, (it animates on page refresh only)

Additional Context
This feature in docs will provide a professional finish for this Repository, you can see an example of my work in below screenshots. The image in edited section is just for sample

Original

Edited

Code of Conduct
By submitting this issue, you agree to follow our Code of Conduct.

[x] I follow the Contributing Guidelines of this project.
[x] I have checked the current issues for duplicate problems.
[x] I have read the readme of this repository.

Hello @Astrodevil, I want to you to assign me for further development of this issue


Deezer new UI broke the extension

"Error in event handler for runtime.onMessage: TypeError: Cannot read property 'dispatchEvent' of undefined"
Chrome: 69.0.3497.92

Thanks for the report, I'll check back as soon as possible.

New version 1.0.0 published.
You should be able to get it as soon as Google rolls it out ( usually it takes maximum 60 minutes )

Since the new update it's even worse, when I hit play/pause, the next song start, this is weird.

I did an extensive test on my side and it works just fine. Which OS are you using? And which keyboard ( with software, if any )?

Windows 10, my keyboard is a Dell with the "Fn" macro + F10 F11 F12 for multimedia, no software for it.
F10 and F12 work fine btw.

Do they come up as Multimedia Keys or just as key combination? Can you please post a screenshot of the keybindings in your Chrome for this extension?

The keybindings in Chrome show only text for all entry "multimedia content:"
And on my keyboard I have to press/hold in first the "Fn" key then F10 or F11 or F12.
And again, the combination for previous(F10) and next(F12) song work fine.

Well, a simple reinstallation did the trick apparently, thank you for your time!
I should have try that first...

All fine :) Glad it worked!


python312Packages.fakeredis: 2.21.0 -> 2.21.1

Diff: https://github.com/dsoftwareinc/fakeredis-py/compare/refs/tags/v2.21.0...v2.21.1
Changelog: https://github.com/cunla/fakeredis-py/releases/tag/v2.21.1
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
24.05 Release Notes (or backporting 23.05 and 23.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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

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

14 packages built:

baserow
baserow.dist
python311Packages.celery-redbeat
python311Packages.celery-redbeat.dist
python311Packages.fakeredis
python311Packages.fakeredis.dist
python311Packages.fastapi-mail
python311Packages.fastapi-mail.dist
python311Packages.optuna
python311Packages.optuna.dist
python312Packages.fakeredis
python312Packages.fakeredis.dist
python312Packages.fastapi-mail
python312Packages.fastapi-mail.dist


Self Referencing Column

Is it possible for a column of an object to point back to that object?
Example
public class Item(){
    public int id{get;set;}
    public string name {get;set;}
    [BsonRef]
    public Item parentitem{get;set;}
}

when "getcollection" is run for this class, a stack overflow error occurs when trying to declare the "parentitem" variable.

Just wondering how popular is this in the NoSQL world. I think even in RDBMS one do the self-ref by using ID?
In your case, the parentitem could be parentitemID, you populate it JIT when you need the parent.

Hi! With the objective of organizing our issues, we are closing old unsolved issues. Please check the latest version of LiteDB and open a new issue if your problem/question/suggestion still applies. Thanks!

this issue still exists, version:5.0.9


ERROR ~ toIndex = 2 -- Check script 'genomenote/./workflows/genomenote.nf' at line: 98

Description of the bug
Hi. I'm interested in trying this pipeline, but running into issues. The main one is the error immediately after running:
ERROR ~ toIndex = 2

 -- Check script 'genomenote/./workflows/genomenote.nf' at line: 98 or see '.nextflow.log' file for more details

My commands and the sample sheet are below. Thanks!
Command used and terminal output
DIRIN=/mount/home/user/data/WorkData/proj1/2023-08.HiC_test
INPUT=${DIRIN}/samplesheet_genomenote.csv
DIROUT=${DIRIN}/OUT_genomenote
GENOME=/mount/home/user/data/ExtData/UCSC/hg38/hg38.fa
nextflow run sanger-tol/genomenote --input ${INPUT} \
  --outdir ${DIROUT} \
  --fasta ${GENOME} \
  -profile singularity

Relevant files
sample,datatype,datafile
sample1,hic,/mount/home/user/data/WorkData/proj1/2023-08.HiC_test/sample1/data/aligned/merged_dedup.bam
sample2,hic,/mount/home/user/data/WorkData/proj1/2023-08.HiC_test/sample2/data/aligned/merged_dedup.bam
System information
Nextflow version 23.04.3 build 5875
HPC
local
singularity
CentOS
latest cloned sanger-tol/genomenote

Hi @mdozmorov . Thanks for the report.
I think this is because the pipeline assumes the input Fasta file is named with a dot in the part before the extension – something like ${A}.${B}.*. It then uses ${A}.${B} to name some output files.
We can improve that in the pipeline.
In the meantime, I believe the simplest workaround would be to name your input file something like hg38.1.fa. It looks a bit weird, but it should work 🤞🏼

Hi @muffato, thanks for the suggestion. Yes, renaming the genome file to hg38.1.fa resolved this error. But I ran into the samplesheet validation error which may be related to file naming.
[CRITICAL] The HiC file has an unrecognized extension: /vcu_gpfs2/home/user/data/WorkData/proj1/2023-08.HiC_test/sample1/data/aligned/merged_dedup.bam
  It should be one of: .cram On line 2.

My samplesheet is above. I tested the following tweaks:

explicitly converting it with dos2unix
adding/removing new line at the end
providing the path to files with and without file names

I've been checking https://raw.githubusercontent.com/sanger-tol/genomenote/main/bin/check_samplesheet.py but cannot immediately understand what may be wrong. This may be a separate issue, but could it be solved by renaming the BAM files, how?

Hi @mdozmorov . Sorry we didn't reply sooner.
We've got a new release coming out very soon, and I'll make sure this bug is fixed. The problem is simply that the pipeline currently only accepts CRAM. I'll make it take BAM, which shouldn't be a problem, since internally it converts the CRAM to BAM anyway :)

Noted the release, will test


Changes after time behaviour review

Some changes after reviewing the modification time behaviour and realising that we could use the full timestamp resolution there.

Thanks for the review. Think I processed all the items.


Create zh_cn

create_connection/dist and create_connection/refl seem to have the same name, their translations since are the same.

If you can, I just added a few more patterns, mishaps, and iotas.


Add extensions to directories

And maybe a list of not movie extensions like srt?
I think I need to join the extensions table and have a column that says "media"

Done


Update spacex-starship-orbital-test-flight-happening-on-monday-17th.md

Fix typo in line 50: Mars not mass.

Thanks khettu, good first issue :)

🧩🧩🧩🧩
　　　　　🧩🧩🧩🧩🧩🧩
　　🧩🧩🧩🧩🧩🧩🧩🧩🧩🧩🧩🧩
　　🧩🧩🧩🧩🧩🧩🧩🧩🧩🧩🧩🧩
　　🧩🧩🧩🧩🧩🧩🧩🧩🧩🧩🧩🧩
　🧩🧩🧩🧩🧩🧩🧩🧩🧩🧩👕🧩🧩🧩
🧩🧩🧩🧩🧩🧩🧩🧩🧩🧊🌫🌫🧩🧩🧩🧩
🧩🧩🧩🧩🧩🧩🧩🧩🧊🌫🌫👕🧩🧩🧩🧩
🧩🧩🧩🧩🌫🌫🧊🧊🌫🌫🧩🧩🧩🧩🧩🧩
🧩🧩🧩🧩🧊🌫🌫🌫🌫👕🧩🧩🧩🧩🧩🧩
　🧩🧩🧩🧩🧩🌫🌫🧩🧩🧩🧩🧩🧩🧩
　　🧩🧩🧩🧩🧩🧩🧩🧩🧩🧩🧩🧩
　　🧩🧩🧩🧩🧩🧩🧩🧩🧩🧩🧩🧩
　　🧩🧩🧩🧩🧩🧩🧩🧩🧩🧩🧩🧩
　　　　　🧩🧩🧩🧩🧩🧩
　　　　　　🧩🧩🧩🧩
emojimage.com


Use 'spago path output' to choose default output path

Hi!
This PR uses spago output path command to set the default output path. This is used in monorepos to set a shared output folder to save repeatedly building things.
Thanks!
Dan

@ethul Sorry to bother you, could you possibly take a look at this? Thanks :smile:

No bother at all! Apologies for the delay. I will follow up with this this weekend. @danieljharvey Thanks for this PR

Sorry again for the delay. Looks great, thanks!


Disable circular loop of list items

Is it possible to disable circular loop of list items?

@Joisar use two argument constructor and pass second argument as false.


⚠ Bofrost.fr has degraded performance

In fae2df2, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 849 ms

Resolved: Bofrost.fr performance has improved in 41e8214 after 6 minutes.


streptonigrin

cut during cellular response to streptonigrin
normal mitotic DNA damage checkpoint during cellular response to streptonigrin

cut during cellular response to streptonigrin FYPO:0006864 FYPO:0006
normal mitotic DNA damage checkpoint during cellular response to streptonigrin FYPO:0006865
edit file: a38db0324a153058218c5cab022bd225588280e7
release: 2697b299098873d03f8cb1bad911ba7bfe315194


Packages install phase error

I just started testing your builder and I am unable to complete any build of the openwrt image for BPI-R4 (nor the examples of Main/Basic router configs) due to the following error in the packages install phase:
 .........
Configuring ppp-mod-pppoe.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency kmod-thermal for kmod-hwmon-pwmfan
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-hwmon-pwmfan found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package kmod-hwmon-pwmfan.
make[2]: *** [package/Makefile:99: package/install] Error 255
make[2]: Leaving directory '/home/user/openwrt-builder/openwrt'
make[1]: *** [package/Makefile:172: /home/user/openwrt-builder/openwrt/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_install] Error 2
make[1]: Leaving directory '/home/user/openwrt-builder/openwrt'
make: *** [/home/user/openwrt-builder/openwrt/include/toplevel.mk:248: world] Error 2
[user@a26b3cda849a openwrt]$
edit #1:
I tried  rebuild it after make clean with kmod-hwmon-pwmfan disabled and modemmanager enabled in .config and the image for sd card was created. 5G Telit module FN990 is working but WiFi 7 not working like is working with SD card downloaded from your last release :( Could it be connected with kernel version change from 6.6.48 to .50 ?
config.txt
OpenWrt - LuCI-cellular.pdf
OpenWrt - LuCI-wireless.pdf
OpenWrt - LuCI.pdf
edit #2:
Regarding your last commit:
No problem with kmod-hwmon-pwmfan so pwm fan seems to be working like a charm.
WiFi is working but I have some problems with correct config.
Nice work :-)

Hi,
normally I'm including that patch: https://github.com/openwrt/openwrt/pull/16400 in my builds, so the error does not appear.


Write-up go/done hole semantics

Things to finish to consider the semantics finalized:

[ ] writeup of semantics
[ ] writeup of explicitly how to compile away each Futil control construct
[ ] how to translate Futil structure into Verilog / RTL
[x] think about representation of memories (I think they can just be Futil components but I want to double-check this)

Implemented in #139.


TypeError: values expected to be 1-tuple, given len=2

Hello, I'm having some issues on truvari 1.3.4 and 1.3.2, but not on 1.2
truvari -b HG002_SVs_Tier1_v0.6.vcf.gz -c NIST-002_merged_minimap2_ont_s2_sorted.vcf.gz -o Test_ont -r 2000 --pctsim 0 --passonly --includebed HG002_SVs_Tier1_v0.6.bed
2019-12-26 18:46:36,382 [INFO] Running /home/tintest/miniconda3/bin/truvari -b HG002_SVs_Tier1_v0.6.vcf.gz -c NIST-002_merged_minimap2_ont_s2_sorted.vcf.gz -o Test_ont -r 2000 --pctsim 0 --passonly --includebed HG002_SVs_Tier1_v0
.6.bed
2019-12-26 18:46:36,383 [INFO] Params:
{
    "base": "HG002_SVs_Tier1_v0.6.vcf.gz",
    "comp": "NIST-002_merged_minimap2_ont_s2_sorted.vcf.gz",
    "output": "Test_ont",
    "reference": null,
    "giabreport": false,
    "debug": false,
    "prog": false,
    "refdist": 2000,
    "pctsim": 0.0,
    "pctsize": 0.7,
    "pctovl": 0.0,
    "typeignore": false,
    "gtcomp": false,
    "bSample": null,
    "cSample": null,
    "sizemin": 50,
    "sizefilt": 30,
    "sizemax": 50000,
    "passonly": true,
    "no_ref": false,
    "includebed": "HG002_SVs_Tier1_v0.6.bed",
    "multimatch": false
}
[W::hts_idx_load2] The index file is older than the data file: HG002_SVs_Tier1_v0.6.vcf.gz.tbi
[W::hts_idx_load2] The index file is older than the data file: HG002_SVs_Tier1_v0.6.vcf.gz.tbi
[W::hts_idx_load2] The index file is older than the data file: NIST-002_merged_minimap2_ont_s2_sorted.vcf.gz.tbi
[W::hts_idx_load2] The index file is older than the data file: NIST-002_merged_minimap2_ont_s2_sorted.vcf.gz.tbi
2019-12-26 18:46:37,234 [INFO] Including 34830 bed regions
2019-12-26 18:46:37,234 [INFO] Creating call interval tree for overlap search
2019-12-26 18:58:31,367 [INFO] 14398 call variants in total
2019-12-26 18:58:31,367 [INFO] 12793 call variants within size range (30, 50000)
[W::hts_idx_load2] The index file is older than the data file: HG002_SVs_Tier1_v0.6.vcf.gz.tbi
[W::hts_idx_load2] The index file is older than the data file: HG002_SVs_Tier1_v0.6.vcf.gz.tbi
2019-12-26 18:58:31,391 [INFO] Matching base to calls
Traceback (most recent call last):
  File "/home/tintest/miniconda3/bin/truvari", line 1051, in <module>
    main(sys.argv[1:])
  File "/home/tintest/miniconda3/bin/truvari", line 937, in main
    match_entry = copy_entry(match_entry, n_comp_header)
  File "/home/tintest/miniconda3/bin/truvari", line 663, in copy_entry
    info=entry.info)
  File "pysam/libcbcf.pyx", line 2080, in pysam.libcbcf.VariantHeader.new_record
  File "pysam/libcbcf.pyx", line 2746, in pysam.libcbcf.VariantRecordInfo.update
  File "pysam/libcbcf.pyx", line 2569, in pysam.libcbcf.VariantRecordInfo.__setitem__
  File "pysam/libcbcf.pyx", line 683, in pysam.libcbcf.bcf_info_set_value
  File "pysam/libcbcf.pyx", line 579, in pysam.libcbcf.bcf_check_values
TypeError: values expected to be 1-tuple, given len=2

Do you know what this may be due to ?
Thank you, regards.

Could you provide an example VCF so I can replicate the error? My suspicion
is there's a discrepancy between the vcf header and the info fields such
that the header declares a different 'Number' than what is seen in the
entries.
On Thu, Dec 26, 2019, 1:19 PM Tintest<EMAIL_ADDRESS>wrote:

Hello, I'm having some issues on truvari 1.3.4 and 1.3.2, but not on 1.2
truvari -b HG002_SVs_Tier1_v0.6.vcf.gz -c NIST-002_merged_minimap2_ont_s2_sorted.vcf.gz -o Test_ont -r 2000 --pctsim 0 --passonly --includebed HG002_SVs_Tier1_v0.6.bed
2019-12-26 18:46:36,382 [INFO] Running /home/tintest/miniconda3/bin/truvari -b HG002_SVs_Tier1_v0.6.vcf.gz -c NIST-002_merged_minimap2_ont_s2_sorted.vcf.gz -o Test_ont -r 2000 --pctsim 0 --passonly --includebed HG002_SVs_Tier1_v0
.6.bed
2019-12-26 18:46:36,383 [INFO] Params:
{
"base": "HG002_SVs_Tier1_v0.6.vcf.gz",
"comp": "NIST-002_merged_minimap2_ont_s2_sorted.vcf.gz",
"output": "Test_ont",
"reference": null,
"giabreport": false,
"debug": false,
"prog": false,
"refdist": 2000,
"pctsim": 0.0,
"pctsize": 0.7,
"pctovl": 0.0,
"typeignore": false,
"gtcomp": false,
"bSample": null,
"cSample": null,
"sizemin": 50,
"sizefilt": 30,
"sizemax": 50000,
"passonly": true,
"no_ref": false,
"includebed": "HG002_SVs_Tier1_v0.6.bed",
"multimatch": false
}
[W::hts_idx_load2] The index file is older than the data file: HG002_SVs_Tier1_v0.6.vcf.gz.tbi
[W::hts_idx_load2] The index file is older than the data file: HG002_SVs_Tier1_v0.6.vcf.gz.tbi
[W::hts_idx_load2] The index file is older than the data file: NIST-002_merged_minimap2_ont_s2_sorted.vcf.gz.tbi
[W::hts_idx_load2] The index file is older than the data file: NIST-002_merged_minimap2_ont_s2_sorted.vcf.gz.tbi
2019-12-26 18:46:37,234 [INFO] Including 34830 bed regions
2019-12-26 18:46:37,234 [INFO] Creating call interval tree for overlap search
2019-12-26 18:58:31,367 [INFO] 14398 call variants in total
2019-12-26 18:58:31,367 [INFO] 12793 call variants within size range (30, 50000)
[W::hts_idx_load2] The index file is older than the data file: HG002_SVs_Tier1_v0.6.vcf.gz.tbi
[W::hts_idx_load2] The index file is older than the data file: HG002_SVs_Tier1_v0.6.vcf.gz.tbi
2019-12-26 18:58:31,391 [INFO] Matching base to calls
Traceback (most recent call last):
File "/home/tintest/miniconda3/bin/truvari", line 1051, in
main(sys.argv[1:])
File "/home/tintest/miniconda3/bin/truvari", line 937, in main
match_entry = copy_entry(match_entry, n_comp_header)
File "/home/tintest/miniconda3/bin/truvari", line 663, in copy_entry
info=entry.info)
File "pysam/libcbcf.pyx", line 2080, in pysam.libcbcf.VariantHeader.new_record
File "pysam/libcbcf.pyx", line 2746, in pysam.libcbcf.VariantRecordInfo.update
File "pysam/libcbcf.pyx", line 2569, in pysam.libcbcf.VariantRecordInfo.setitem
File "pysam/libcbcf.pyx", line 683, in pysam.libcbcf.bcf_info_set_value
File "pysam/libcbcf.pyx", line 579, in pysam.libcbcf.bcf_check_values
TypeError: values expected to be 1-tuple, given len=2
Do you know what this may be due to ?
Thank you, regards.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/spiralgenetics/truvari/issues/43?email_source=notifications&email_token=AASPOM6D43KOKQRHW3JP7WLQ2TYSHA5CNFSM4J7NWGIKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ICX3F5A,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AASPOM3G3QFDYSASL5RBXQDQ2TYSHANCNFSM4J7NWGIA
.

Here is the .vcf files : https://filesender.renater.fr/?s=download&token=23cade46-a550-7734-50f4-700aa429ee85
I think you are right, but, why is it working in 1.2 and not with the following versions ?
Is there big differences between 1.2 and the followings ?
Thank you, regards.

1.2 changed VCF reader libraries. pyvcf was the previous lib, pysam was moved to due to it being faster and stricter adherence to the VCF specification.
It appears that the "SUPTYPE" Header is incorrect at least for the entry at position 1:1223923.
Header defines Number=A, and that line shows SUPTYPE=AL,SR.
Changing the header line as shown below fixes the VCF.
##INFO=<ID=SUPTYPE,Number=.,Type=String,Description="Type by which the variant is supported.(SR,ALN,NR)">


Installation Instructions

Sorry to ask a simple question but could you provide installation instructions on raspberry pi for those of us that are not that familiar with cmake ?
I have the SDK up and running ok and also the Pimoroni-Pico examples.
I have tried installing in the Pico directory and also the Pimoroni-pico but both are giving path errors.
Many thanks

All of the SDKs assume you have them side-by-side, eg:

Root dir

pico-sdk
pimoroni-pico
picovision
picovision-boilerplate (renamed to your project)

Though you might need to specify -DPICO_SDK_PATH when configuring.


feat(.github): add pr_management workflow

This workflow can be used for these things:

Replace mergify for auto-merge/auto-approve based on labels
Add a comment to a PR (can be used for checklists)

Signed-off-by: Charly Molter<EMAIL_ADDRESS>

Here's a PR example here: https://github.com/lahabana/kumahq_.github/pull/1


support segment split by scanner

Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall

Please add some description information for this PR

run buildall

https://github.com/apache/doris/issues/17852


fix(@angular-devkit/build-angular): resolve postcss from build-angular package

postcss-loader version 4.2.0 added an implementation option. Using the using will ensure that the correct postcss version is used.
More info: https://github.com/webpack-contrib/postcss-loader/commit/deac9787eed614b1c445f091a2b70736a6212812
Fixes #19839

For anyone else like me looking at where this was merged, in addition to 11.2.0-next.0, it also was released in 11.1.1.


input field style

Hello!
I want to change the style of the input field like that.
I have added a wrap:
slave.addClass('MultiFile-applied').wrap("");
but next input field appears in the previous wrap:
<input ...> <input ...>
How can I add a new file field after the previous wrapped file field?
<input ...> <input ...>

Problem is actual...


Add more handbook-first principles

I've made a small proposal to help us be even more handbook-first and would welcome feedback. I think the changes speak for themselves but if there are any questions let me know.

Cc @marybelzer

Small grammar change


bootstrap modal

Before opening an issue:

Search for duplicate or closed issues
Validate and lint any HTML to avoid common problems
Prepare a reduced test case for any bugs
Read the contributing guidelines

When asking general "how to" questions:

Please do not open an issue here
Instead, ask for help on StackOverflow, IRC, or Slack

When reporting a bug, include:

Operating system and version (Windows, Mac OS X, Android, iOS, Win10 Mobile)
Browser and version (Chrome, Firefox, Safari, IE, MS Edge, Opera 15+, Android Browser)
Reduced test cases and potential fixes using JS Bin

When suggesting a feature, include:

As much detail as possible for what we should add and why it's important to Bootstrap
Relevant links to prior art, screenshots, or live demos whenever possible

I was working with the Live Demo for Modal example provided on the website, just came across a small error in the sample code in the below lines :

    <button type="button" class="btn btn-primary" data-toggle="modal" data-target="**#**exampleModal**"**>
      Launch demo modal
    </button>

    <!-- Modal -->
    <div class="modal fade" **id="myModal"** tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">

The target button is set to #exampleModal whereas the div id is set to "myModal".  Please change either target or id to point to the correct identifier.

Already done and will be available on our next release thank you 👍


[SPARK-49467][SS] Add support for state data source reader and list state

What changes were proposed in this pull request?
Add support for state data source reader and list state
Why are the changes needed?
This change adds support for reading state written using list state used primarily within the stateful processor used with the transformWithState operator
Does this PR introduce any user-facing change?
Yes
Users can read state and explode entries using the following query:
        val stateReaderDf = spark.read
          .format("statestore")
          .option(StateSourceOptions.PATH, <checkpoint_location>)
          .option(StateSourceOptions.STATE_VAR_NAME, <state_var_name>)
          .load()

        val listStateDf = stateReaderDf
          .selectExpr(
            "key.value AS groupingKey",
            "list_value AS valueList",
            "partition_id")
          .select($"groupingKey",
            explode($"valueList").as("valueList"))

How was this patch tested?
Added unit tests
[info] Run completed in 1 minute, 3 seconds.
[info] Total number of tests run: 8
[info] Suites: completed 1, aborted 0
[info] Tests: succeeded 8, failed 0, canceled 0, ignored 0, pending 0
[info] All tests passed.

Was this patch authored or co-authored using generative AI tooling?
No

cc - @HeartSaVioR @jingz-db - could you PTAL ? Thx

@HeartSaVioR - could you PTAL ? thx

Thanks! Merging to master.


[marvelhq.com] Add support

[x] I've verified and I assure that I'm running youtube-dl 2018.09.26

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[x] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

C:\Users\Desktop\youtube-dl>youtube-dl.exe -F https://marvelrising.marvelhq.com/videos/disneychannel-marvel-rising-initiation-episode-1-ghost-hunter -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-F', 'https://marvelrising.marvelhq.com/videos/disneychannel-marvel-rising-initiation-episode-1-ghost-hunter', '-v']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2018.09.26
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17134
[debug] exe versions: ffmpeg N-86911-gb664d1f, ffprobe N-86911-gb664d1f, rtmpdump 2.4
[debug] Proxy map: {}
[generic] disneychannel-marvel-rising-initiation-episode-1-ghost-hunter: Requesting header
WARNING: Falling back on generic information extractor.
[generic] disneychannel-marvel-rising-initiation-episode-1-ghost-hunter: Downloading webpage
[generic] disneychannel-marvel-rising-initiation-episode-1-ghost-hunter: Extracting information
ERROR: Unsupported URL: https://marvelrising.marvelhq.com/videos/disneychannel-marvel-rising-initiation-episode-1-ghost-hunter
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpcaq35cl9\build\youtube_dl\YoutubeDL.py", line 792, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpcaq35cl9\build\youtube_dl\extractor\common.py", line 507, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpcaq35cl9\build\youtube_dl\extractor\generic.py", line 3298, in _real_extract
youtube_dl.utils.UnsupportedError: Unsupported URL: https://marvelrising.marvelhq.com/videos/disneychannel-marvel-rising-initiation-episode-1-ghost-hunter
...
<end of log>

Single video: https://marvelrising.marvelhq.com/videos/disneychannel-marvel-rising-initiation-episode-1-ghost-hunter
Single video: https://marvelrising.marvelhq.com/videos/disneychannel-marvel-rising-initiation-episode-6-the-secrets-we-keep

Description of issue
If you could be so nice to add support for this site, it would be great. :)

Nevermind. Found videos on DisneyNOW.


Create Landing page

The landing page should contain two functionality:

Search for annotation with auto- complete.
uploading new annotation and videos URL.

For now, we are only going to be working on the UI. The back-end logic and database fetching should be mocked.
Here is an initial mock-up.

We will do this together in the upcoming pair programming session.

#3 closes this.


Export Problem

When I export my game and then start it, it says the plugin was not found although it works in the ue5 editor.

Where you put the plugin ?

What version of unreal are you using ? And can you take a screenshoot of the error ?

UE5 1.1

Please re download the plugin in the release, and make sure you .uproject is correctly configured.

its dont work its the say error but i have a code
Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xffffffffffffffff
0x00007ff781769f16 UnrealGame.exe!FSlateRHIRenderer::DrawWindows_Private() []
0x00007ff781c348e7 UnrealGame.exe!FMoviePlayerWidgetRenderer::DrawWindow() []
0x00007ff781c3e2b2 UnrealGame.exe!FSlateLoadingSynchronizationMechanism::SlateThreadRunMainLoop() []
0x00007ff781c3ba10 UnrealGame.exe!FSlateLoadingThreadTask::Run() []
0x00007ff77dd23a02 UnrealGame.exe!FRunnableThreadWin::Run() []
0x00007ff77dd1b800 UnrealGame.exe!FRunnableThreadWin::GuardedRun() []
0x00007ff810b926bd KERNEL32.DLL!UnknownFunction []
0x00007ff81186a9f8 ntdll.dll!UnknownFunction []
Crash in runnable thread SlateLoadingThread1

It's a problem of you project, pls try in anoter project? Aditionally I update a new version of the plugin for UE5.1.1.

its also work not in other projekt after exports

Do you redowload the new version on the github ?

Nope dosnt work and the last upload was last year

My bad ! The release was in private. It should be fixed

it still doesn't work i just don't understand why

I don't know I use blueprints

i have find a line
PackagingResults: Error: System.ArgumentException: An item with the same key has already been added. Key: DiscordRpc

The code seems be correct. Just try to create a c++ project and try again.


realsenviewer fails to show stream in few seconds. plug out plug in camera will work again for few seconds. same error with code examples

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
{ R200 / F200 / SR300 / ZR300 / D400 } D415

Firmware Version
(Open RealSense Viewer --> Click info)<IP_ADDRESS>

Operating System & Version
{Win (8.1/10) / Linux (Ubuntu 14/16/17) / MacOS

Kernel Version (Linux Only)
(e.g. 4.14.13)     <IP_ADDRESS>-upboard

Platform
PC/Raspberry Pi/ NVIDIA Jetson / etc..

SDK Version
{ legacy / 2.. }      2.11

Issue Description
<Describe your issue / question / feature request / etc..>
Realsense viewer will show the stream for some seconds and then throws the below error:
01/06 17:25:49,025 ERROR [140650463545088] (backend-v4l2.cpp:1243) xioctl(VIDIOC_DQBUF) failed Last Error: No such device
01/06 17:25:49,031 ERROR [140650381047552] (types.h:179) xioctl(VIDIOC_DQBUF) failed Last Error: No such device
01/06 17:25:49,032 ERROR [140650381047552] (backend-v4l2.cpp:1243) xioctl(VIDIOC_DQBUF) failed Last Error: No such device
01/06 17:25:49,058 ERROR [140650480330496] (types.h:179) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: No such device
01/06 17:25:49,058 ERROR [140650480330496] (error-handling.cpp:66) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: No such device
01/06 17:25:49,068 ERROR [140650372654848] (backend-v4l2.cpp:265) xioctl(VIDIOC_QBUF) failed when requesting new frame! Last-error: No such device
01/06 17:25:49,068 ERROR [140650372654848] (types.h:179) xioctl(VIDIOC_DQBUF) failed Last Error: No such device
01/06 17:25:49,068 ERROR [140650372654848] (backend-v4l2.cpp:1243) xioctl(VIDIOC_DQBUF) failed Last Error: No such device
01/06 17:25:50,059 ERROR [140650480330496] (types.h:179) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: No such device
01/06 17:25:50,059 ERROR [140650480330496] (error-handling.cpp:66) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: No such device
01/06 17:25:50,916 WARNING [140650534688512] (backend-hid.cpp:1091) Failed to read busnum/devnum. Device Path: /sys/bus/iio/devices/iio:device0
01/06 17:25:51,059 ERROR [140650480330496] (types.h:179) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: No such device
01/06 17:25:51,060 ERROR [140650480330496] (error-handling.cpp:66) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: No such device
01/06 17:25:51,162 WARNING [140650806491712] (backend-v4l2.cpp:1156) Pixel format 36315752-1a66-a242-9065-d01814a likely requires patch for fourcc code RW16!
01/06 17:25:51,166 WARNING [140650806491712] (sensor.cpp:330) Unregistered Media formats : [ RW16 ]; Supported: [ ]
01/06 17:25:51,275 ERROR [140650806491712] (sensor.cpp:253) An error has occurred while stop_streaming()!
01/06 17:25:51,281 ERROR [140650806491712] (types.h:179) xioctl(VIDIOC_STREAMOFF) failed Last Error: No such device
01/06 17:25:51,282 ERROR [140650806491712] (sensor.cpp:253) An error has occurred while stop_streaming()!
01/06 17:25:51,282 WARNING [140650806491712] (archive.cpp:316) The user was holding on to 1 frames after stream 0x0x2df5820 stopped
01/06 17:25:51,282 WARNING [140650806491712] (archive.cpp:316) The user was holding on to 1 frames after stream 0x0x2df5820 stopped
01/06 17:25:51,287 WARNING [140650806491712] (archive.cpp:326) All frames from stream 0x0x2df5820 are now released by the user
01/06 17:25:51,954 ERROR [140650349577984] (types.h:179) Cannot open '/dev/video3 Last Error: No such file or directory
Example code and other code throws the same error.

If you are experiencing sporadic disconnects, we recommend to check the USB3 cable and retry the experiment with powered USB3 hub.

[Realsense Customer Engineering Team Comment]
@contactprad
Have you changed the powered USB3 hub and cable? does the issue still exist?

we also have the same issue, the device can be found with "lsusb", but no data received. plug in and out solve this.

We have cable which came as part of kit and it works fine on desktop but not on Up-board.

We have cable which came as part of kit and it works fine on desktop but not on Up-board.

how did you solved this issue?


Save Client list as JSON on server shutdown

When the TCP server is shut down, save all connected clients to a file as JSON. By using the client's computer name as a JSON key alongside a hashing function, it is possible to save the client's state from when they last connected. And, on startup, read from this JSON file to insert old clients and resume the C2's client list state.

Implemented


Fix 3637,3638

@sorvell Would a testcase like this verify the error callback? This should generate a 404 and trigger the on-error.
test('importHref error callback is invoked', function(done) {
  Polymer.Base.importHref('non-existing-page.html', null, done);
});

@sorvell
@kevinpschaaf
Any updates on merging this pull request?

https://github.com/Polymer/polymer/issues/3638 was separately closed.
https://github.com/Polymer/polymer/issues/3637 is still open and this change breaks the api contract as discussed in the issue.
Closing this PR since it is no longer relevant.


Added isnot and isnotnocase filters

Just 2 basic filters

Hey valerianb,
I saw your pull request. Thanks for forking and working on it. Right
now you can do something similar by adding "!"  As in: {col:{"!is":"value"}}. I like it cause it works
everywhere but since "!is" is less friendly than isnot it still isn't
great. I'm thinking about expanding the API, do you think think "!is"
works or do we need isnot?
Ian

Hi Ian,
Actually, I don't know how I did to not see the ! in the docs (nor in the code)... and when I realized, well I removed my pull request.
The is ! less friendly indeed but most programmers are used to it ...
What I would definitely do is being consistent in filter naming. You used CamelCase for isArray, isObject, isNumber, etc. but not for isnocase, leftnocase, etc. which I find less readable.
BTW, in the docs, these are !correct ( ;) ) :
// Real world example - records with a status of active or pending
db([{status:["Active"},{status:["Pending"}]);
db({role:["Admin"},[{status:"Active"},{status:"Pending","manager_review:true}]);
Should be :
db([{status:"Active"},{status:"Pending"}]);
This one is more complex, and this is failing when I tested it quickly :
db({role:"Admin", [{status:"Active"},{status:"Pending", manager_review: true}]});
Should role:"Admin" be repeated twice to cover this case ?
Valérian


Potential things to add

Things to potentially add

Tree-sitter playground

@afnanenayet/diffsitter - Tree-sitter based diff tool

@ul/kak-tree - Kakoune plugin for selections with tree-sitter

@nvim-treesitter/playground - Tree-sitter playground implemented as a Neovim plugin

@hercules-ci/canonix - Nix formatter based on Nix tree-sitter Parser

@borkdude/analyze-reify - Clojure code analysis with tree-sitter

@viktorstrate/swift-tree-sitter - Swift bindings

@euclidianAce/ltreesitter - Lua bindings

@tjdevries/tree-sitter-lua - Neovim plugin for improved tree-sitter support when editing Neovim lua files

Parsers

@gagbo/tree-sitter-org - Emacs Org-mode parser

Other

Adding more Atom plugins might be worthwhile, but I wouldn't say it's a very high priority.

I put these here because I don't know enough about the projects to really justify adding them (with the exception of the playground).
Some of them are also rather early in development (kak-tree says that it's currently a proof-of-concept).


OSError: [Errno 113] No route to host

If for some reason a speaker if not reachable on the network, the error should be handle properly to avoid this error.
2021-11-07 13:37:06,149 ERROR mycroft.skills.mycroft_skill.mycroft_skill:on_error:923 An error occurred while processing a request in Sonos Controller
Traceback (most recent call last):
  File "/opt/mycroft-venv/lib/python3.7/site-packages/urllib3/connection.py", line 175, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/opt/mycroft-venv/lib/python3.7/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/opt/mycroft-venv/lib/python3.7/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/mycroft/core/mycroft/skills/mycroft_skill/event_container.py", line 73, in wrapper
    handler(message)
  File "/opt/mycroft/skills/mycroft-sonos-controller-skill.smartgic/__init__.py", line 221, in _handle_volume_up
    extras=DEFAULT_VOL_INCREMENT)
  File "/opt/mycroft/skills/mycroft-sonos-controller-skill.smartgic/utils.py", line 275, in run_command
    if get_state(self, device.player_name) == state.upper():
  File "/opt/mycroft/skills/mycroft-sonos-controller-skill.smartgic/utils.py", line 123, in get_state
    return device.get_current_transport_info()[key]
  File "/opt/mycroft-venv/lib/python3.7/site-packages/soco/core.py", line 1451, in get_current_transport_info
    ("InstanceID", 0),
  File "/opt/mycroft-venv/lib/python3.7/site-packages/soco/services.py", line 209, in _dispatcher
    return self.send_command(action, *args, **kwargs)
  File "/opt/mycroft-venv/lib/python3.7/site-packages/soco/services.py", line 482, in send_command
    self.base_url + self.control_url, headers=headers, data=body.encode("utf-8")
  File "/opt/mycroft-venv/lib/python3.7/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/opt/mycroft-venv/lib/python3.7/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/opt/mycroft-venv/lib/python3.7/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/opt/mycroft-venv/lib/python3.7/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/opt/mycroft-venv/lib/python3.7/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='<IP_ADDRESS>', port=1400): Max retries exceeded with url: /MediaRenderer/AVTransport/Control (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9b0ca2b0>: Failed to establish a new connection: [Errno 113] No route to host'))


About crossplatformlocation notification

I have tried the demo of CrossPlatformLocation
in Android 11 with Delphi 11, and I see that the notification to the user is maintained when the app is closed.
Is it possible to remove it in any way?

No - the notification is a restriction imposed by Android for services that run in the foreground. If/when I have time, I will investigate using a different kind of service.


Update Procfile

the to work in the correct way in heroku, need worker instead of web.

Well no,
This is a skeleton to show how to use a web worker. It works solely witha web-worker and won't work with another type


How to use thresholds in Check.AddPerfDatum()

Hello,
according to Nagios Plugin Dev Guidelines:

warn and crit are in the range format (see the Section called Threshold and ranges). Must be the same UOM

However, Check.AddPerfDatum() expects float64. What's the correct way to add warn and crit threshold to perf data then? I've tried something like:
check.AddPerfDatum(label, unit, value, 0, 0,
    warnRange.Start, warnRange.End, critRange.Start, critRange.End)

but the output doesn't seem to be correct, resp. it's something like:
CRITICAL: It's broken. | label=value;0;warn.End;0;0

where input values for warn and critical are -w 400000 -c 500000. I've also tried to pass different combinations to Check.AddPerfDatum(), but without success. However, it's possible I'm expecting something that cannot be :)
Thank you for clarification.

warn and crit are in the range format (see the Section called Threshold and ranges).

Huh, I missed that, I always thought they were scalars - thanks for pointing that out. This is an example of how I've been using that function. I think current behaviour is a bug though; I'll leave this open until I get a chance to look at fixing it.


Windows builds

Neither of your Windows builds download links (64 & 32-bit) work.

Fixed - thanks for noticing!


conda execute a Jupyter notebook

One potential approach:

[ ] - create a temporary environment by interpreting a part of the nbformat metadata JSON payload
[ ] - start a kernel using the temporary environment (ipython or otherwise)
[ ] - join an existing Jupyter notebookapp (or start a new one) which uses the kernel and the notebook that was passed to us

Ping @minrk / @takluyver for your wisdom. Are there any patterns I can follow? This is essentially an extension of https://github.com/takluyver/nbopen but with the addition of ensuring there is an appropriate kernel running.

Original thread came from https://twitter.com/mrocklin/status/655100657016242176

@Carreau mentioned the nbconvert --execute option.

It seems nbconvert is already in this space, the only way I would want conda-execute to add anything is if we can make use of the fact that we can define a full environment. It seems that conda execute my_analysis.ipynb could do a number of things:

launch the Jupyter notebook with a suitable kernel without running any of the actual code
run the notebook and convert to html (as nbconvert is currently doing)
run the notebook and save on top of the existing notebook

Rather than bake any of this in, conda-execute would essentially call out to the appropriate executable:
$ cat my_analysis.ipynb
{
  "metadata" : {
    "conda-execute": {
        "env": ['python >2', 'numpy==1.10', 'nbconvert'],
        "run_with": ["nbconvert",  "--execute"]
    },
  },
  "nbformat": 4,
  "nbformat_minor": 0,
  "cells" : [
  ...
   ]
}

Of course, to do this, conda-execute does need to read the metadata from the notebook format.

I think that it would be valuable to have conda setting up environments based on notebook metadata. One way to do this might be a custom kernelspec manager which could look at metadata when a notebook is opened and construct a suitable environment at that time. I think we've talked to @ahmadia about a similar idea w/r/t hashdist.

Hi folks.  We've been trying to figure out how to do this from the conda side as well.  As @takluyver mentioned, one option is to attach the conda environment directly to the notebook metadata.  See the discussion here: https://github.com/conda/conda-env/pull/111 and the feature here: http://conda.pydata.org/docs/commands/env/conda-env-attach.html
From there, you need a corresponding launch action.  One option is conda launch from @ijstokes - https://github.com/conda/conda-launch
cc: @chdoig @damianavila @pwang @malev
I'm happy to discuss here a bit more about what the various options are and what we like/dislike about each.

Of course, anything we do for conda should be similarly applicable to HashDist.  Thanks for the mention @takluyver.

For nbconvert --execute you need to replace the execute preprocessor by one that start kernels in an env. Kernelspec already can have an "env" metadata so overwriting PATH, should be sufficient.
Running the notebook app in the env seem unnecessary as IIUC, you want to run the notebook kernel in the env,

run the notebook and convert to html (as nbconvert is currently doing)
run the notebook and save on top of the existing notebook

This will already be taken care of if you use --to ipynb or --to html with nbconvert.
I guess you might want to use nbconvert as a library instead of shelling out, we can figure that out.

Running the notebook app in the env seem unnecessary as IIUC, you want to run the notebook kernel in the env,

This made sense when the kernel spec was changing rapidly and you wanted the app version to match the kernel version.  I agree that this is not a hard requirement for using environments.


Bump govuk_navigation_helpers to 9.2.1

@emmabeynon Can this PR be closed? I think it was done as part of https://github.com/alphagov/collections/pull/576 which has been merged into the feature branch.

@vanitabarrett great, will close this


Docs readme update

Your end-to-end docs generation really helped me with some Doxity issues. I had to run one extra yarn command to install the Doxity deps, so I thought I'd contribute back by submitting a pull request to your README.

Glad to hear it - took me awhile to get that working - and thanks!


Bug: Core dump when long connect is killed

When the long connect is killed, boost library does not return an error but return success with an random number.
Close the connection if reading an invalid package.

Fix from commit #93


The code for Figure 3

Hi~
I'm wondering if the code of Figure 3, t-SNE could be added into the repository?

Here it is
Unfortunately I didn't use the random state variable in tsne for reproducing the exact same figure, but the one I got is close enough =)
Let me know if you have any troubles generating it.

Here it is
Unfortunately I didn't use the random state variable in tsne for reproducing the exact same figure, but the one I got is close enough =)
Let me know if you have any troubles generating it.

Thank you very much indeed~


Removed double consideration of same timestamp

When searching for an acceptable timestamp dictionary t-CURRENT_RESPONSE_TIME_PERCENTILE_WINDOW is considered twice, because t-CURRENT_RESPONSE_TIME_PERCENTILE_WINDOW-0 == t-CURRENT_RESPONSE_TIME_PERCENTILE_WINDOW+0

Thanks!


Store custom metadata in the current session

Issue
I'd like to be able to manage custom metadata, e.g. json data or a dict of data into the current session, preferably on:

Session-level, not related to any file in the playlist, but globally for the session file.
File-level, per playlist entry metadata,
Per clip level in an edit, this is likely metadata at the otio item level and likely just needs to be done through the opentimelineio api, yes?

The idea is that each of the metadata to be assigned would save along (serialize) with a MRV2 session save and get restored on opening the MRV2 session.

Added setSessionMetadata() and sessionMetadata() functions in HEAD.
The other ones might require more work.

This does work - but I wonder whether the design is as we want it. It seems that setSessionMetadata is capable of setting a single string, e.g.:
from mrv2 import cmd
cmd.setSessionMetadata("TEST")
print(cmd.sessionMetadata())
# TEST

Which would allow me to essentially store any metadata as e.g. a JSON serialized string in there. However, if multiple plugins for MRV2 would like to store their own session metadata quickly the issue would arise that the metadata would conflict and they would either ALL need to enforce using json serialized string at the top level or basically override each other's values, etc.
By design I think it might be better to be able to either store a dict of data, so that e.g. a plugin could only update a certain key:

import mrv2
from mrv2 import annotations, cmd, math, image, io, media
from mrv2 import playlist, timeline, usd, settings

# Override all data
data = {
    "plugin1.setting_x": "hello_world",
    "plugin1.setting_y": 1,
    "plugin2.setting_x": "foobar"
}
cmd.setSessionMetadata(data)

# Add only your own data
data = cmds.sessionMetadata()
data["plugin1.setting_x"] = "hello_world"
cmds.setSessionMetadata(data)

Or, that instead you be setting metadata into a pre-specified key, e.g.
cmds.setSessionMetadata("key1", "value1")

So that plugin X could do:
cmds.setSessionMetadata("pluginx_data", "serialized_json_data_for_plugin_x")

Getting the data would then either:
data = cmds.getSessionMetadata()
# {
#  "pluginx_data": "value_x"
#  "pluginy_data": "value_y"
# }

Or:
data = cmds.getSessionMetadata("pluginx_data")
# "value_x"

If the data would be stored per key then likely it might also need a cmds.listSessionMetadataKeys() or whatever method.
What do you think would be the best approach?
Storing per key would at least ensure you wouldn't need the full dict from session metadata to 'append' your data into it.

I need to think about it and play with the code a little to see what's best.

I created a new submodule called session (ie. mrv2.session).  It contains all the loading/saving functionality and the metadata now kepts in a dict.  It is also documented.

Love it - this works flawlessly.
Will need to move some things around since the other session methods for save/load also moved there but that's fine in the 0.x release cycle I suppose.


Move api module into web-api, remove Jackson MixIns

As suggested by @michaz here I moved the api module into web-api. Core now depends on web-api instead of api, so the only thing that really changed is that all classes that were previously in web-api are now included in core as well. These classes were mostly Jackson Serializers/Deserializers and the Jackson MixIns. Since Jackson is already a core dependency since #2354 this does not really change anything.
I then also removed the Jackson MixIns and added the equivalent annotations to the corresponding classes directly. These were CH/LM/Profile, GraphHopperConfig and GHRequest. Except GHRequest these are all server-side classes, so actually not related to the web interface at all.
So the only relevant change might be that GHRequest has now some Jackson annotations while previously we used a mix in instead.
Btw we now have these modules (dependencies in square brackets)
// GraphHopper + Server
core [web-api] -> GraphHopper without add-ons and the web-server part
web-api -> things we also use on the (Java) client side
client-hc [web-api] -> our hand-crafted Java client, the reason why we need web-api
web-bundle [core, reader-gtfs, map-matching] -> web/server related stuff, but without the server
web [web-bundle, navigation] -> GraphHopper as web-server

// add-ons
reader-gtfs [core] -> public transport
map-matching [core, hmm-lib] -> map matching
hmm-lib -> required by map matching
navigation [core] -> an additional server endpoint for the navigation SDK

// other
tools [core] -> our Swing GUI (and some other things which probably could be in core)
example [core] -> example code for documentation purposes

Related: #2365

Sweet! Now we can move classes that aren't (and shouldn't) used by the client at all out of there, either to web-* or, if used by core, to core, and then we're done and it is what it is, right?

I think there aren't any classes in web-api that are not used by client-hc. Except GraphHopperAPI which I will remove anyway.


Squash Release Candidates into the Release

It would be great if there was an option to squash the 1.0.0-rc.0 and 1.0.0-rc.1 and so on tags into one larger 1.0.0 section of the changelog.

wow, great started

Yes, I also thought about this. But there is no clear behaviour, in which case should we delete postfix, and in which cases not.
So, I decide to not implement such a hard logic, since there 2 good workaround for that case:

remove rc tags from repo. (destructive way)
Use --exclude-tags option  to specify which tags should excluded. (thanks, to @olleolleolle - and #281 PR - now you can do that easily with regex pattern, according your tags style!)

@skywinder would you welcome a PR that included this functionality should I have time to work on it?

@tjsail33

Yes, I can review this PR, but I it should be covered by tests
Please, make this feature not disabled by default, i.e. user have to specify additional key for this feature.

It looks like if you exclude a tag then the features and fixes it contained simply disappear from the timeline. They do not get merged with the following tag as I would expect.
That means if we exclude release candidates then the final release has no changes listed at all.  We do not want to delete those tags, those were actual beta and alpha releases.

@crucialfelix excluded tags shouldn't affect issues. the issues will listed under next release as if that tag doesn't exists.

okay, today I did get that to work. you are correct, it does work. thanks

@crucialfelix :+1:  you are welcome!
@tjsail33 Feel free to reopen this question, if you still have any questions.


ARROW-2452: [TEST] Spark integration test fails with permission error

The build itself fails too:
[info] Compiling 103 Scala sources and 6 Java sources to /apache-arrow/spark/streaming/target/scala-2.11/classes...
[error] Compile failed at Apr 13, 2018 9:50:50 AM [1:05.284s]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Spark Project Parent POM ........................... SUCCESS [ 17.349 s]
[INFO] Spark Project Tags ................................. SUCCESS [ 20.587 s]
[INFO] Spark Project Sketch ............................... SUCCESS [ 12.047 s]
[INFO] Spark Project Local DB ............................. SUCCESS [  8.086 s]
[INFO] Spark Project Networking ........................... SUCCESS [ 18.759 s]
[INFO] Spark Project Shuffle Streaming Service ............ SUCCESS [ 10.423 s]
[INFO] Spark Project Unsafe ............................... SUCCESS [ 19.453 s]
[INFO] Spark Project Launcher ............................. SUCCESS [ 17.220 s]
[INFO] Spark Project Core ................................. SUCCESS [12:40 min]
[INFO] Spark Project ML Local Library ..................... SUCCESS [ 32.734 s]
[INFO] Spark Project GraphX ............................... SUCCESS [01:02 min]
[INFO] Spark Project Streaming ............................ FAILURE [01:09 min]
[INFO] Spark Project Catalyst ............................. SKIPPED
[INFO] Spark Project SQL .................................. SKIPPED
[INFO] Spark Project ML Library ........................... SKIPPED
[INFO] Spark Project Tools ................................ SKIPPED
[INFO] Spark Project Hive ................................. SKIPPED
[INFO] Spark Project REPL ................................. SKIPPED
[INFO] Spark Project Assembly ............................. SKIPPED
[INFO] Spark Integration for Kafka 0.10 ................... SKIPPED
[INFO] Kafka 0.10 Source for Structured Streaming ......... SKIPPED
[INFO] Spark Project Examples ............................. SKIPPED
[INFO] Spark Integration for Kafka 0.10 Assembly .......... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17:29 min
[INFO] Finished at: 2018-04-13T09:50:50Z
[INFO] Final Memory: 59M/741M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.2.2:compile (scala-compile-first) on project spark-streaming_2.11: Execution scala-compile-first of goal net.alchim31.maven:scala-maven-plugin:3.2.2:compile failed.: C
ompileFailed -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :spark-streaming_2.11

Should I create a JIRA ticket?

cc @BryanCutler

Seems ok to me.  I don't normally run Spark integration tests through Docker compose, what exactly is the advantage of doing that?
It looks like the first part of the issue stated in the JIRA was in building Arrow Cpp, could you clarify why the Spark build failed?  I can't tell from the output above, but I'm not sure why this would cause the Spark Java build to fail.

Reproducibility I guess, but honestly I was just trying to execute dev/run_docker_compose.sh spark_integration and it has failed with the error in the JIRA ticket. This PR just resolves that permission error (which is indeed cpp related).
After I was able to run the command above, the streaming test has failed. I didn't do further investigation. I guess the execution of these integration tests (including dask and hdfs) should be automatized.

@BryanCutler Should we create a ticket about running nightly integration tests?

Should we create a ticket about running nightly integration tests?

Yes please do, that would be great to get going

merged to master, thanks @kszucs


Add an errors endpoint, which returns error codes and error descriptions.

Currently, an endpoint is added /api/errors which would just return the list of error codes from the /core module of the application. But that is not sufficient, so I am keeping this issue open.
https://datadance.app/api/reference


[QUESTION] "style" property, background not changing

Me again... with styling issues...
I'm trying to understand Royale, so after a lot of time struggling with Jewel themes, I decided to try styling the components directly with CSS. So, I started with the background property, obviously. And bam! No black background... but the color property actually works, it paints the text red as it should. I tried setting opacity to 100%.
<j:Button text="Black Button" style="background: #000; color: #f00; opacity: 100%">

Issue checked. background: #000, is translated to: background: 0px center;  so this is incorrect. As well opacity, although is used with incorrect value (should be from 0 to 1),  is ignored. only color is generated ok.
Thanks for reporting. I'll assign to others that could take a look at compiler level.

@angelhdz in the other hand to work-around this issue you can add CSS rule at MXML level or in a CSS external file:
<fx:Style>
        .jewel.button.mybtn
        {
            background: #000;
            color: #f00;
            opacity: 0.5;
        }
    </fx:Style>

<j:Button text="Black Button" className="mybtn"/>

Please never assign anyone to an issue other than yourself.  We are all volunteers here and work on what we want.

Please never assign anyone to an issue other than yourself. We are all volunteers here and work on what we want.

Pardon me?

Was not a compiler issue,


Use MTE for linear memory out-of-bounds runtime checks

We can replace the explicit runtime out of bounds checks we need for our wasm64 variant by tagging the entire linear memory with a custom tag.

Just adding some notes on what could potentially still not work correctly in this implementation, so we can tackle one thing at a time:

[ ] IRG may never generate the tags 0b0000 OR 0b0001, since we use those tags internally. Make sure this is configured correctly.

Superseded by #16.


Kubernetes Cron Job: Custom Docker image that triggers the external events

example here: https://github.com/dialoguemd/coredata/blob/master/job.yml


Function Grapher

Issue Type:

[x] Feature Request

Describe the bug
A JS app that plots a function of x -> f(x). Example:

x
x^2 + 2x + 5
sin(x)

Possible solution
The app will make use of: HTML / CSS / JS / Bootstrap5
Screenshots

@XZANATOL I will suggest open your issue in Cool frontend templates, as this issue contains HTML, CSS, JS, Bootstrap.

It's main functionality lies in JS. I just used bootstrap to stylize the shape a bit instead of making the page full wjite.


fix(version): update fabric8-stack-analysis-ui to 0.1.36

There were the following issues with your Pull Request

Commit: fe5ee2eb4974e27c8329512f21827d981c670729
Your subject line is longer than 50 characters

Guidelines are available at https://github.com/fabric8io/fabric8-ui

This message was auto-generated by https://gitcop.com


no-contract-card-ssr

#4641  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @jnsdls and the rest of your teammates on  Graphite


'Destroy' method?

Is there a method to destroy the carousel?
I'm trying to refresh the carousel after emptying the item container and adding new images.
I tried the index method but its not quite working.
I also tried a 'destroy' method but perhaps it was removed in the current version?

Unfortunately not right now, but we do already have an open issue for it: https://github.com/drien/jquery-flipster/issues/101


nodeport does not work with OVS/OVN 2.9.2

Hello,
#272 said nodeport error is fixed with OVS 2.9.1,
but I have same issue with OVS 2.9.2.
# ovs-vsctl --version
ovs-vsctl (Open vSwitch) 2.9.2
DB Schema 7.15.1

Here are my ovnkube arguments.
ovnkube -k8s-kubeconfig /etc/kubernetes/admin.conf \
  -net-controller \
  -loglevel=7 \
  -k8s-apiserver=https://<IP_ADDRESS>:6443 \
  -logfile=/usr/local/var/log/openvswitch/ovnkube.log \
  -init-master=master1 \
  -cluster-subnet=<IP_ADDRESS>/16 \
  -init-node=master1 \
  -k8s-token=b6c1b078fc81332251509a289ce83a7cd657eb0c26390262eee51d84eccc090c \
  -nb-address=tcp://<IP_ADDRESS>:6641 \
  -sb-address=tcp://<IP_ADDRESS>:6642 \
  -init-gateways -gateway-interface=em1 \
  -nodeport

Then,  I tried k8s_practice.
On master node, I could access frontend service.
But on external network, I couldn't access frontend service.
When I removed -nodeport,  I could access well.
How can I fix it?

@Yukariko
What is the IP address of brem1 (or em1)? Are you trying to access nodeport via that IP address?

@shettyg
Yes.  Address of brem1 is <IP_ADDRESS>.
I had checked port number with kubectl get services
Here is an example.
# kubectl get services
  NAME           CLUSTER-IP   EXTERNAL-IP   PORT(S)        AGE
  frontend       <IP_ADDRESS>   <none>       80:31323/TCP   6s
  kubernetes     <IP_ADDRESS>     <none>        443/TCP        4m
  redis-master   <IP_ADDRESS>   <none>        6379/TCP       2m
  redis-slave    <IP_ADDRESS>   <none>        6379/TCP       1m

I was tried to access nodeport via http://<IP_ADDRESS>:31323

Can you provide the o/ps of
ovs-ofctl dump-flows brem1
and
ovn-nbctl show

ovs-ofctl dump-flows brem1 with -nodeport
# ovs-ofctl dump-flows brem1
 cookie=0x0, duration=81.085s, table=0, n_packets=0, n_bytes=0, priority=100,ip,in_port="k8s-patch-brem1" actions=ct(commit,zone=64000),output:em1
 cookie=0x0, duration=81.067s, table=0, n_packets=791, n_bytes=109862, priority=50,ip,in_port=em1 actions=ct(table=1,zone=64000)
 cookie=0x0, duration=48.760s, table=0, n_packets=29, n_bytes=2262, priority=100,tcp,in_port=em1,tp_dst=32134 actions=output:"k8s-patch-brem1"
 cookie=0x0, duration=63831.892s, table=0, n_packets=199247, n_bytes=36305899, priority=0 actions=NORMAL
 cookie=0x0, duration=81.059s, table=1, n_packets=0, n_bytes=0, priority=100,ct_state=+est+trk actions=output:"k8s-patch-brem1"
 cookie=0x0, duration=81.046s, table=1, n_packets=0, n_bytes=0, priority=100,ct_state=+rel+trk actions=output:"k8s-patch-brem1"
 cookie=0x0, duration=81.030s, table=1, n_packets=791, n_bytes=109862, priority=0 actions=LOCAL

ovn-nbctl show with -nodeport
# ovn-nbctl show
switch f8d64dd2-9ffb-43c5-bfee-b28e2ec0b413 (master1)
    port default_frontend-5c548f4769-fvk7w
        addresses: ["dynamic"]
    port kube-system_kube-dns-86f4d74b45-cfqv7
        addresses: ["0a:00:00:00:00:08 <IP_ADDRESS>"]
    port default_redis-master-55db5f7567-sp546
        addresses: ["dynamic"]
    port default_frontend-5c548f4769-cjgbn
        addresses: ["dynamic"]
    port k8s-master1
        addresses: ["b6:6d:bb:6c:04:96 <IP_ADDRESS>"]
    port stor-master1
        type: router
        addresses: ["00:00:00:C1:B9:E6"]
        router-port: rtos-master1
    port default_redis-slave-584c66c5b5-kgclr
        addresses: ["dynamic"]
    port default_redis-slave-584c66c5b5-9nrgx
        addresses: ["dynamic"]
    port default_frontend-5c548f4769-pfq8x
        addresses: ["dynamic"]
switch b66e3eb6-d695-40a4-b1c5-ab14d32de859 (join)
    port jtor-master1
        type: router
        addresses: ["00:00:00:2C:01:84"]
        router-port: rtoj-master1
    port jtor-GR_master1
        type: router
        addresses: ["00:00:00:35:51:92"]
        router-port: rtoj-GR_master1
switch f0701fab-657f-4004-b451-dda369699559 (ext_master1)
    port etor-GR_master1
        type: router
        addresses: ["54:48:10:f8:7a:54"]
        router-port: rtoe-GR_master1
    port br-int_master1
        addresses: ["unknown"]
    port br0_master1
        addresses: ["unknown"]
    port brem1_master1
        addresses: ["unknown"]
router bd067371-3550-412e-9992-c16ea21972c3 (master1)
    port rtos-master1
        mac: "00:00:00:C1:B9:E6"
        networks: ["<IP_ADDRESS>/24"]
    port rtoj-master1
        mac: "00:00:00:2C:01:84"
        networks: ["<IP_ADDRESS>/24"]
router c9e3164e-f0ab-4550-aaa3-b423fc02134a (GR_master1)
    port rtoj-GR_master1
        mac: "00:00:00:35:51:92"
        networks: ["<IP_ADDRESS>/24"]
    port rtoe-GR_master1
        mac: "54:48:10:f8:7a:54"
        networks: ["<IP_ADDRESS>/24"]
    nat 7e48e8fe-da8c-4dcf-9454-68a5dad8ea76
        external ip: "<IP_ADDRESS>"
        logical ip: "<IP_ADDRESS>/16"
        type: "snat"

ovs-ofctl dump-flows brem1 without -nodeport
# ovs-ofctl dump-flows brem1
 cookie=0x0, duration=122.288s, table=0, n_packets=0, n_bytes=0, priority=100,ip,in_port="k8s-patch-brem1" actions=ct(commit,zone=64000),output:em1
 cookie=0x0, duration=122.280s, table=0, n_packets=1196, n_bytes=168105, priority=50,ip,in_port=em1 actions=ct(table=1,zone=64000)
 cookie=0x0, duration=64197.647s, table=0, n_packets=200746, n_bytes=36541457, priority=0 actions=NORMAL
 cookie=0x0, duration=122.264s, table=1, n_packets=0, n_bytes=0, priority=100,ct_state=+est+trk actions=output:"k8s-patch-brem1"
 cookie=0x0, duration=122.247s, table=1, n_packets=0, n_bytes=0, priority=100,ct_state=+rel+trk actions=output:"k8s-patch-brem1"
 cookie=0x0, duration=122.236s, table=1, n_packets=1196, n_bytes=168105, priority=0 actions=LOCAL

ovn-nbctl show without -nodeport
# ovn-nbctl show
switch f8d64dd2-9ffb-43c5-bfee-b28e2ec0b413 (master1)
    port kube-system_kube-dns-86f4d74b45-cfqv7
        addresses: ["0a:00:00:00:00:08 <IP_ADDRESS>"]
    port default_redis-slave-584c66c5b5-2gbhc
        addresses: ["dynamic"]
    port default_redis-master-55db5f7567-2fpq5
        addresses: ["dynamic"]
    port k8s-master1
        addresses: ["b6:6d:bb:6c:04:96 <IP_ADDRESS>"]
    port default_redis-slave-584c66c5b5-kfxg9
        addresses: ["dynamic"]
    port default_frontend-5c548f4769-kh8wg
        addresses: ["dynamic"]
    port stor-master1
        type: router
        addresses: ["00:00:00:C1:B9:E6"]
        router-port: rtos-master1
    port default_frontend-5c548f4769-b2wdr
        addresses: ["dynamic"]
    port default_frontend-5c548f4769-7mbls
        addresses: ["dynamic"]
switch b66e3eb6-d695-40a4-b1c5-ab14d32de859 (join)
    port jtor-master1
        type: router
        addresses: ["00:00:00:2C:01:84"]
        router-port: rtoj-master1
    port jtor-GR_master1
        type: router
        addresses: ["00:00:00:35:51:92"]
        router-port: rtoj-GR_master1
switch f0701fab-657f-4004-b451-dda369699559 (ext_master1)
    port etor-GR_master1
        type: router
        addresses: ["54:48:10:f8:7a:54"]
        router-port: rtoe-GR_master1
    port br-int_master1
        addresses: ["unknown"]
    port br0_master1
        addresses: ["unknown"]
    port brem1_master1
        addresses: ["unknown"]
router bd067371-3550-412e-9992-c16ea21972c3 (master1)
    port rtos-master1
        mac: "00:00:00:C1:B9:E6"
        networks: ["<IP_ADDRESS>/24"]
    port rtoj-master1
        mac: "00:00:00:2C:01:84"
        networks: ["<IP_ADDRESS>/24"]
router c9e3164e-f0ab-4550-aaa3-b423fc02134a (GR_master1)
    port rtoj-GR_master1
        mac: "00:00:00:35:51:92"
        networks: ["<IP_ADDRESS>/24"]
    port rtoe-GR_master1
        mac: "54:48:10:f8:7a:54"
        networks: ["<IP_ADDRESS>/24"]
    nat 7e48e8fe-da8c-4dcf-9454-68a5dad8ea76
        external ip: "<IP_ADDRESS>"
        logical ip: "<IP_ADDRESS>/16"
        type: "snat"

Can you provide the o/p of
modinfo openvswitch
uname -a

modinfo openvswitch
# modinfo openvswitch
filename:       /lib/modules/4.15.18/kernel/net/openvswitch/openvswitch.ko
alias:          net-pf-16-proto-16-family-ovs_meter
alias:          net-pf-16-proto-16-family-ovs_packet
alias:          net-pf-16-proto-16-family-ovs_flow
alias:          net-pf-16-proto-16-family-ovs_vport
alias:          net-pf-16-proto-16-family-ovs_datapath
license:        GPL
description:    Open vSwitch switching datapath
srcversion:     50EF1242CB4B8EDC8283849
depends:        nf_conntrack,nf_nat,libcrc32c,nf_nat_ipv6,nf_nat_ipv4,nf_defrag_ipv6,nsh
retpoline:      Y
intree:         Y
name:           openvswitch
vermagic:       4.15.18 SMP mod_unload modversions

uname -a
# uname -a
Linux master1 4.15.18 #1 SMP Wed Jul 25 04:52:24 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux

The following information in ovn-nbctl show looks suspect to me.
switch f0701fab-657f-4004-b451-dda369699559 (ext_master1)
    port etor-GR_master1
        type: router
        addresses: ["54:48:10:f8:7a:54"]
        router-port: rtoe-GR_master1
    port br-int_master1
        addresses: ["unknown"]
    port br0_master1
        addresses: ["unknown"]
    port brem1_master1

I see 3 ports added as external ports. It is likely that ovnkube command was run multiple times with different inputs to -init-gateways -gateway-interface. You should delete 2 of them with
ovn-nbctl lsp-del br0_master1
ovn-nbctl lsp-del br-int_master1

After this,

Can you put a tcpdump on the container interface and see whether the packets are reaching it?

Can you look at /var/log/openvswitch/ovn-northd.log to see if there are any errors?

Can you look at /var/log/openvswitch/ovs-vswitchd.log to see if there are any errors?

Can you show o/p of ovs-vsctl show

Can you show o/p of ovn-nbctl list load

Can you show o/p of ovn-nbctl list logical_router_static_route

Are you using the latest ovnkube?

Oh, The problem is solved.
I delete 2 ports as you mentioned.
And reset kubeadm & retry with -nodeport.
It looks well.
But I have another issue.
kube-dns doesn't create.
# kubectl get pods --all-namespaces
NAMESPACE     NAME                                 READY     STATUS             RESTARTS   AGE
kube-system   etcd-master1                      1/1       Running            0          20m
kube-system   kube-apiserver-master1            1/1       Running            0          20m
kube-system   kube-controller-manager-master1   1/1       Running            0          20m
kube-system   kube-dns-86f4d74b45-8vtgj            0/3       CrashLoopBackOff   21         21m
kube-system   kube-proxy-w5r47                     1/1       Running            0          21m
kube-system   kube-scheduler-master1            1/1       Running            0          20m

# kubectl describe pods --all-namespaces

...

cheduling       23m (x7 over 24m)   default-scheduler    0/1 nodes are available: 1 node(s) were not ready.
   Container will be killed and recreated.

In k8s_practice, access the service is well.
But redis don't work. (guestbook example can't save post)

But I have another issue : kube-dns creation errors.

This is happening because you have a gateway on master.  A gateway in OVN is a router and we have assigned <IP_ADDRESS> to the router. OVN does not let TCP/UDP traffic headed to a router IP (just like real routers).
What you can do is, create a localnet gateway on master and real OVN gateways on minions.
To create localnet gateway, you do this:
https://github.com/openvswitch/ovn-kubernetes/blob/master/vagrant/provisioning/setup-master.sh#L248

Oh, I see. thanks a lot


Allow linker.train_m_from_deterministic_rule()

Another way of training m is to provide splink with a deterministic rule that is considered valid (i.e. it results in 100% matches), and use this to train the m values for the remaining columns

Extend method from https://moj-analytical-services.github.io/splink/linker.html#splink.linker.Linker.estimate_m_from_label_column to get desired functionality


Goutte driver not passing hidden form fields

When you submit form with Goutte driver, hidden fields are not passed. This is a problem because, for example, CSRF verification methods rely on tokens which are stored in hidden fields.

Could you provide an example or a failing test ? Because Goutte works with hidden fields for me without a problem:
Short example:
issue-139.php

<?php if(!empty($_POST) && isset($_POST['my-hidden-field'])) : ?>

<?php echo $_POST['my-hidden-field']; ?>

<?php exit(); endif; ?>
<form action="issue-139.php" method="post">
    <input type="hidden" name="my-hidden-field" value="foo">
    <input type="submit" name="my-submit-button" value="Submit Form">
</form>

issue-139.feature
Feature: Pass hidden field

    Scenario: Submitting form with hidden field
        Given I am on "/issue-139.php"
        And I press "Submit Form"
        Then I should see "foo" in the ".hidden-value" element

Output:
$ behat                                                                                (12-01 16:37)
Feature: Pass hidden field

  Scenario: Submitting form with hidden field              # features/test-2.feature:6
    Given I am on "/issue-139.php"                         # Behat\Mink\Behat\Context\MinkContext::visit()
    And I press "Submit Form"                              # Behat\Mink\Behat\Context\MinkContext::pressButton()
    Then I should see "foo" in the ".hidden-value" element # Behat\Mink\Behat\Context\MinkContext::assertElementContainsText()

1 scenario (1 passed)
3 steps (3 passed)
0m0.063s

Yes, you're right, passing hidden fields works correctly, but there is another problem with cookie url decoding which was manifasted in my application by this behavior. I'll describe it in another issue.


Error: Cannot find module 'shelljs'

Steps to reproduce

Create a Gruntfile.js with this:

module.exports = function (grunt) {
    grunt.loadNpmTasks("grunt-shrinkwrap");
};

Install some modules:

$ npm i grunt grunt-shrinkwrap -D

3. Grunt some grunt:
    ```sh
$ grunt shrinkwrap

Actual results
$ grunt shrinkwrap
Loading "shrinkwrap.js" tasks...ERROR
>> Error: Cannot find module 'shelljs'
Warning: Task "shrinkwrap" not found. Use --force to continue.

Aborted due to warnings.

Not sure why it's failin' or why it cannot find shelljs module, but I have a theory it is due to the funky npm-shrinkwrap.json file in the grunt-shrinkwrap repo:
{
  "name": "grunt-shrinkwrap",
  "version": "0.1.1",
  "dependencies": {}
}

This is because the shelljs should be part of the dependencies object in npm.
I am adding it as is cleaner.


could redisson provide integration with netty5 snapshot ?

netty5 seems widely used and does many enhancement for last year. does any test or integration with redisson take into consideration or provide some small modification to make it compatible or provide some new branch for testing ? if any done it would be much appreciated.

netty5 seems widely used

Where? There is no any stable build of netty5.

@mrniko, I just mean that though netty5 does not provide stable version for releasing but it did exactly widely used in many project though with the title snapshot. switching from netty4 to netty5 seems not very difficult maybe it could start a new brach for testing. so that's some suggestion compared with your stable idea with netty framework integration.

I'll start integration with netty 5 when stable build with frozen api of this lib will be available

replace channelUnregistered  method sign  of  handlerRemoved in CommandHandler.java,it can suport netty5.
and jar dependency is

io.netty
netty-all
5.0.0.Alpha1

com.fasterxml.jackson.core
jackson-annotations
2.1.4

com.fasterxml.jackson.core
jackson-core
2.3.3

com.fasterxml.jackson.core
jackson-databind
2.3.3

@bbrui  thanks for review. please take a look at https://github.com/netty/netty/issues/2933 and give the last advice for redisson integration with netty5.

It seems like netty5 has gone from official netty page as well as from github repo too


Feature/access grants

Codecov Report

Merging #19 (cdb50d9) into master (93cc523) will increase coverage by 0.73%.
The diff coverage is 91.86%.

@@            Coverage Diff             @@
##           master      #19      +/-   ##
==========================================
+ Coverage   79.24%   79.97%   +0.73%
==========================================
  Files          49       49
  Lines        2843     2937      +94
  Branches      636      651      +15
==========================================
+ Hits         2253     2349      +96
- Misses        436      438       +2
+ Partials      154      150       -4

Impacted Files
Coverage Δ

metrics_layer/core/parse/config.py
68.83% <50.00%> (-0.77%)
:arrow_down:

metrics_layer/core/query/query.py
80.00% <66.66%> (+1.90%)
:arrow_up:

metrics_layer/core/model/model.py
85.71% <78.57%> (-0.96%)
:arrow_down:

metrics_layer/core/model/base.py
90.32% <85.71%> (-1.35%)
:arrow_down:

metrics_layer/core/model/project.py
85.20% <98.43%> (+8.12%)
:arrow_up:

metrics_layer/core/model/explore.py
81.94% <100.00%> (+0.12%)
:arrow_up:

metrics_layer/core/model/set.py
91.07% <100.00%> (+6.45%)
:arrow_up:

metrics_layer/core/model/view.py
82.00% <100.00%> (+1.14%)
:arrow_up:

metrics_layer/core/sql/query_design.py
84.90% <100.00%> (ø)

... and 3 more

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 93cc523...cdb50d9. Read the comment docs.


Add names to anonymous rundown playlist sync functions

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Bug fix for logging messages.

What is the current behavior? (You can also link to an open issue here)

Issues reported during the logging of queued rundown playlist sync functions report:
"Anonymous(rundownPlaylistSyncFunction)" completed after timeout. took 10598ms

This is because they are - for convenience and code readability - defined by anonymous functions.

What is the new behavior (if this is a feature change)?

A call to rundownPlaylistSyncFunction must now include the context.

Other information:

I looked into auto-magic ways of doing this - discovering your context -  but function.caller has been deprecated and arguments.callee has been removed from strict mode. All for good security reasons.
So ... a slightly clunky manual setting of the context is used. However, this could be extended in the future to add more context if useful for debugging.
Status

[x] The functionality has been tested by the PR author
[ ] The functionality has been tested by NRK

Now logs e.g.
[debug] syncFunction: ingest_rundown_undefined (triggerUpdateTimelineAfterIngestData)

Now logs context and function name (where available) e.g.:
I20200920-13:57:09.996(1)? [debug] syncFunction: EkWQXHXYLAHtpxRst2QamzT4hXs_ (take - take)

Codecov Report

Merging #319 into release25 will decrease coverage by 0.12%.
The diff coverage is 51.62%.

@@              Coverage Diff              @@
##           release25     #319      +/-   ##
=============================================
- Coverage      68.16%   68.03%   -0.13%
=============================================
  Files            186      186
  Lines          12510    12520      +10
  Branches        2921     2919       -2
=============================================
- Hits            8527     8518       -9
- Misses          3916     3934      +18
- Partials          67       68       +1

Impacted Files
Coverage Δ

meteor/server/api/expectedMediaItems.ts
84.05% <ø> (ø)

meteor/server/coreSystem.ts
56.92% <ø> (ø)

meteor/server/api/playout/adlib.ts
44.30% <28.03%> (-0.19%)
:arrow_down:

meteor/server/api/ingest/mosDevice/ingest.ts
88.68% <35.29%> (+0.27%)
:arrow_up:

meteor/server/api/playout/playout.ts
62.75% <56.19%> (-2.01%)
:arrow_down:

meteor/server/api/peripheralDevice.ts
77.65% <59.45%> (-0.28%)
:arrow_down:

meteor/server/api/userActions.ts
38.94% <68.42%> (ø)

meteor/server/api/ingest/actions.ts
76.71% <80.00%> (ø)

meteor/server/api/ingest/rundownInput.ts
70.09% <100.00%> (ø)

meteor/server/api/playout/take.ts
63.19% <100.00%> (ø)

... and 2 more

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 0dd49c1...874f586. Read the comment docs.


move centos to v1.0.23 of pipeline plugin

@bparees @csrwng @jupierce @oatmealraisin FYI

[test]

kicked off push of images

kicked off push of images

didn't want to wait for it to run automatically?

Yep impatient
On Friday, October 14, 2016, Ben Parees<EMAIL_ADDRESS>wrote:

kicked off push of images
didn't want to wait for it to run automatically?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/openshift/jenkins/pull/167#issuecomment-253953217,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADbadB_Jz8CwJTwZ-m5eCFRciHB_0rDlks5q0Ck-gaJpZM4KXjUo
.


pull request for e2e test at 12/22/2016 11:45:16

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


1 hour difference when using epoch time

I have a very unexpected behaviour today around epoch time where it actually loses an hour, if I do the following:
moment(0).add(1, 'day').subtract(1, 'day').format()

It will return "1970-01-01T10:00:00+11:00"
However if I do:
moment(0).format()

It will return "1970-01-01T10:00:00+10:00".
This isn't simply an issue of the timezone information changing, it is actually losing an hour in the process. (The top example still thinks it's 10 am even with +11 timezone)
Environment:
Both Chrome 57 and Node 7.4.0 on OSX
toString: Thu Apr 13 2017 11:01:48 GMT+1000 (AEST)
localeString: 13/04/2017, 11:01:48
timezoneOffset: -600
momentVersion: 2.18.1

Thanks.  I'm looking into it.

I can reproduce this, but it's not our bug.  It appears to be a bug with a component shared between Chrome and Node.  Probably ICU.
It's putting a "fall-back" style transition right at the local equivalent of 1970-01-01T00:00:00Z, but only if the local time zone has some DST transitions, and only for those with higher positive standard offsets.  I was able to reproduce it with Australia/Adelaide, Australia/Sydney, and all others east of those that have DST.
I can also reproduce this without moment at all:
TZ=Australia/Sydney node

> new Date(0).toString() // 'Thu Jan 01 1970 10:00:00 GMT+1000 (AEST)'
> new Date(-1).toString() // 'Thu Jan 01 1970 10:59:59 GMT+1100 (AEDT)'

There should be no transition here.  It's not in the TZDB data anyway.
I'll keep this open to track for now - but recognize it's not a Moment bug, so there's not much we can do about it.

@mj1856 Can I close this?
I'd also like to point out the browser vendors are just mean to Australia. See #2315 and #1145 for nasty Safari DST bugs there.

Let's close this here. I'll pass to TC39 for one of the V8 implementers to hunt down.

If this is an issue, I think it's in glibc. I am seeing the same results in ChakraCore, JSC, V8 and SpiderMonkey, and I think they all call out to glibc for these times on Linux.


Change PHP executable find order (and handle PHP_PATH options)

Change PHP executable detection order to allow PHP_PATH environment variable usage and override PHP_BINARY detection behavior. Specifically when you need to use a different php.ini.

Hi,
I noticed that this commit will solve an issue on OS X 10.11 El Capitan. The exact issue is that El Capitan added a new “System Integrity Protection (SIP)” that reduces the attack surface for malware that relies on modifying system files.
In some cases could be necessary to run PHP wrappers and with the current detection order is impossible to specify the PHP binary to execute.
[1]
https://www.apple.com/osx/all-features/pdf/osx_elcapitan_core_technologies_overview.pdf
See page 16 “System Integrity Protection"
Tomas

Thanks for this PR. Yet I invite you to submit it on the main symfony/symfony repository: this is where merges happen. Note that you should add test cases while doing so. Cheers.


Template indentation

This shouldn't be merged as-is (some are done with 2-space, others with 4-space) but this is more a test that it'd be super quick to clear out our badly-indented templates...

Automated message from Dropbox CLA bot
@timabbott, it looks like you've already signed the Dropbox CLA. Thanks!


Who do I report problems with your service to?

I'm the author of a transparent HTTP/S proxy for Windows. The proxy is fully compliant and issues a connection that is indistinguishable (or so it seems) from the original outbound connection. However, your service catches and flags these connections as robots. Even if your cookies are sent, still, flagged as a robot. The detection is random and arbitrary as it's not always repeatable.
The same behavior can be seen with Telerik's Fiddler. I'm wondering who I can reach out to in order to get this addressed. It seems in general your service is designed to cause issues for proxy/tunnel users, or its doing so erroneously. Either way, I'm wondering who I can contact to figure out why, as there is no discernable client-side issue I can see. I've proxied proxies through other proxies to deep inspect encrypted traffic and there's no issue I can see.

I would recommend you contact Cloudflare Support directly to enter through the normal support channels. You can see the steps and options at https://support.cloudflare.com/hc/en-us/articles/200172476-Contacting-Cloudflare-Support
As to your issue, based on my personal experience, I don't think it's anything to do with your proxy and more about the multi-fold security controls Cloudflare use on their on domain as well as customers. It's not just cookies, IP reputation, fingerprints or any other magic solution. It's a pretty sizable list of mitigations that work together from a variety of sources designed to keep automated, malicious and unintended traffic off the domains they sit in front of.

Thanks. It's just beyond me what could possibly be detected. I ripped everything apart, right down to the wire and watched the raw bytes go out over it, they are identical to without my proxy (because that's the point of transparent, local proxy) and yet it still flags it. So either I'm blind or that's some pretty next level security. I checked my IP reputation, all clean. Baffled.
Anyway thanks for the direction.

Jacob's suggestion is the best one. We would need more details and probably some investigation on our side to have any chance of figuring this out.

@garrettgalow Thanks. Closing out.

Just FYI, it appears that not offering HTTP/2 as an alt-protocol caused this issue. I rewrote a core aspect of my proxy to enable HTTP/2 and this issue vanished. Fiddler would suffer from the same issue because HTTP/2 is only supported upstream by a very specific web request handler in .NET Core 3.x, which Fiddler almost certainly is not using.


suggest extension to material sharing policies

Hello from OpenCon! I met up with @npscience during the OpenCon do-a-thon and I would like to potentially add material sharing policies to the TRANSPOSE-publishing database.
To give you more context, I've started working on a project to engage in conversations with journals and publishers to discuss the possibility of updating their material sharing policies to recommend specific reagent repositories, much like how Data sharing journal policies are recommending specific data and code repositories. The goal is that by recommending authors to make their research materials available through different non-profit repositories, journals can help to ensure timely distribution of materials and improve scientific reproducibility.
My colleagues and I at Addgene have started collecting material sharing policies for several journals (so far we've documented ~75 policies). Would it be possible to add material sharing policies to the TRANSPOSE-publishing database? I realize that it may not be compatible with the new googleforms format of contributing, but would like to explore this possibility. Thanks so much!

Thanks @zebraelement (& @dhimmel)!
This is a great initiative. I'd be curious to hear more about what kind of info you're collecting (I assume this includes the text of policies, the url...are you also breaking the policies into certain groups or looking for certain requirements?) As I think we've discussed, this does sound TOP-like as well, which leads me to wonder if there is a data collection initiative attached to the guidelines? We should, at a minimum, ensure our data are interoperable, but maybe we can consider extending the framework as well.
I'll put this on the agenda for our next meeting!


[QUESTION] How to add new target

I'd like to add a new target, I'm using a ServiceMonitor to do so.
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  labels:
    k8s-app: my-app
  name:  my-app
  namespace: monitoring
spec:
  endpoints:
    - bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
      interval: 30s
      port: exporter
      scheme: http
      tlsConfig:
        insecureSkipVerify: true
  jobLabel: k8s-app
  namespaceSelector:
    matchNames:
      - default
  selector:
    matchLabels:
      k8s-app:  my-app

There is no new target  in prometheus.
How can I add my own service?
For Grafana I only see a service, a service monitor and a service account. I was thinking that on my side I was supposed to add only a service monitor because my service is already up in the default namespace.

I needed to restart the prometheus containers. Not sure if there is a better way since it seems to have an autoreload system...
Anyway I close this issue.


Add DB index

Add DB index on:

parentId: 1
url: 1, buildName: 1, buildNum: 1

related: https://github.com/adoptium/aqa-test-tools/issues/839

With the DB index, we have ~35x speed up.

Previous

Now


[Test] Support loading of mts in test files

⚠⚠⚠
There is another PR #96 that make both test and coverage works using ts-jest (without jest-light-runner)
This PR may be obsoleted if jest-light-runner is not necessary
⚠⚠⚠

Summary
Support loading of mts by registring ts-node/esm for the jest tests
Related issue
To resolve #94
Motivation
To be able to run test
How is this tested?
Before
See issue in #94
After

Closing. My understanding on how the test run was wrong.
We are suppose to run build first npx tsc before running test.
This PR is no longer necessary as my initial motivation is also covered in the newer commits in #93


[release-1.8] use correct yaml package to read image pull secret

This is an automated cherry-pick of #30520

@istio-testing: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-telemetry-mc-k8s-tests_istio_release-1.8
1931001f952c53de57f4253c0583a9c39089d35c
link
/test integ-telemetry-mc-k8s-tests_istio_release-1.8

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


Ruff v0.7.3 not recognizing instance of SIM115 compared to v0.7.2

In Ruff version 0.7.3, SIM115 is not recognized in a case that was recognized in 0.7.2:
file.py
from __future__ import annotations

import traceback
from typing import Any, IO

def open_file(
    filename: str,
    mode: str,
    encoding: str | None = None,
) -> IO[Any] | None:
    """Return file handle. Return None on failure."""
    try:
        # Line below previously correctly triggered `SIM115`
        return open(filename, mode, encoding=encoding)
    except FileNotFoundError:
        print("File Not Found.")
    except (OSError, BaseException) as exc:
        print(exc)
        traceback.print_exception(exc)
    return None

Noted line no longer triggers SIM115, where I argue it might be more correct to do so.
ruff check --isolated --select=SIM115 file.py

~ > ruff --version
ruff 0.7.3

I believe this was an intentional change.

Yes, per https://github.com/astral-sh/ruff/pull/14066 and https://github.com/astral-sh/ruff/issues/13862
The caller could context manage the returned object. It is incorrect to raise SIM115 here.

Alright, that makes sense, thanks for clarifying!


Resolve black/reorder-python-imports

As of v24, black no longer plays nicely with reorder-python-imports.
Acceptance Criteria:

Support black v24
Sort the imports with a common tool

This may be an opportunity to introduce ruff and replace flake8

resolved in #324


Boolean parameter for EU endpoint

@rockem I'm wondering if this code with the boolean and an if case instead, is what you meant.

@rockem I'm wondering if this code with the boolean and an if case instead, is what you meant.

Yes, pretty much

Can you please update the README as well?

@rockem ah yes, done