ssh_dispatch_run_fatal: Connection to <IP_ADDRESS> port 2222: message authentication code incorrect

I'm getting the following error after everything completes.
ssh_dispatch_run_fatal: Connection to <IP_ADDRESS> port 2222: message authentication code incorrect
rsync: connection unexpectedly closed (276663018 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-54.120.1/rsync/io.c(453) [receiver=2.6.9]
rsync: connection unexpectedly closed (96117 bytes received so far) [generator]
rsync error: unexplained error (code 255) at /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-54.120.1/rsync/io.c(453) [generator=2.6.9]

Full log here: https://github.com/strawberrymusicplayer/strawberry/runs/3208862681
workflow:
  build-freebsd:
    name: Build FreeBSD
    runs-on: macos-latest
    steps:
    - uses: actions/checkout@v2
    - name: Build FreeBSD
      id: build-freebsd
      uses<EMAIL_ADDRESS>      with:
        usesh: true
        mem: 4096
        prepare: pkg install -y git cmake pkgconf gettext-tools boost-libs glib gnutls qt5-core qt5-concurrent qt5-network qt5-sql qt5-dbus qt5-gui qt5-widgets qt5-buildtools qt5-linguisttools qt5-qmake qt5-sqldrivers-sqlite3 qt5-testlib sqlite gstreamer1 gstreamer1-plugins chromaprint protobuf protobuf-c taglib libcdio libmtp gdk-pixbuf2 libgpod fftw3 googletest iconv
        run: |
          sed -i'.original' -e 's/set(INCLUDE_GIT_REVISION ON)/set(INCLUDE_GIT_REVISION OFF)/g' cmake/Version.cmake
          cmake -E make_directory build
          cd build
          cmake .. -DCMAKE_BUILD_TYPE=Debug
          cmake --build . --config Debug --parallel 4

Full file here:
https://github.com/strawberrymusicplayer/strawberry/blob/3a9a8289ba9886f1647582297426b1586c933e8b/.github/workflows/ccpp.yml#L1699

ssh_dispatch_run_fatal: Connection to <IP_ADDRESS> port 2222: message authentication code incorrect

Maybe this can be of help: https://dentarg.blog/post/186913288147/umac-64-etm

I've been getting this error intermittently in nightly CI runs. It seems to fail ~20-30% of the time. For example, the run from two nights ago succeeded. However, last night's run failed with this error:
ssh_dispatch_run_fatal: Connection to <IP_ADDRESS> port 2222: message authentication code incorrect
rsync: connection unexpectedly closed (114965578 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-54.120.1/rsync/io.c(453) [receiver=2.6.9]
rsync: connection unexpectedly closed (106945 bytes received so far) [generator]
rsync error: unexplained error (code 255) at /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-54.120.1/rsync/io.c(453) [generator=2.6.9]
Error: The process '/usr/bin/rsync' failed with exit code 255

My workflow is very similar to the one above.
I'm going to try the sshfs alternative sync method and will report back if it's more reliable.

We also started to get this error every other run, is there a solution?
ssh_dispatch_run_fatal: Connection to <IP_ADDRESS> port 2222: message authentication code incorrect
rsync: connection unexpectedly closed (68987873 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-54.120.1/rsync/io.c(453) [receiver=2.6.9]
rsync: connection unexpectedly closed (81665 bytes received so far) [generator]
rsync error: unexplained error (code 255) at /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-54.120.1/rsync/io.c(453) [generator=2.6.9]
Error: The process '/usr/bin/rsync' failed with exit code 255

@gkorland
please try with the latest release.
I never saw this error.

We are using the latest

I'm on the latest release and still getting this error:
ssh_dispatch_run_fatal: Connection to <IP_ADDRESS> port 2222: message authentication code incorrect
rsync: connection unexpectedly closed (71193871 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-54.120.1/rsync/io.c(453) [receiver=2.6.9]
rsync: connection unexpectedly closed (130324 bytes received so far) [generator]
rsync error: unexplained error (code 255) at /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-54.120.1/rsync/io.c(453) [generator=2.6.9]
Error: The process '/usr/bin/rsync' failed with exit code 255

See: https://github.com/RedisJSON/RedisJSON/runs/5110720630?check_suite_focus=true

I sadly have to line myself up here. It used to work and since quite some time (didn't record the exact date sadly) I started to get the exact same error, too.

I worked around it by wiping the build directory after the build competes.

I sadly have to line myself up here. It used to work and since quite some time (didn't record the exact date sadly) I started to get the exact same error, too.

NB: I just realized there's a v0.1.6 out and I was on v0.1.5. I bump it up on my end and now it succeeds. Not sure if that's actually fixed or just green by accident. If it's happening again, I'll try your workaround @jonaski, and leave only in build dir whatever is really needed. Thanks for the tip. :)

I wonder if adding an option to the rsync command might help
rsync -e 'ssh -o<EMAIL_ADDRESS>

@tsuckow Indeed, that was my suggestion with https://github.com/vmactions/freebsd-vm/issues/28#issuecomment-890421968, but maybe many didn't pick up on it

thanks, I will try it soon.

fixed, please try the latest release.

Still not fixed:
https://github.com/Groestlcoin/lightning/actions/runs/3443700100/jobs/5745510315

@gruve-p   can you please try with sync: sshfs ?  maybe that could be better.

I'm also lately getting many sync failurs. going to try out sync: sshfs too, but would be lovely if @gruve-p would be reporting back, too. :)

@christianparpart     if you don't need to build result files,  you can set copyback:false to not copy the files back from the VM to the host machine.   It will help the success rate.

@christianparpart if you don't need the build result files, you can set copyback:false to not copy the files back from the VM to the host machine. It will help the success rate.

yes this helps the success rate however I need the build result files in my case

@christianparpart if you don't need the build result files, you can set copyback:false to not copy the files back from the VM to the host machine. It will help the success rate.

that's even better, because in this case I'm only interested in build/test success. Thanks for the tip. :)

@gruve-p   I understood.
That was just a tip for users like @christianparpart .
Thanks

@gruve-p can you please try with sync: sshfs ? maybe that could be better.

Trying now: https://github.com/Groestlcoin/lightning/actions/runs/3444181494/jobs/5746511783
Will keep an eye on it if this is better or same

@gruve-p   fine,  it seems not better.  please remove sync: sshfs.
can you please try mem: 4096 to increase the memory for the VM?
Thanks

@gruve-p fine, it seems not better. please remove sync: sshfs.

Done

can you please try mem: 4096 to increase the memory for the VM?

Done
https://github.com/Groestlcoin/lightning/actions/runs/3446443764/jobs/5751352398

@gruve-p   your  mem is 2048.  please try 2096

@gruve-p your mem is 2048. please try 4096

https://github.com/Groestlcoin/lightning/actions/runs/3450225416/jobs/5758686603


Supply Points Unable to generate loot

I have recently begun playing H3VR again, and when I use this mod one of two things happens:

The main features of the mod, the hold number and override token count, do not appear on my radar hand despite being set to in the config file. The health gem will still flash or show the circle timer as set, and the supply point will still display a number on the item being purchased.

If I turn off and turn back on the hold counter and token counter they will become functional again, but a new issue begins. After doing this any time I buy an item at a supply point it will not spawn, and will lock the supply point screen as I assume it tries to find an item to spawn.

When I look at the black log screen the H3VR generates while playing it will infinitely spawn one of two messages depending on the map I am playing at the time

tnh manager is null

[Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object Stack trace: WurstMod.Shared.Extensions.ReflectSet (UnityEngine.Object,string,object) <0x00153> WurstMod.Runtime.Patch_LegsUpdate_MoveToPoint.Prefix (FistVR.Sosig) <0x005ef> (wrapper dynamic-method) FistVR.Sosig.DMD<FistVR.Sosig..LegsUpdate_MoveToPoint> (FistVR.Sosig) <0x00047> FistVR.Sosig.LegsUpdate () <0x0006b> FistVR.Sosig.Update () <0x00236>
After this began I tried to fully delete both H3 and all mods then reinstall them. Even after this it just put me back to half the mod not functioning. If I disable this mod specifically the supply points go back to generating loot as normal Please let me know what information I can provide to help get this issue fixed. This is one of my favorite mods and I hope to be able to use it again soon!

What other mods are you running with?
If you disable just this mod, does TNH return to normal?
What beta branch are you playing on?

Yes, with the set of mods on this profile by disabling only this mod the issue is resolved. I also tried making a new profile in the mod manager with only  TNH_QOL_Improvments and TakeAndHoldTweaker added in case that was the conflict and it ran just fine

In steam I have my beta branch set to 'none'

I'm fairly certain that there is a conflict somewhere, but I have no idea what mod could be causing it and i was hoping to avoid brute forcing through 100 ish mods to find it. If you don't see anything in my list that totally fine, but any advice on which mods you think may be causing the conflict would be greatly appreciated.

My Mod List:

BepInExPack_H3VR by BepInEx
Sodalite by nrgill28
TNH_Quality_of_Life_Improvements by muskit
Stratum by Stratum
Mason by Stratum
Deliter by Stratum
Deli by DeliCollective
WurstMod by nrgill28
IslandCompound by devyndamonster
JM_Monolith_2 by JoshMate
Costa_con_Carne_TaH by NunSuperior
Atlas by nrgill28
Aporkalypse_Now by Marcel
Promeatheus_TaH by NunSuperior
BlackHawkDownTNH by Abass20
CairoStation by CirnoPortsMaps
Hotel_Hotlink by sirpotatos
Franktory by stark
JungleCampTNH by Abass20
Rostok_TnH by Nikpo
JungleValleyTNH by Abass20
Factory_Take_and_Hold by calafex
MagazinePatcher by devyndamonster
TakeAndHoldTweaker by devyndamonster
PMCPete by devyndamonster
OtherLoader by devyndamonster
Doomboxs_German_Uniforms by Doombox3
Stalker_Sasha by Vohnyshche
Looting_Larry by Fez3557d4428b7f48fa
SilentSully by OsaPL
OpenScripts2 by cityrobo
FTW_Arms_AFCL by Andrew_FTW
PuppyScripts by Arpy
Potatoes_TNH_BGM_Loader by Potatoes
XUnity_ResourceRedirector by bbepis
H3VR_Sideloader by denikson
MonoMod_Loader by BepInEx
HookGenPatcher_H3VR by nrgill28
OpenScripts by cityrobo
H3VRUtilities by WFIOST
TOZ66 by Vohnyshche
TOZ34 by Vohnyshche
SIG_Sauer_P220 by Vohnyshche
Meats_ModulShotguns by Meat_banono
ModulAK_Plus by Not_Wolfie
PKM_2 by JerryAr
TNH_BGM_Cheeki_Breeki_Hardbass_Remiks by ValhallaMods
Meats_ModulAK by Meat_banono
BINGUS_Shotguns by Chargin
Modul_VAL by Not_Wolfie
Ashes_Groza_Remake by fsce
FTW_Arms_AN94 by Andrew_FTW
Stalker_Bandit_Voices by Vohnyshche
Monolith_Sosig_Voices by Vohnyshche
SVU_A by devyndamonster
PBPISTOL by superpug
OTs_02_Kiparis by devyndamonster
MrCalhouns_Clear_Sky_Battle_at_Yantar by Vohnyshche
Firelake_Fighting_Unknown_TNH_BGM by Vohnyshche
Uzicko_Kolo_TNH_BGM by Vohnyshche
Stalker_Zombie_Voices by Vohnyshche
FN_F2000 by edisleado
modulSVD by nayr31
Walther_P99 by Muzzle
Stalker_Modpack by Vohnyshche
30mm_Mounts by fsce
Swift_Suspenders_by_Arpy by Arpy
Meats_ModulARpt2 by Meat_banono
Modern_Warfighter_Foregrips by Andrew_FTW
Modern_Warfighter_Rails by Andrew_FTW
Modern_Warfighter_Lights_and_Lasers by Andrew_FTW
ModernWarfighterRemake_Optics by fsce
65Grendel by Arpy
Andrews_Lively_Lederhosen by Andrew_FTW
Meats_ModulAR by Meat_banono
Meats_ModulSIG by Meat_banono
Modul_FAL by Not_Wolfie
MP443_Grach by Not_Wolfie
FTW_Arms_Modern_Warfighter_Remastered by Andrew_FTW
Modul_AR9 by Not_Wolfie
FTW_Arms_Modular_Vector by Andrew_FTW
FTW_Arms_Modular_M1a by Andrew_FTW
FTW_Arms_VPO215 by Andrew_FTW
FTW_Arms_Modular_Addons by Andrew_FTW
Meats_ASh12 by Meat_banono
SR1MP by nayr31
Ashes_KelTec_RFB by fsce
FTW_Arms_KS_23 by Andrew_FTW
FTW_Arms_Modular_Helmets by Andrew_FTW
FTW_Arms_Nightvision by Andrew_FTW
VeprHunter by nayr31
Modul_M700 by Not_Wolfie
ModulTT by superpug
Meats_Rigs by Meat_banono
Magazine_fed_Classic_SKS_Kit by Arpy
FTW_Arms_Mk18_Mjolnir by Andrew_FTW
GoldenTT by nayr31
PMC_Pete_Content by devyndamonster
PrefabReplacer by cityrobo
Meats_ModernWarfighterOptics by Meat_banono
TNH_Announcer_Lois_NEXT by Sora101Ven
Cyberpsychosis_TnH_Theme by Hani
MeloncorpBoxes by MelonCorp
MercMelon by MelonCorp
Looting_Larry_MooseEdit by MooseOnTheLoose
Wristimate by AshHat
BackpackHarnessEnabler by cityrobo
SpectatorPreconfigurator by cityrobo
BetterHands by MaiqTheDude
LSIIC by BlockBuilder57
BepInEx_ConfigurationManager by BepInEx
SosigRipper by OsaPL
Better_Bullet_Cracks by Shampooh
BetterGrapplingGun by cityrobo
Alternate_Whoosh by Shampooh
BulletKinesis by OsaPL

Send me your profile code so I can replicate your mods list on my end, and I don't miss a mod if I end up trying to manually install.

I can add to this. After you fixed the mod for Atlas-based maps, it stopped working for WurstMod-based maps. I've tried it again with a new profile that contained only JM Monolith 2, Wurst City Reloaded Day, Island Compound and TNH QoL Improvements. The symptoms are the same Issue #2.
TNH Quality of Life Improvements version 1.2.4
H3VR Update 110a6, alpha - Mod Safe branch
Valve Index HMD
r2modman 3.1.42

Before I send the profile I've found a reliable way to reproduce it.  Pretty much as @O-Deka-K said any non vanilla map disables the hold number and token count even if they're the only mods added to a profile with dependencies.
Simplified Profile Code : 0189aa79-7c97-4d13-f90c-682ba35db270
When using the Prometheus map you mod would stop working fully, but with either of the default maps it worked as expected

As for the initial issue I mentioned with the loot not spawning I was using this profile ( 0189aa7c-ce86-a9cc-849c-1165b7944055 )
Playing as PMC Pete
Map Prometheus
This issue is resolved whenever your QOL mod is disabled

As of commit 611f074b73b0c76d0f5da72b970b4375e5fa6899 (release 1.2.5), everything should be initialized properly now in three map types (standard, Atlas, and WurstMod). I was able to finish a game in each tested map type on my end.
Thank you for helping me track down the issue!

Awesome. Thanks again!

Haven't had a single issue since thank you for being so quick to put out an update!


chore: Improve error messages when the loaded API schema is not in JSON or YAML

Resolves #1262

Codecov Report

Merging #1265 (3c036ec) into master (7530ff0) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #1265   +/-   ##
=======================================
  Coverage   99.41%   99.41%
=======================================
  Files          82       82
  Lines        6137     6147   +10
  Branches     1015     1016    +1
=======================================
+ Hits         6101     6111   +10
  Misses         18       18
  Partials       18       18

Flag
Coverage Δ

unittests
99.38% <100.00%> (+<0.01%)
:arrow_up:

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

Impacted Files
Coverage Δ

src/schemathesis/exceptions.py
100.00% <100.00%> (ø)

src/schemathesis/specs/openapi/loaders.py
100.00% <100.00%> (ø)

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 7530ff0...3c036ec. Read the comment docs.


make-derivation.nix: Support inputDerivation on disallowedReferences

Description of changes
Make .inputDerivation work for hopefully all stdenv-based derivations. (spoiler: not quite; https://github.com/NixOS/nixpkgs/pull/215173)
       # inputDerivation produces the inputs; not the outputs, so any
       # restrictions on what used to be the outputs don't serve a purpose
       # anymore.

Found via #194345

Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

I'm actually not sure what use cases inputDerivation has now that mkShell is buildable. They are using essentially the same approach though, it would be good to keep them in sync somehow

Me neither. It's undocumented, so we could make it do anything that makes sense for the name. Instead of duplicating mkShell, we might give it its own niche, to reify the dependencies of a derivation, rather than to offer a shell environment.
This is more of a discussion for #215173 though.

#215173


Feature suggestion: alt-screen with flag/ keymap

As I worked on the app I had the idea to add a flag for an alt-screen option which centers the timer in the middle of an alt-screen in the terminal at start up. You could even add a keybinding to toggle from alt-screen to normal view.
@caarlos0 if you like the idea I would love to make a PR in the next time.

I think a flag to start it in altscreen would be cool, yeah

On it ;) :+1:


feat: named exports for esm users

Adds an index.mjs file to the library so that you can import structures with ESM syntax.
Before, this resulted in the following:
import { CommandHandler } from 'discord-akairo';
         ^^^^^^^^^^^^^^
SyntaxError: Named export 'CommandHandler' not found. The requested module 'discord-akairo'
is a CommonJS module, which may not support all module.exports as named exports.

Resolves #122.

Is this published to the npm package?

Looks great! I added it manually to my local installation, thank you!

Did you test this? 'cause it didn't work for me.
This doesn't support ESM completely - it does add exports to the various core files, since they, themeslves, have a dependency on various files, they all need to be ESM modules, themeslves, and therefore have to be renamed to .mjs to run on Node.js, and they need to have ES6 import/export syntax, per ESM specifications.
I'm working on converting the whole library's modules to ESM, with the addition of your exports.

Yeah, i'm using it for my bot and it works just fine

If you mean loading modules from your own files, that won't be implemented anyway (see https://github.com/discord-akairo/discord-akairo/issues/122#issuecomment-656946551).
As a workaround, i'm loading all modules manually:
async loadModules() {
    for (const file of CommandHandler.readdirRecursive(this.commandHandler.directory)) {
        const { default: module } = await import(`../../${file}`);
        this.commandHandler.load(module);
    }

    for (const file of ListenerHandler.readdirRecursive(this.listenerHandler.directory)) {
        const { default: module } = await import(`../../${file}`);
        this.listenerHandler.load(module);
    }
}

The comment says:

import does not support reloading as of the moment. Its not a deal breaker, but I'd rather not touch it for now.

I don't understand - why and how is reloading of user-defined Command modules necessary?
Also, where do you use loadModules() - in CommandHandler?

I don't understand - why and how is reloading of user-defined Command modules necessary?
¯\_(ツ)_/¯

Also, where do you use loadModules() - in your client?
i added it as a method to my client class, doesn't matter where/how you do it though

I don't understand - why and how is reloading of user-defined Command modules necessary?

¯_(ツ)_/¯

Also, where do you use loadModules() - in your client?

I added it as a method to my client class, doesn't matter where/how you do it though

Haha, okay. I guess I should ask the 1Computer1, then.
Thanks, that's what I thought I'll test it out and see if it works. 🙂

Also, just to make sure - your main entry file (index or whatever you called it) file and your client class file are both .mjs files and you're using type: "module" in your package.json, yes? I'm asking to make sure I'm reproducing exactly what you did.

I don't use .mjs, only the type specification in package.json
Depending on how your project is structured you might also need to modify the path you pass to import()

What module type do you use for your user-defined files - ESM? CommonJS modules?

Sorry, I thought the new branch rename feature would update pull requests accordingly, apparently it doesn't

Sorry, I thought the new branch rename feature would update pull requests accordingly, apparently it doesn't


Generate MANIFEST.in ?

Hello Zoran !
So, I'm living a dream with setupmeta, except sometimes installing the dist package does not define my entry points. I figured it works a lot better by adding the ini file to MANIFEST.in hopefully :joy: BUT, sometimes I forget about it ^^
Let's demonstrate:
$ pip install yash==0.6.1
Collecting yash==0.6.1
Collecting pyyaml (from yash==0.6.1)
Collecting cli2 (from yash==0.6.1)
Collecting colorama (from cli2->yash==0.6.1)
  Using cached https://files.pythonhosted.org/packages/4f/a6/728666f39bfff1719fc94c481890b2106837da9318031f71a8424b662e12/colorama-0.4.1-py2.py3-none-any.whl
Installing collected packages: pyyaml, colorama, cli2, yash
Successfully installed cli2-0.5.2 colorama-0.4.1 pyyaml-3.13 yash-0.6.1

$ ls test/bin/ | grep yash

Nothing in bin :'(
Let's try from source:
$ pip install -e ~/src/yash
Obtaining file:///home/jpic/src/yash
Requirement already satisfied: pyyaml in ./test/lib/python3.7/site-packages (from yash==0.6.2.dev6) (3.13)
Requirement already satisfied: cli2 in ./test/lib/python3.7/site-packages (from yash==0.6.2.dev6) (0.5.2)
Requirement already satisfied: colorama in ./test/lib/python3.7/site-packages (from cli2->yash==0.6.2.dev6) (0.4.1)
Installing collected packages: yash
  Found existing installation: yash 0.6.1
    Uninstalling yash-0.6.1:
      Successfully uninstalled yash-0.6.1
  Running setup.py develop for yash
Successfully installed yash

$ ls test/bin/ | grep yash
yash

Ok so hopefully the dev version has it fixed, just after I added ini files to MANIFEST.in, but i'm not 100% sure it's related: it just looks like it so far.
$ pip install yash==0.6.2.dev6
Collecting yash==0.6.2.dev6
  Downloading https://files.pythonhosted.org/packages/2c/1f/0bcda86d598f32504dc980e613248fb728ae94f369e213e203fed79790ea/yash-0.6.2.dev6.tar.gz
  Requested yash==0.6.2.dev6 from https://files.pythonhosted.org/packages/2c/1f/0bcda86d598f32504dc980e613248fb728ae94f369e213e203fed79790ea/yash-0.6.2.dev6.tar.gz#sha256=583890bd9b7caf30ac601ae5bec0a3b3309fc06bdd0f9dac0f74cc05a1065e8c, but installing version 0.6.2
Requirement already satisfied: pyyaml in ./test/lib/python3.7/site-packages (from yash==0.6.2.dev6) (3.13)
Requirement already satisfied: cli2 in ./test/lib/python3.7/site-packages (from yash==0.6.2.dev6) (0.5.2)
Requirement already satisfied: colorama in ./test/lib/python3.7/site-packages (from cli2->yash==0.6.2.dev6) (0.4.1)
Building wheels for collected packages: yash
  Building wheel for yash (setup.py) ... done
  Stored in directory: /home/jpic/.cache/pip/wheels/8e/3a/1e/ab14cfb2073af96b3303079a3596d3ca4c91e0f468a79166ce
Successfully built yash
Installing collected packages: yash
Successfully installed yash-0.6.2

$ ls test/bin/ | grep yash
yash

Do you think we should automate "adding files used by setupmeta to MANIFEST.in" ?
Thanks in advance for sharing some of your insight !
Have a great day ;)

@jpic were you able to verify the new version 2.3.2 does indeed fix your issue? (without you having to add anything to MANIFEST.in)

I think so, because I still have a MANIFEST.in but just for my own stuff, not for entry_points.ini, classifiers.txt etc anymore !


Qualification tool: Parse expressions in Join execs

This closes https://github.com/NVIDIA/spark-rapids/issues/6064
This PR adds parser support to the following join execs.

BroadcastHashJoin
SortMergeJoin
BroadcastNestedLoopJoin
ShuffledHashJoin

The format in eventlog is almost similar for equijoins. All use same function to parse the exec.
Added new test for unsupported expressions and updated the current test for supported expressions.

build

build

build

build


"Next" link page count is overridden

I have a "next" link where the page count is being overridden when making a JSON call. The page count on my site API starts from 0, not 1. Despite this, infinite-scroll overrides the link URL's request for page=1 and instead sends page=2. At no point within the DOM are there any references to page=2. This is wholly internal to infinite-scroll.

Thank you for reporting this issue.
Infinite Scroll v3 is out!. It's an all new re-write, so take a look at how to upgrade from v2.
Infinite Scroll v3 has better path parsing, so your page numbers are maintained. I recommend upgrading to v3. Please open a new issue if you run into trouble with Infinite Scroll v3. 🌈🐻


Add ability to remove the error bar

for endpoint 500 errors we show a red bar in the tab area
main text can be shrunk but bar remains
add ability for user to remove the bar entirely, suggested to 'move' information to notification page

Fixed in master


Missed some occurrences of OpticalSystem which should be changed to AbstractOpticalSystem

Pull Request Template
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
ran unit tests
Checklist:

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

Codecov Report

Merging #142 (06393e9) into main (8a55465) will decrease coverage by 0.88%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #142      +/-   ##
==========================================
- Coverage   48.37%   47.49%   -0.89%
==========================================
  Files          65       64       -1
  Lines        6659     6614      -45
==========================================
- Hits         3221     3141      -80
- Misses       3438     3473      +35

Impacted Files
Coverage Δ

src/Geometry/Primitives/NonCSG/Ellipse.jl
51.56% <ø> (ø)

src/Geometry/Primitives/NonCSG/Rectangle.jl
67.30% <ø> (ø)

src/Geometry/Primitives/SphericalCap.jl
71.55% <ø> (ø)

src/Optical/HierarchicalImage.jl
67.92% <ø> (ø)

src/Vis/Visualization.jl
5.75% <ø> (ø)

src/Optical/Emitters/Emitters.jl
0.00% <0.00%> (-20.00%)
:arrow_down:

src/Geometry/Primitives/Qtype.jl
75.00% <0.00%> (-8.34%)
:arrow_down:

src/Optical/LensAssembly.jl
48.22% <0.00%> (-7.33%)
:arrow_down:

src/Optical/OpticalInterface.jl
63.23% <0.00%> (-4.30%)
:arrow_down:

src/Geometry/CSG/Intersection.jl
48.57% <0.00%> (-2.14%)
:arrow_down:

... and 7 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 8a55465...06393e9. Read the comment docs.

@BrianGun for future reference, if you want PRs like this to be merged ASAP, you can set up the merge (e.g. Squash and merge) in advance by using the same button. This can be done before any reviews or checks.


Add celestia command(s) to astria-cli

It would be helpful to have commands in the astria-cli to read data from Celestia which was posted by the sequencer relayer and to deserialize it into sequencer structs
Mocha Namespaces we're currently posting to

https://mocha-4.celenium.io/namespace/000000000000000000000000000000000000be779a4ba5f61c9f6898
https://mocha-4.celenium.io/namespace/000000000000000000000000000000000000000067480c4a88c4d129
https://mocha-4.celenium.io/namespace/000000000000000000000000000000000000cb5f0a3b5a3632a1a457

Relevant code for how we posting blobs

https://github.com/astriaorg/astria/blob/main/crates/astria-celestia-client/src/blob_space.rs
https://github.com/astriaorg/astria/blob/main/crates/astria-celestia-client/src/client.rs#L162
https://github.com/astriaorg/astria/blob/main/crates/astria-sequencer-types/src/sequencer_block_data.rs#L173

Note: The following PRs will change the sequencer data structs

https://github.com/astriaorg/astria/pull/395
https://github.com/astriaorg/astria/pull/436

closed by #1059


Fix update-test --to-tag on macOS for Linuxbrew

Fix Error: undefined method 'chomp' for nil:NilClass

Codecov Report

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

@@            Coverage Diff            @@
##           master    #307      +/-   ##
=========================================
- Coverage   70.61%   70.6%   -0.02%
=========================================
  Files         341     341
  Lines       17694   17694
=========================================
- Hits        12494   12492       -2
- Misses       5200    5202       +2

Impacted Files
Coverage Δ

extend/io.rb
71.42% <0%> (-28.58%)
:arrow_down:

Continue to review full report at Codecov.

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

Closed in favour of #308.


Excess property checks disabled when one property matches

TypeScript Version:  3.4.0-dev.20190314
Search Terms: excess property
Code
interface Model<Dict extends {}> {
    getDict(): Dict;
}

type GetModelDict<Obj> = Obj extends Model<infer Dict> ? Dict : never;

class User implements Model<{ name: string }> {
    constructor(private readonly name: string) { }

    getDict() {
        return { name: this.name };
    }
}

// f0 is working as intended and correctly triggers excess property checks
function f0(dict: GetModelDict<User>) {
}

f0({foo: "bar"}); // ERROR: `foo` does not exist in type `{name: string}`
f0({name: "Charlie"}); // OKAY
f0({foo: "bob", name: "Charlie"}); // ERROR: `foo` does not exist in type `{name: string}`

// f1 does NOT trigger excess property checks if there is at least one overlapping key
function f1<Obj extends Model<any>, Dict extends GetModelDict<Obj>>(model: Obj, dict: Dict) {
}

const bob = new User("Bob");
f1(bob, {foo: "bar"}); //  ERROR: `foo` does not exist in type `{name: string}`
f1(bob, {name: "Charlie"}); // OKAY
f1(bob, {foo: "bob", name: "Charlie"}); // <----- OKAY??

Expected behavior:
There should be an excess property error at the line:
f1(bob, {foo: "bob", name: "Charlie"}); // <----- OKAY??

Actual behavior:
The compiler allows it.
Playground Link: Playground
Related Issues:

I belive this is the expected behavior (at least this is behavior I have depended on heavily). If the parameter type is said to extend a type then excess property checks are not triggered since the constraint acts as the minimum requirements for that type but do not set any sort of upper limit on what that type could be.
If you use the type directly as in f0 that will trigger excess property checks. You can probably use some conditional types if you want to trigger an error on excess properties in this case.

@dragomirtitian I cannot speak for whether this behaviour is intentional, but your workaround definitely works (thanks!)
Given the clue that it was the generic extends that was disabling the excess property checks, I was able to minimize the code sample further:
interface User {
    name: string;
}

function f0<Dict extends User>(dict: Dict) {
}

f0({ foo: "bar" }); // ERROR
f0({ name: "Bob" }); // OKAY
f0({ foo: "bar", name: "Bob" }); // NO ERROR

type Strict1<A, B> = Exclude<keyof A, keyof B> extends never ? {} : never;

function f1<Dict extends User>(dict: Dict & Strict1<Dict, User>) {
}

f1({ foo: "bar" }); // ERROR
f1({ name: "Bob" }); // OKAY
f1({ foo: "bar", name: "Bob" }); // ERROR

Looking further, I was able to improve the ergonomics of the Strict type by removing the need to intersect one of the parameters:
type Strict2<A, B> = Exclude<keyof A, keyof B> extends never ? A : never;

function f2<Dict extends User>(dict: Strict2<Dict, User>) {
}

f2({ foo: "bar" }); // ERROR
f2({ name: "Bob" }); // OKAY
f2({ foo: "bar", name: "Bob" }); // ERROR

This version was good, but I wasn't quite satisfied with the error message:
f2({ foo: "bar", name: "Bob" }); // Type 'string' is not assignable to type 'never'.

Which brings me to the final version which restores the proper error message:
type Strict3<A, B> = Exclude<keyof A, keyof B> extends never ? A : B;

function f3<Dict extends User>(dict: Strict3<Dict, User>) {
}

f3({ foo: "bar" }); // ERROR
f3({ name: "Bob" }); // OKAY
f3({ foo: "bar", name: "Bob" }); // ERROR

The error message is decent:
f3({ foo: "bar", name: "Bob" });

// Argument of type '{ foo: string; name: string; }' is not assignable to parameter of type 'User'.
//   Object literal may only specify known properties, and 'foo' does not exist in type 'User'.

I'll leave this open if someone from the TS team wants to chime in about intent, but the workaround is sufficient for my needs.

This is the intended behavior.
The excess property checks occur after generic inference, which is why you see an error on the first call - inference failed, so we fell back to the constraint type for the purposes of error reporting, and the object literal's property is in excess of the constraint type.


Can't addOverlay

Hi,
Using create-react-app with hooks. Map loads well, but calling addOverlay doesn't seem to work. The blue-fot.png is on public folder root.
`
const aref = useRef();
const featureCollection = {
type: 'FeatureCollection',
features: [
{
geometry: {
type: 'Point',
coordinates: [13.6, 47.23, 2500],
},
type: 'Feature',
id: 0,
properties: {
image: './blue-dot.png',
},
},
],
};
useEffect(() => {
console.log(aref);
if (aref.current) {
// @ts-ignore
aref.current.addOverlay(featureCollection);
console.log('addd');
// @ts-ignore
// aref.current.onOverlayAdded = function (name) {
//   console.log('Overlay added:', name);
// };
}
}, [aref]);
...
<ProceduralMap
ref={aref}
datasource={datasource}
compassVisible={false}
displayLocation={{
latitude: 47.23,
longitude: 13.6,
}}
/>
`

Could you share a jsfiddle or some other sort of live example?

This is the current ProceduralMap object I get from react component

As you can see there are lots of functions missing like onOverlayAdded...etc.
I can add a Basic Line, but can't add marker and text marker or image markers, following the same logic on the documentation.

I've updated the example repo to show adding an overlay and responding to clicks on features. It works fine for me with an image marker.
The relevant part is here:
export default class Example extends React.Component {
  constructor( props ) {
    super( props );
    this.map = React.createRef();
  }

  componentDidMount() {
    // Once map is initialized add an overlay
    const map = this.map.current;
    map.addOverlay( overlay );
  }

  render() {
    return React.createElement( ProceduralMap, {
      ref: this.map,
      datasource,

      // Configure UI elements to show
      compassVisible: true,

      // Configure initial map location
      displayLocation: {
        latitude: 47.25,
        longitude: 13.56
      },

      // Define callbacks
      onFeatureClicked: id => {
        // The id passed here is defined in the overlay
        const map = this.map.current;

        // Simply focus on the feature when clicked
        map.focusOnFeature( id );
      }
    } );
  }
}

As to your other point, the onOverlayAdded etc functions are missing because you haven't defined them. They are callbacks that you define on the map component. If they are not defined then it is expected that they will not be present and thus they won't get called. Again, see the above example to see how to define these.

Hum...strange, I'm using React with hooks. I'm unable to get the same results:
`
import overlay from "overlay.js"
.
.
const component =()=>{
.
.
.
const NASADEM_APIKEY = 'xxxxxxxxxxxxxxx';
const MAPTILER_APIKEY = 'xxxxxxxxxxx';
const datasource = {
elevation: {
apiKey: NASADEM_APIKEY,
},
imagery: {
apiKey: MAPTILER_APIKEY,
urlFormat: 'https://api.maptiler.com/tiles/satellite/{z}/{x}/{y}.jpg?key={apiKey}',
attribution:
'Maptiler OpenStreetMap contributors',
},
};
const aref = createRef();
useEffect(() => {
if (aref.current) {
aref.current.addOverlay(overlay);
  aref.current.onOverlayAdded = function (name) {
    console.log('Overlay added:', name);
  };
}

}, []);
return (

<ProceduralMap
ref={aref}
datasource={datasource}
compassVisible={false}
displayLocation={{
latitude: 47.25,
longitude: 13.56,
}}
/>

);
};`
I can see the maps, but no added custom overlay. This same approach works with the basic line however.

Without seeing what you have in overlay.js I can't help debug this. That why it would be useful to be able to take a look at a live example. My guess is that there is something wrong with the overlay you've defined

Sorry, I'm using the exact same overlay.js file you have here: https://github.com/felixpalmer/procedural-gl-react-example/blob/main/overlay.js

Ok, so I found a solution, but I think this should be included on documentation or the component itself.
The font awesome css was missing on my index.html
   <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet">


Wrong auto-generated class for Modals when the code is minified

Short description of the problem:
When the js code is minified is losing the Class Name that is used to generate the class given to ion-page
What behavior are you expecting?
Have a unified way to target the ion-page generated from a Modal in any way (having js code minified or not).
Steps to reproduce:

Create a component that will be consumed as a Modal
Present the modal to the NavController
Minify your js code
Open the modal in the browser and inspect the autogenerated class given to the <ion-page> element.

The code that auto-generates the class for Ionic Modal is here:
https://github.com/driftyco/ionic/blob/master/src/components/modal/modal-component.ts#L48
This should be updated so the class can be generated from a string value assigned from the component rather than the name of the Component that is lost during minification.
Which Ionic Version? 1.x or 2.x
2.0.0-beta.10
Plunker that shows an example of your issue
http://plnkr.co/edit/x7f7RN?p=preview
if you click Open Modal button, a Modal using SamplePage Class will be rendered and the ion-page will be:
<ion-page _ngcontent-nsh-11="" class="show-page sample-page">
When the code is minified the same element will be:
<ion-page _ngcontent-nsh-11="" class="show-page e">

Hello! With our new build that implements AOT compile and tree shaking minification will no longer be needed. Because of this I will be closing this issue for now. Thanks for using Ionic!


feat: add support for non-derived one-to-many relations

Currently you can define one-to-many relations using @derivedFrom directive. Using it the field on the entity is just virtual field that gets filled in at query time using lookup on the derived entity's column.
This PR adds support for non-derived one-to-many relations - this field needs to be filled in by writers to be usable. You specify ID's of referenced entity and those will be filled in with full object at query time.

Would that make it possible to query a subquery like this?
query {
  space(id: "0x123") {
      id
      proposals (where: { vote_count_gt: 10 }}) {
        id
      }
  }
}

Not at the moment, although I could add that I think. This was added to support executions on Starknet which didn't require filters like this.
This is unrelated to this PR though.


feat: offline billing accounts in org

Offline billing accounts are not registered in billing provider like Stripe by default.
Only online b/a can use CheckoutAPI so when requesting to create new Checkout, it will automatically try to register the billing account to provider if it is offline
DelegatedCheckout with virtual credits can be used with offline customers
Offline customers will not interact with billing provider at all and can't support subscriptions as well
A offline customer can be migrated to online using RegisterBillingAccount API
https://github.com/raystack/proton/pull/360
A change in frontier env/yaml configs are introduced to handle offline accounts better

billing:
  # default currency to be used for billing if not provided by the user
  # e.g. usd, inr, eur
  default_currency: "inr"
  # billing customer account configuration
  customer:
    # automatically create a default customer account when an org is created
    auto_create_with_org: true
    # name of the plan that should be used subscribed automatically when the org is created
    # it also automatically creates an empty billing account under the org
    default_plan: ""
    # default offline status for the customer account, if true the customer account
    # will not be registered in billing provider
    default_offline: false
    # free credits to be added to the customer account when created as a part of the org
    onboard_credits_with_org: 0

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

12 of 1824 (0.66%)  changed or added relevant lines in 13 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.04%) to 9.38%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

billing/subscription/service.go
0
1
0.0%

billing/customer/customer.go
0
3
0.0%

billing/checkout/service.go
0
4
0.0%

internal/store/postgres/billing_customer_repository.go
10
14
71.43%

pkg/server/interceptors/authorization.go
0
4
0.0%

internal/api/v1beta1/billing_customer.go
0
12
0.0%

core/event/service.go
0
21
0.0%

proto/v1beta1/frontier_grpc.pb.go
0
26
0.0%

billing/customer/service.go
0
30
0.0%

internal/api/v1beta1/mocks/customer_service.go
0
50
0.0%

Files with Coverage Reduction
New Missed Lines
%

internal/api/v1beta1/mocks/customer_service.go
1
10.34%

Totals

Change from base Build<PHONE_NUMBER>:
0.04%

Covered Lines:
9638

Relevant Lines:
102755

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

12 of 1838 (0.65%)  changed or added relevant lines in 14 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.04%) to 9.381%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

billing/subscription/service.go
0
1
0.0%

cmd/serve.go
0
1
0.0%

billing/customer/customer.go
0
3
0.0%

billing/checkout/service.go
0
4
0.0%

internal/store/postgres/billing_customer_repository.go
10
14
71.43%

pkg/server/interceptors/authorization.go
0
4
0.0%

internal/api/v1beta1/billing_customer.go
0
12
0.0%

proto/v1beta1/frontier_grpc.pb.go
0
26
0.0%

billing/customer/service.go
0
30
0.0%

core/event/service.go
0
34
0.0%

Files with Coverage Reduction
New Missed Lines
%

internal/api/v1beta1/mocks/customer_service.go
1
10.34%

Totals

Change from base Build<PHONE_NUMBER>:
0.04%

Covered Lines:
9641

Relevant Lines:
102770

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

12 of 1838 (0.65%)  changed or added relevant lines in 14 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.04%) to 9.381%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

billing/subscription/service.go
0
1
0.0%

cmd/serve.go
0
1
0.0%

billing/customer/customer.go
0
3
0.0%

billing/checkout/service.go
0
4
0.0%

internal/store/postgres/billing_customer_repository.go
10
14
71.43%

pkg/server/interceptors/authorization.go
0
4
0.0%

internal/api/v1beta1/billing_customer.go
0
12
0.0%

proto/v1beta1/frontier_grpc.pb.go
0
26
0.0%

billing/customer/service.go
0
30
0.0%

core/event/service.go
0
34
0.0%

Files with Coverage Reduction
New Missed Lines
%

internal/api/v1beta1/mocks/customer_service.go
1
10.34%

Totals

Change from base Build<PHONE_NUMBER>:
0.04%

Covered Lines:
9641

Relevant Lines:
102770

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

514 of 5274 (9.75%)  changed or added relevant lines in 14 files are covered.
108 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.03%) to 9.312%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

billing/subscription/service.go
0
1
0.0%

cmd/serve.go
0
1
0.0%

billing/customer/customer.go
0
3
0.0%

billing/checkout/service.go
0
4
0.0%

internal/store/postgres/billing_customer_repository.go
10
14
71.43%

pkg/server/interceptors/authorization.go
0
16
0.0%

internal/api/v1beta1/billing_customer.go
1
31
3.23%

core/event/service.go
0
44
0.0%

billing/customer/service.go
0
52
0.0%

proto/v1beta1/frontier_grpc.pb.go
0
78
0.0%

Files with Coverage Reduction
New Missed Lines
%

internal/api/v1beta1/mocks/customer_service.go
1
8.52%

core/event/service.go
2
0.0%

proto/v1beta1/frontier.pb.go
105
5.78%

Totals

Change from base Build<PHONE_NUMBER>:
-0.03%

Covered Lines:
9642

Relevant Lines:
103546

💛  - Coveralls


Support YAML parsing for Eth2.0 tests

https://github.com/ethereum/eth2.0-specs/blob/master/specs/test-format.md

https://github.com/ConsenSys/cava/pull/169 implements some of this functionality within Cava to run the Eth2 SSZ tests. I believe we should run them independently against our own data types in Artemis, and that it would be prudent to add https://github.com/ethereum/eth2.0-tests as a submodule in our own project so our client is tested against the reference tests as well. This PR is therefore being left open to track that work.


Test standalone/packages_file_test is too slow

The packages tests are too slow (see below)
0:03:46.597755 - vm - none-vm debug_x64/standalone/packages_file_test/10
0:03:20.432422 - vm - none-vm debug_x64/standalone/packages_file_test/13
0:03:19.418986 - vm - none-vm debug_x64/standalone/packages_file_test/15
0:03:09.938428 - vm - none-vm debug_x64/standalone/packages_file_test/11
0:02:38.387243 - vm - none-vm debug_x64/standalone/packages_file_test/14
0:02:30.449558 - vm - none-vm debug_x64/standalone/packages_file_test/12
0:02:29.233065 - vm - none-vm debug_x64/standalone/packages_file_test/17
0:02:27.671753 - vm - none-vm debug_x64/standalone/packages_file_test/16
0:01:01.441193 - vm - none-vm debug_x64/standalone/packages_file_test/03
0:01:00.552346 - vm - none-vm debug_x64/standalone/packages_file_test/05
0:01:00.036965 - vm - none-vm debug_x64/standalone/packages_file_test/06
0:00:53.149272 - vm - none-vm debug_x64/standalone/packages_file_test/02
0:00:51.604234 - vm - none-vm debug_x64/standalone/packages_file_test/04
0:00:47.935153 - vm - none-vm debug_x64/standalone/packages_file_test/01

@a-siva @lrhn

https://codereview.chromium.org/2072793002

Afaik Lasse already spent a significant amount of time improving the tests (and splitting them).
The test needs to spawn new isolates and new instances of the VM. I don't think there is much that can be done to avoid that. (Last time I saw Lasse, he was still working on an improvement that reused VMs, but I think that's already in).
Couldn't you just skip the tests in debug mode instead of disabling them in every mode?
@a-siva Lasse already spent weeks writing these tests. If you ever run into issues isolating the failure we will be happy to help figuring out what the exact problem is. I would prefer not spending more time on them.

@floitschG AFAIK Lasse has not landed the reused VMs change. There is also the issue of the complexity of these tests.


feature: self-centering for scroll-view content

Adds a new directive 'self-center'={boolean} which enables to center align the content (in x or y direction) when the content dimension is less than the client dimension.
Best use would be in an image viewer with zoom enabled.
I don't know how to present this using codepen but as an alternative, this modified sample project might be apt.  https://www.dropbox.com/s/9dmu8659b2kt2ae/www - Copy.zip?dl=0
Changes made to zynga-scroller code
Copied respective codes to ionic.js, ionic-angular.js and ionic-bundle.js. minified versions weren't modified

I believe this is too specific of a use case to add to the core. I've added it to our feature request Trello Board though: https://trello.com/c/6TRMpNqU/87-allow-automatic-centering-in-js-scrolling
If a handful of people vote for it, I'll reconsider.
We're going to be rolling out an ecosystem for "ions", add on components for specific use cases of ionic components. I think this will probably be better as an ion. Stay tuned for more info on that.

+1


How to set width and height of video with custom aspect ratio?

I found that the video element has a finxed aspect ratio,for example, I want to show the video as width 400px and height 200px, but it just shows 200px and left blank in width.
Could someone help me? Is it possible to set my coustom aspect ratio?

Browsers have a fixed set of resolution results that can be delivered. The best way you can do this would be to get a stream of a size larger than you'd like to display and use css to size and crop the video to what you need.

@xdumaine got it..thanks!


HADOOP-18933. upgrade to netty 4.1.100 due to CVE (#6173)

Description of PR
Mitigates Netty security advisory GHSA-xpw8-rcwv-8f8p "HTTP/2 Rapid Reset Attack - DDoS vector in the HTTP/2 protocol due RST frames"
Also mitigates https://github.com/advisories/GHSA-6mjq-h674-j845
Contributed by PJ Fanning
HADOOP-18933
HADOOP-18783
How was this patch tested?
For code changes:

[x] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[x] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
5m 24s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+0 :ok:
xmllint
0m  0s

xmllint was not available.

+0 :ok:
shelldocs
0m  0s

Shelldocs was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ branch-3.3 Compile Tests _

+0 :ok:
mvndep
15m  9s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
22m 42s

branch-3.3 passed

+1 :green_heart:
compile
12m  3s

branch-3.3 passed

+1 :green_heart:
mvnsite
19m 20s

branch-3.3 passed

+1 :green_heart:
javadoc
5m  1s

branch-3.3 passed

+1 :green_heart:
shadedclient
27m 24s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
1m  5s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
21m 46s

the patch passed

+1 :green_heart:
compile
11m 35s

the patch passed

+1 :green_heart:
javac
11m 35s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
mvnsite
15m  9s

the patch passed

+1 :green_heart:
shellcheck
0m  0s

No new issues.

+1 :green_heart:
javadoc
4m 52s

the patch passed

+1 :green_heart:
shadedclient
27m 59s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
357m 17s
/patch-unit-root.txt
root in the patch failed.

+1 :green_heart:
asflicense
1m  1s

The patch does not generate ASF License warnings.

541m 48s

Reason
Tests

Failed junit tests
hadoop.hdfs.tools.TestDFSAdmin

hadoop.hdfs.server.datanode.TestDirectoryScanner

hadoop.hdfs.server.namenode.ha.TestHAAppend

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6224/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/6224

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint shellcheck shelldocs

uname
Linux 05482f68292c 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-3.3 / 01e126d72fb150cafd7b3884fe802bf3d9b89520

Default Java
Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~18.04-b09

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6224/1/testReport/

Max. process+thread count
3390 (vs. ulimit of 5500)

modules
C: hadoop-project . U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6224/1/console

versions
git=2.17.1 maven=3.6.0 shellcheck=0.4.6

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 26s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+0 :ok:
xmllint
0m  0s

xmllint was not available.

+0 :ok:
shelldocs
0m  0s

Shelldocs was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ branch-3.3 Compile Tests _

+0 :ok:
mvndep
14m 28s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
22m 43s

branch-3.3 passed

+1 :green_heart:
compile
12m  5s

branch-3.3 passed

+1 :green_heart:
mvnsite
19m 19s

branch-3.3 passed

+1 :green_heart:
javadoc
5m  2s

branch-3.3 passed

+1 :green_heart:
shadedclient
31m 30s

branch has no errors when building and testing our client artifacts.

-0 :warning:
patch
31m 48s

Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 58s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
22m 10s

the patch passed

+1 :green_heart:
compile
11m 34s

the patch passed

+1 :green_heart:
javac
11m 34s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
mvnsite
14m 58s

the patch passed

+1 :green_heart:
shellcheck
0m  0s

No new issues.

+1 :green_heart:
javadoc
4m 53s

the patch passed

+1 :green_heart:
shadedclient
28m  8s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
357m 16s
/patch-unit-root.txt
root in the patch failed.

+1 :green_heart:
asflicense
1m  1s

The patch does not generate ASF License warnings.

540m 48s

Reason
Tests

Failed junit tests
hadoop.yarn.server.nodemanager.containermanager.logaggregation.TestLogAggregationService

hadoop.yarn.server.timelineservice.security.TestTimelineAuthFilterForV2

hadoop.hdfs.server.datanode.TestDataNodeRollingUpgrade

hadoop.hdfs.server.blockmanagement.TestReconstructStripedBlocksWithRackAwareness

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6224/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/6224

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint shellcheck shelldocs

uname
Linux f5134abf4a17 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-3.3 / c155210af6f3d635f2c5ef6f817451efdeed2572

Default Java
Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~18.04-b09

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6224/2/testReport/

Max. process+thread count
3467 (vs. ulimit of 5500)

modules
C: hadoop-project . U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6224/2/console

versions
git=2.17.1 maven=3.6.0 shellcheck=0.4.6

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

LGTM.

@slfan1989 / @tomscut anyone hitting the merge button?


Add dataloader2 creators

Codecov Report
Patch coverage is 100.00% of modified lines.

Files Changed
Coverage

src/gravitorch/creators/dataloader2/__init__.py
100.00%

src/gravitorch/creators/dataloader2/base.py
100.00%

src/gravitorch/creators/dataloader2/vanilla.py
100.00%

:loudspeaker: Thoughts on this report? Let us know!.


Errors in Generate PyTorch model from code snippet file and weight file

Platform: ubuntu 16.04
Python version: 3.6.5 :: Anaconda
Source framework with version: mxnet
Destination framework with version: PyTorch-CPU 0.4.1
Pre-trained model path (webpath or webdisk path): https://pan.baidu.com/s/1mj6X7MK
Running scripts:

mmtoir -f mxnet -n model-r50-am-lfw/model-sym bol.json -w model-r50-am-lfw/model-0000.params -d faceVer --inputShape 3,112,112;
mmtocode -f pytorch -n faceVer.pb --IRWeightP ath faceVer.npy --dstModelPath faceVer.py -dw pytorch_faceVer.npy;
mmtomodel -f pytorch -n faceVer.py -w pytorch_faceVer.npy --dump pytorch_faceVer.pth.

After reading the source code, I realized that there is a bug in the tutorial of PyTorch conversion. Therefore, I alerted my code to:
mmtomodel -f pytorch -in faceVer.py -iw pytor ch_faceVer.npy -o pytorch_faceVer.pth
The traceback of the error is:

Traceback (most recent call last):
File "/home/ubuntu/anaconda3/bin/mmtomodel", line 11, in
sys.exit(_main())
File "/home/ubuntu/anaconda3/lib/python3.6/site-packages/mmdnn/conversion/_script/dump_code.py", line 79, in _main
ret = dump_code(args.framework, args.inputNetwork, args.inputWeight, args.outputModel, args.dump_tag)
File "/home/ubuntu/anaconda3/lib/python3.6/site-packages/mmdnn/conversion/_script/dump_code.py", line 32, in dump_code
save_model(MainModel, network_filepath, weight_filepath, dump_filepath)
File "/home/ubuntu/anaconda3/lib/python3.6/site-packages/mmdnn/conversion/pytorch/saver.py", line 5, in save_model
model = MainModel.KitModel(weight_filepath)
File "faceVer.py", line 161, in init
self.fc1 = self.__batch_normalization(0, 'fc1', num_features=512, eps=1.9999999494757503e-05, momentum=0.8999999761581421)
File "faceVer.py", line 381, in __batch_normalization
else:           raise NotImplementedError()
NotImplementedError

Thank you.

Hi, may I ask if someone is seeing it?


Create a script that loops all payouts for an epoch in a single command

Currently, we need to send manually via:
npm run build && node build/src/main.js 0 39 15

where the arguments are the index, epoch and feePayerNonce. We can simply loop through the (number of delegators + 1 )/8 to create all these transactions in a single command.

#26 can be used as a basis for quickly testing an epoch rewards


Add support Jetty's System.inheritedChannel option

Thanks for contributing! I've added some comments about documentation, but in general the patch looks good. Could you update the release notes? This would make easier for users to track this change. Please, also squash your commits into the single commit.

I fixed it.
Please review.

I agree.
Please review again.

I fixed it.
Please review again.

Thanks, @matsumana, for patience and thorough contribution!

Thank you for merge!
When will 1.0.0 be released?

I can't give you a strict ETA, because 1.0.0 is still being actively developed. But major features have already been contributed, so, I think, we could make a release candidate in the end of January. I will discuss this with the rest of the core team.
For the time being, you can use Dropwizard snapshots from the Sonatype's OSS repository. We publish them automatically after every succesfull build in the master branch.
Thank you for using Dropwizard.

I see. Thank you!


创建datasource报错

大佬，我创建datasource报下面的错，请问怎么处理哇
Plugin Error
Fetch error: 404 Not Found Instantiating https://XXXXXX/public/@grafana/data Loading https://XXXXX/public/plugins/autohome-comparequeries-datasource/module.js Loading plugins/autohome-comparequeries-datasource/module
Grafana版本：v5.2.1

是下载的源码到插件目录么

是下载的源码到插件目录么

是的

是下载的源码到插件目录么

是下载的源码到插件目录么

grafana后台也显示有这个插件了

是下载的源码到插件目录么
创建datasource报的错，v1.0.0和v1.0.1这2个版本都试过了，都会报下面的错误

我试了下5.2.1，没有复现问题
1、你看下报了哪些js错误
2、试下其他开源数据源看下是不是有相同问题

我试了下5.2.1，没有复现问题
1、你看下报了哪些js错误 2、试下其他开源数据源看下是不是有相同问题

js 报的错误，试了下其他的开源插件，没有报404，能否贴下grafana.ini配置文件？我发现我换了6.2.5版本也是报同样的问题，感觉是我的grafana配置有问题

没有特殊配置，主要修改了[paths][server][database][session]几个节点
##################### Grafana Configuration Example #####################
#
# Everything has defaults so you only need to uncomment things you want to
# change

# possible values : production, development
;app_mode = production

# instance name, defaults to HOSTNAME environment variable value or hostname if HOSTNAME var is empty
;instance_name = ${HOSTNAME}

#################################### Paths ####################################
[paths]
# Path to where grafana can store temp files, sessions, and the sqlite3 db (if that is used)
data = /data/grafana/5.2.1/data

# Directory where grafana can store logs
logs = /data/grafana/5.2.1/log

# Directory where grafana will automatically scan and look for plugins
plugins = /data/grafana/5.2.1/plugins

# folder that contains provisioning config files that grafana will apply on startup and while running.
;provisioning = conf/provisioning

#################################### Server ####################################
[server]
domain = autohome.com.cn
# Protocol (http, https, socket)
protocol = http

# The ip address to bind to, empty will bind to all interfaces
;http_addr =

# The http port  to use
;http_port = 3000

# The public facing domain name used to access grafana from a browser
;domain = localhost

# Redirect to correct domain if host header does not match domain
# Prevents DNS rebinding attacks
;enforce_domain = false

# The full public facing url you use in browser, used for redirects and emails
# If you use reverse proxy and sub path specify full url (with sub path)
root_url = %(protocol)s://%(domain)s/

# Log web requests
;router_logging = false

# the path relative working path
;static_root_path = public

# enable gzip
;enable_gzip = false

# https certs & key file
;cert_file =
;cert_key =

# Unix socket path
;socket =

#################################### Database ####################################
[database]
# You can configure the database connection by specifying type, host, name, user and password
# as separate properties or as on string using the url properties.

# Either "mysql", "postgres" or "sqlite3", it's your choice
type = mysql
host = xxx.autohome.com.cn:3307
name = xxx
user = xxx
# If the password contains # or ; you have to wrap it with triple quotes. Ex """#password;"""
password = """xxxxxx"""

# Use either URL or the previous fields to configure the database
# Example: mysql://user:secret@host:port/database
;url =

# For "postgres" only, either "disable", "require" or "verify-full"
;ssl_mode = disable

# For "sqlite3" only, path relative to data_path setting
;path = grafana.db

# Max idle conn setting default is 2
;max_idle_conn = 2

# Max conn setting default is 0 (mean not set)
;max_open_conn =

# Connection Max Lifetime default is 14400 (means 14400 seconds or 4 hours)
;conn_max_lifetime = 14400

# Set to true to log the sql calls and execution times.
log_queries =

#################################### Session ####################################
[session]
# Either "memory", "file", "redis", "mysql", "postgres", default is "file"
;provider = file

# Provider config options
# memory: not have any config yet
# file: session dir path, is relative to grafana data_path
# redis: config like redis server e.g. `addr=<IP_ADDRESS>:6379,pool_size=100,db=grafana`
# mysql: go-sql-driver/mysql dsn config string, e.g. `user:password@tcp(<IP_ADDRESS>:3306)/database_name`
# postgres: user=a password=b host=localhost port=5432 dbname=c sslmode=disable
;provider_config = sessions

# Session cookie name
;cookie_name = grafana_sess

# If you use session in https only, default is false
;cookie_secure = false

# Session life time, default is 86400
;session_life_time = 86400

provider = mysql
provider_config = """xxx:xxx@tcp(xxxx.autohome.com.cn:3307)/xxxx"""
cookie_name = grafana_sess
cookie_secure = false
session_life_time = 2592000

#################################### Data proxy ###########################
[dataproxy]

# This enables data proxy logging, default is false
;logging = false

#################################### Analytics ####################################
[analytics]
# Server reporting, sends usage counters to stats.grafana.org every 24 hours.
# No ip addresses are being tracked, only simple counters to track
# running instances, dashboard and error counts. It is very helpful to us.
# Change this option to false to disable reporting.
;reporting_enabled = true

# Set to false to disable all checks to https://grafana.net
# for new vesions (grafana itself and plugins), check is used
# in some UI views to notify that grafana or plugin update exists
# This option does not cause any auto updates, nor send any information
# only a GET request to http://grafana.com to get latest versions
;check_for_updates = true

# Google Analytics universal tracking code, only enabled if you specify an id here
;google_analytics_ua_id =

#################################### Security ####################################
[security]
# default admin user, created on startup
;admin_user = admin

# default admin password, can be changed before first start of grafana,  or in profile settings
;admin_password = admin

# used for signing
;secret_key = SW2YcwTIb9zpOOhoPsMm

# Auto-login remember days
;login_remember_days = 7
;cookie_username = grafana_user
;cookie_remember_name = grafana_remember

# disable gravatar profile images
;disable_gravatar = false

# data source proxy whitelist (ip_or_domain:port separated by spaces)
;data_source_proxy_whitelist =

# disable protection against brute force login attempts
;disable_brute_force_login_protection = false

#################################### Snapshots ###########################
[snapshots]
# snapshot sharing options
;external_enabled = true
;external_snapshot_url = https://snapshots-origin.raintank.io
;external_snapshot_name = Publish to snapshot.raintank.io

# remove expired snapshot
;snapshot_remove_expired = true

#################################### Dashboards History ##################
[dashboards]
# Number dashboard versions to keep (per dashboard). Default: 20, Minimum: 1
;versions_to_keep = 20

#################################### Users ###############################
[users]
# disable user signup / registration
allow_sign_up = true

# Allow non admin users to create organizations
allow_org_create = true

# Set to true to automatically assign new users to the default organization (id 1)
auto_assign_org = true

# Default role new users will be automatically assigned (if disabled above is set to true)
auto_assign_org_role = Viewer

# Background text for the user field on the login page
login_hint = email or username

# Default UI theme ("dark" or "light")
default_theme = dark

# External user management, these options affect the organization users view
;external_manage_link_url =
;external_manage_link_name =
;external_manage_info =

# Viewers can edit/inspect dashboard settings in the browser. But not save the dashboard.
;viewers_can_edit = false

[auth]
# Set to true to disable (hide) the login form, useful if you use OAuth, defaults to false
;disable_login_form = false

# Set to true to disable the signout link in the side menu. useful if you use auth.proxy, defaults to false
;disable_signout_menu = false

#################################### Anonymous Auth ##########################
[auth.anonymous]
# enable anonymous access
enabled = true

# specify organization name that should be used for unauthenticated users
org_name = Main Org.

# specify role for unauthenticated users
org_role = Viewer

#################################### Github Auth ##########################
[auth.github]
;enabled = false
;allow_sign_up = true
;client_id = some_id
;client_secret = some_secret
;scopes = user:email,read:org
;auth_url = https://github.com/login/oauth/authorize
;token_url = https://github.com/login/oauth/access_token
;api_url = https://api.github.com/user
;team_ids =
;allowed_organizations =

#################################### Google Auth ##########################
[auth.google]
;enabled = false
;allow_sign_up = true
;client_id = some_client_id
;client_secret = some_client_secret
;scopes = https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email
;auth_url = https://accounts.google.com/o/oauth2/auth
;token_url = https://accounts.google.com/o/oauth2/token
;api_url = https://www.googleapis.com/oauth2/v1/userinfo
;allowed_domains =

#################################### Generic OAuth ##########################
[auth.generic_oauth]
;enabled = false
;name = OAuth
;allow_sign_up = true
;client_id = some_id
;client_secret = some_secret
;scopes = user:email,read:org
;auth_url = https://foo.bar/login/oauth/authorize
;token_url = https://foo.bar/login/oauth/access_token
;api_url = https://foo.bar/user
;team_ids =
;allowed_organizations =

#################################### Grafana.com Auth ####################
[auth.grafana_com]
;enabled = false
;allow_sign_up = true
;client_id = some_id
;client_secret = some_secret
;scopes = user:email
;allowed_organizations =

#################################### Auth Proxy ##########################
[auth.proxy]
;enabled = false
;header_name = X-WEBAUTH-USER
;header_property = username
;auto_sign_up = true
;ldap_sync_ttl = 60
;whitelist = <IP_ADDRESS>, <IP_ADDRESS>

#################################### Basic Auth ##########################
[auth.basic]
;enabled = true

#################################### Auth LDAP ##########################
[auth.ldap]
;enabled = false
;config_file = /etc/grafana/ldap.toml
;allow_sign_up = true

#################################### SMTP / Emailing ##########################
[smtp]
enabled = true
host = xxxx
user =xxxx
# If the password contains # or ; you have to wrap it with trippel quotes. Ex """#password;"""
password =xxxx
;cert_file =
;key_file =
;skip_verify = false
from_address = xxxx
from_name = Grafana
# EHLO identity in SMTP dialog (defaults to instance_name)
;ehlo_identity = dashboard.example.com

[emails]
;welcome_email_on_sign_up = false

#################################### Logging ##########################
[log]
# Either "console", "file", "syslog". Default is console and  file
# Use space to separate multiple modes, e.g. "console file"
;mode = console file

# Either "debug", "info", "warn", "error", "critical", default is "info"
;level = info

# optional settings to set different levels for specific loggers. Ex filters = sqlstore:debug
;filters =

# For "console" mode only
[log.console]
;level =

# log line format, valid options are text, console and json
;format = console

# For "file" mode only
[log.file]
;level =

# log line format, valid options are text, console and json
;format = text

# This enables automated log rotate(switch of following options), default is true
;log_rotate = true

# Max line number of single file, default is 1000000
;max_lines = 1000000

# Max size shift of single file, default is 28 means 1 << 28, 256MB
;max_size_shift = 28

# Segment log daily, default is true
;daily_rotate = true

# Expired days of log file(delete after max days), default is 7
;max_days = 7

[log.syslog]
;level =

# log line format, valid options are text, console and json
;format = text

# Syslog network type and address. This can be udp, tcp, or unix. If left blank, the default unix endpoints will be used.
;network =
;address =

# Syslog facility. user, daemon and local0 through local7 are valid.
;facility =

# Syslog tag. By default, the process' argv[0] is used.
;tag =

#################################### Alerting ############################
[alerting]
# Disable alerting engine & UI features
;enabled = true
# Makes it possible to turn off alert rule execution but alerting UI is visible
;execute_alerts = true

#################################### Internal Grafana Metrics ##########################
# Metrics available at HTTP API Url /metrics
[metrics]
# Disable / Enable internal metrics
;enabled           = true

# Publish interval
;interval_seconds  = 10

# Send internal metrics to Graphite
[metrics.graphite]
# Enable by setting the address setting (ex localhost:2003)
;address =
;prefix = prod.grafana.%(instance_name)s.

#################################### Distributed tracing ############
[tracing.jaeger]
# Enable by setting the address sending traces to jaeger (ex localhost:6831)
;address = localhost:6831
# Tag that will always be included in when creating new spans. ex (tag1:value1,tag2:value2)
;always_included_tag = tag1:value1
# Type specifies the type of the sampler: const, probabilistic, rateLimiting, or remote
;sampler_type = const
# jaeger samplerconfig param
# for "const" sampler, 0 or 1 for always false/true respectively
# for "probabilistic" sampler, a probability between 0 and 1
# for "rateLimiting" sampler, the number of spans per second
# for "remote" sampler, param is the same as for "probabilistic"
# and indicates the initial sampling rate before the actual one
# is received from the mothership
;sampler_param = 1

#################################### Grafana.com integration  ##########################
# Url used to to import dashboards directly from Grafana.com
[grafana_com]
;url = https://grafana.com

#################################### External image storage ##########################
[external_image_storage]
# Used for uploading images to public servers so they can be included in slack/email messages.
# you can choose between (s3, webdav, gcs, azure_blob, local)
;provider =

[external_image_storage.s3]
;bucket =
;region =
;path =
;access_key =
;secret_key =

[external_image_storage.webdav]
;url =
;public_url =
;username =
;password =

[external_image_storage.gcs]
;key_file =
;bucket =
;path =

[external_image_storage.azure_blob]
;account_name =
;account_key =
;container_name =

[external_image_storage.local]
# does not require any configuration

没有特殊配置，主要修改了[paths][server][database][session]几个节点
##################### Grafana Configuration Example #####################
#
# Everything has defaults so you only need to uncomment things you want to
# change

# possible values : production, development
;app_mode = production

# instance name, defaults to HOSTNAME environment variable value or hostname if HOSTNAME var is empty
;instance_name = ${HOSTNAME}

#################################### Paths ####################################
[paths]
# Path to where grafana can store temp files, sessions, and the sqlite3 db (if that is used)
data = /data/grafana/5.2.1/data

# Directory where grafana can store logs
logs = /data/grafana/5.2.1/log

# Directory where grafana will automatically scan and look for plugins
plugins = /data/grafana/5.2.1/plugins

# folder that contains provisioning config files that grafana will apply on startup and while running.
;provisioning = conf/provisioning

#################################### Server ####################################
[server]
domain = autohome.com.cn
# Protocol (http, https, socket)
protocol = http

# The ip address to bind to, empty will bind to all interfaces
;http_addr =

# The http port  to use
;http_port = 3000

# The public facing domain name used to access grafana from a browser
;domain = localhost

# Redirect to correct domain if host header does not match domain
# Prevents DNS rebinding attacks
;enforce_domain = false

# The full public facing url you use in browser, used for redirects and emails
# If you use reverse proxy and sub path specify full url (with sub path)
root_url = %(protocol)s://%(domain)s/

# Log web requests
;router_logging = false

# the path relative working path
;static_root_path = public

# enable gzip
;enable_gzip = false

# https certs & key file
;cert_file =
;cert_key =

# Unix socket path
;socket =

#################################### Database ####################################
[database]
# You can configure the database connection by specifying type, host, name, user and password
# as separate properties or as on string using the url properties.

# Either "mysql", "postgres" or "sqlite3", it's your choice
type = mysql
host = xxx.autohome.com.cn:3307
name = xxx
user = xxx
# If the password contains # or ; you have to wrap it with triple quotes. Ex """#password;"""
password = """xxxxxx"""

# Use either URL or the previous fields to configure the database
# Example: mysql://user:secret@host:port/database
;url =

# For "postgres" only, either "disable", "require" or "verify-full"
;ssl_mode = disable

# For "sqlite3" only, path relative to data_path setting
;path = grafana.db

# Max idle conn setting default is 2
;max_idle_conn = 2

# Max conn setting default is 0 (mean not set)
;max_open_conn =

# Connection Max Lifetime default is 14400 (means 14400 seconds or 4 hours)
;conn_max_lifetime = 14400

# Set to true to log the sql calls and execution times.
log_queries =

#################################### Session ####################################
[session]
# Either "memory", "file", "redis", "mysql", "postgres", default is "file"
;provider = file

# Provider config options
# memory: not have any config yet
# file: session dir path, is relative to grafana data_path
# redis: config like redis server e.g. `addr=<IP_ADDRESS>:6379,pool_size=100,db=grafana`
# mysql: go-sql-driver/mysql dsn config string, e.g. `user:password@tcp(<IP_ADDRESS>:3306)/database_name`
# postgres: user=a password=b host=localhost port=5432 dbname=c sslmode=disable
;provider_config = sessions

# Session cookie name
;cookie_name = grafana_sess

# If you use session in https only, default is false
;cookie_secure = false

# Session life time, default is 86400
;session_life_time = 86400

provider = mysql
provider_config = """xxx:xxx@tcp(xxxx.autohome.com.cn:3307)/xxxx"""
cookie_name = grafana_sess
cookie_secure = false
session_life_time = 2592000

#################################### Data proxy ###########################
[dataproxy]

# This enables data proxy logging, default is false
;logging = false

#################################### Analytics ####################################
[analytics]
# Server reporting, sends usage counters to stats.grafana.org every 24 hours.
# No ip addresses are being tracked, only simple counters to track
# running instances, dashboard and error counts. It is very helpful to us.
# Change this option to false to disable reporting.
;reporting_enabled = true

# Set to false to disable all checks to https://grafana.net
# for new vesions (grafana itself and plugins), check is used
# in some UI views to notify that grafana or plugin update exists
# This option does not cause any auto updates, nor send any information
# only a GET request to http://grafana.com to get latest versions
;check_for_updates = true

# Google Analytics universal tracking code, only enabled if you specify an id here
;google_analytics_ua_id =

#################################### Security ####################################
[security]
# default admin user, created on startup
;admin_user = admin

# default admin password, can be changed before first start of grafana,  or in profile settings
;admin_password = admin

# used for signing
;secret_key = SW2YcwTIb9zpOOhoPsMm

# Auto-login remember days
;login_remember_days = 7
;cookie_username = grafana_user
;cookie_remember_name = grafana_remember

# disable gravatar profile images
;disable_gravatar = false

# data source proxy whitelist (ip_or_domain:port separated by spaces)
;data_source_proxy_whitelist =

# disable protection against brute force login attempts
;disable_brute_force_login_protection = false

#################################### Snapshots ###########################
[snapshots]
# snapshot sharing options
;external_enabled = true
;external_snapshot_url = https://snapshots-origin.raintank.io
;external_snapshot_name = Publish to snapshot.raintank.io

# remove expired snapshot
;snapshot_remove_expired = true

#################################### Dashboards History ##################
[dashboards]
# Number dashboard versions to keep (per dashboard). Default: 20, Minimum: 1
;versions_to_keep = 20

#################################### Users ###############################
[users]
# disable user signup / registration
allow_sign_up = true

# Allow non admin users to create organizations
allow_org_create = true

# Set to true to automatically assign new users to the default organization (id 1)
auto_assign_org = true

# Default role new users will be automatically assigned (if disabled above is set to true)
auto_assign_org_role = Viewer

# Background text for the user field on the login page
login_hint = email or username

# Default UI theme ("dark" or "light")
default_theme = dark

# External user management, these options affect the organization users view
;external_manage_link_url =
;external_manage_link_name =
;external_manage_info =

# Viewers can edit/inspect dashboard settings in the browser. But not save the dashboard.
;viewers_can_edit = false

[auth]
# Set to true to disable (hide) the login form, useful if you use OAuth, defaults to false
;disable_login_form = false

# Set to true to disable the signout link in the side menu. useful if you use auth.proxy, defaults to false
;disable_signout_menu = false

#################################### Anonymous Auth ##########################
[auth.anonymous]
# enable anonymous access
enabled = true

# specify organization name that should be used for unauthenticated users
org_name = Main Org.

# specify role for unauthenticated users
org_role = Viewer

#################################### Github Auth ##########################
[auth.github]
;enabled = false
;allow_sign_up = true
;client_id = some_id
;client_secret = some_secret
;scopes = user:email,read:org
;auth_url = https://github.com/login/oauth/authorize
;token_url = https://github.com/login/oauth/access_token
;api_url = https://api.github.com/user
;team_ids =
;allowed_organizations =

#################################### Google Auth ##########################
[auth.google]
;enabled = false
;allow_sign_up = true
;client_id = some_client_id
;client_secret = some_client_secret
;scopes = https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email
;auth_url = https://accounts.google.com/o/oauth2/auth
;token_url = https://accounts.google.com/o/oauth2/token
;api_url = https://www.googleapis.com/oauth2/v1/userinfo
;allowed_domains =

#################################### Generic OAuth ##########################
[auth.generic_oauth]
;enabled = false
;name = OAuth
;allow_sign_up = true
;client_id = some_id
;client_secret = some_secret
;scopes = user:email,read:org
;auth_url = https://foo.bar/login/oauth/authorize
;token_url = https://foo.bar/login/oauth/access_token
;api_url = https://foo.bar/user
;team_ids =
;allowed_organizations =

#################################### Grafana.com Auth ####################
[auth.grafana_com]
;enabled = false
;allow_sign_up = true
;client_id = some_id
;client_secret = some_secret
;scopes = user:email
;allowed_organizations =

#################################### Auth Proxy ##########################
[auth.proxy]
;enabled = false
;header_name = X-WEBAUTH-USER
;header_property = username
;auto_sign_up = true
;ldap_sync_ttl = 60
;whitelist = <IP_ADDRESS>, <IP_ADDRESS>

#################################### Basic Auth ##########################
[auth.basic]
;enabled = true

#################################### Auth LDAP ##########################
[auth.ldap]
;enabled = false
;config_file = /etc/grafana/ldap.toml
;allow_sign_up = true

#################################### SMTP / Emailing ##########################
[smtp]
enabled = true
host = xxxx
user =xxxx
# If the password contains # or ; you have to wrap it with trippel quotes. Ex """#password;"""
password =xxxx
;cert_file =
;key_file =
;skip_verify = false
from_address = xxxx
from_name = Grafana
# EHLO identity in SMTP dialog (defaults to instance_name)
;ehlo_identity = dashboard.example.com

[emails]
;welcome_email_on_sign_up = false

#################################### Logging ##########################
[log]
# Either "console", "file", "syslog". Default is console and  file
# Use space to separate multiple modes, e.g. "console file"
;mode = console file

# Either "debug", "info", "warn", "error", "critical", default is "info"
;level = info

# optional settings to set different levels for specific loggers. Ex filters = sqlstore:debug
;filters =

# For "console" mode only
[log.console]
;level =

# log line format, valid options are text, console and json
;format = console

# For "file" mode only
[log.file]
;level =

# log line format, valid options are text, console and json
;format = text

# This enables automated log rotate(switch of following options), default is true
;log_rotate = true

# Max line number of single file, default is 1000000
;max_lines = 1000000

# Max size shift of single file, default is 28 means 1 << 28, 256MB
;max_size_shift = 28

# Segment log daily, default is true
;daily_rotate = true

# Expired days of log file(delete after max days), default is 7
;max_days = 7

[log.syslog]
;level =

# log line format, valid options are text, console and json
;format = text

# Syslog network type and address. This can be udp, tcp, or unix. If left blank, the default unix endpoints will be used.
;network =
;address =

# Syslog facility. user, daemon and local0 through local7 are valid.
;facility =

# Syslog tag. By default, the process' argv[0] is used.
;tag =

#################################### Alerting ############################
[alerting]
# Disable alerting engine & UI features
;enabled = true
# Makes it possible to turn off alert rule execution but alerting UI is visible
;execute_alerts = true

#################################### Internal Grafana Metrics ##########################
# Metrics available at HTTP API Url /metrics
[metrics]
# Disable / Enable internal metrics
;enabled           = true

# Publish interval
;interval_seconds  = 10

# Send internal metrics to Graphite
[metrics.graphite]
# Enable by setting the address setting (ex localhost:2003)
;address =
;prefix = prod.grafana.%(instance_name)s.

#################################### Distributed tracing ############
[tracing.jaeger]
# Enable by setting the address sending traces to jaeger (ex localhost:6831)
;address = localhost:6831
# Tag that will always be included in when creating new spans. ex (tag1:value1,tag2:value2)
;always_included_tag = tag1:value1
# Type specifies the type of the sampler: const, probabilistic, rateLimiting, or remote
;sampler_type = const
# jaeger samplerconfig param
# for "const" sampler, 0 or 1 for always false/true respectively
# for "probabilistic" sampler, a probability between 0 and 1
# for "rateLimiting" sampler, the number of spans per second
# for "remote" sampler, param is the same as for "probabilistic"
# and indicates the initial sampling rate before the actual one
# is received from the mothership
;sampler_param = 1

#################################### Grafana.com integration  ##########################
# Url used to to import dashboards directly from Grafana.com
[grafana_com]
;url = https://grafana.com

#################################### External image storage ##########################
[external_image_storage]
# Used for uploading images to public servers so they can be included in slack/email messages.
# you can choose between (s3, webdav, gcs, azure_blob, local)
;provider =

[external_image_storage.s3]
;bucket =
;region =
;path =
;access_key =
;secret_key =

[external_image_storage.webdav]
;url =
;public_url =
;username =
;password =

[external_image_storage.gcs]
;key_file =
;bucket =
;path =

[external_image_storage.azure_blob]
;account_name =
;account_key =
;container_name =

[external_image_storage.local]
# does not require any configuration

大佬，我挨个版本一个一个试，终于在7.0版本试成功了，已经有效果了，多谢大佬

其他版本还是有问题 ？ 跟https有关系么，试下http?  看下[server]节点下配置

其他版本还是有问题 ？ 跟https有关系么，试下http? 看下[server]节点下配置

试过直接跳过nginx，反问IP:3000也是同样报404，server配置如下，后来用我从5.2.1直接升级到7.0版本就好了
[server]
Protocol (http, https, socket)
;protocol = http
The ip address to bind to, empty will bind to all interfaces
;http_addr =
The http port  to use
;http_port = 3000
The public facing domain name used to access grafana from a browser
#domain = dashboard.ixiaochuan.cn
domain = dashboard.ixiaochuan.cn
Redirect to correct domain if host header does not match domain
Prevents DNS rebinding attacks
;enforce_domain = false
The full public facing url you use in browser, used for redirects and emails
If you use reverse proxy and sub path specify full url (with sub path)
root_url = https://dashboard.ixiaochuan.cn
Log web requests
;router_logging = false
the path relative working path
;static_root_path = public
enable gzip
;enable_gzip = false
https certs & key file
;cert_file =
;cert_key =
Unix socket path
;socket =

其他版本还是有问题 ？ 跟https有关系么，试下http? 看下[server]节点下配置

server节点配置如下所示，有试过跳过nginx，使用IP:3000端口访问也是404，后面我把grafana直接从5.2.1升级到7.0版本就好了，grafana.ini还是之前的配置
[server]
# Protocol (http, https, socket)
;protocol = http

# The ip address to bind to, empty will bind to all interfaces
;http_addr =

# The http port  to use
;http_port = 3000

# The public facing domain name used to access grafana from a browser
#domain = dashboard.ixiaochuan.cn
domain = dashboard.ixiaochuan.cn

# Redirect to correct domain if host header does not match domain
# Prevents DNS rebinding attacks
;enforce_domain = false

# The full public facing url you use in browser, used for redirects and emails
# If you use reverse proxy and sub path specify full url (with sub path)
root_url = https://dashboard.ixiaochuan.cn

# Log web requests
;router_logging = false

# the path relative working path
;static_root_path = public

# enable gzip
;enable_gzip = false

# https certs & key file
;cert_file =
;cert_key =

# Unix socket path
;socket =


Revert SealedSecrets field in configuration to keep old config able to be loaded

What this PR does / why we need it:
That field and all its related stuff have been deleted by https://github.com/pipe-cd/pipe/pull/2784 but let me keep only this field at this time to avoid unknown field error while loading the config file in our dev environment.
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

Nice catch
/lgtm

/approve


Dark outside sensor

Apparently the illuminance sensor can report a value of zero (0) which changes the dark outside sensor to false. Zero (0) also seems to be the value if there is no connection to the illuminance sensor. Need to see if it is possible to check availability before using the value.

The best approach would probably be to only use the illuminance sensor, if it is available and the value was recently updated. Fallback should be to check the sun elevation.

Improved and hopefully solved in 0ec1852


Release 1.0.1

Tightens dependency on vcloud-tools-tester
Updates integration test details in README

This relies on #156.

Closing to update Gemspec further.

Further Gemspec updates to come in a separate PR.

closing while we make another change to the gem spec.


Unable to build container

Trying to build the armv7-unknown-linux-gnueabihf container with docker on windows 10 and get the following error:
error: invalid toolchain name: 'nightly
I tried editing your file support/install-rust.sh but didn't have any luck with it. Is there something else I could try?

Ah sorry, I haven't tested on Windows and there these could be failing for any number of reasons


Remove emplace constructor from polymorphic wrapper

Remove constructor which uses make_shared since T can be abstract.

Codecov Report

Merging #727 into feature/shared_model will not change coverage.
The diff coverage is 75%.

@@                  Coverage Diff                  @@
##           feature/shared_model     #727   +/-   ##
=====================================================
  Coverage                 43.04%   43.04%
=====================================================
  Files                       327      327
  Lines                     12293    12293
  Branches                   6705     6705
=====================================================
  Hits                       5291     5291
  Misses                      883      883
  Partials                   6119     6119

Impacted Files
Coverage Δ

shared_model/utils/variant_deserializer.hpp
37.5% <0%> (ø)
:arrow_up:

shared_model/interfaces/polymorphic_wrapper.hpp
72.72% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Integrate cure cost calculation into guild system

Moved into service code since there's no cure cost formula as such - it uses normal trade formula.

Two assumptions I need verifying:

I assumed msg offset is calculated from cost vs. tradePrice difference like normal trades and not after cure cost reduction due to temple membership.

Arkay simply applies the default rank cost reduction twice.

One other thing I removed the bit shifts and used floating point maths instead. Only reason is that it makes the code more readable and since we have blazing fast CPUs these days the minor perf gains from bit shifting is not worth the cost in readablity. I can put them back if you'd like me to since it's a reproduction of the classic code. Not bothered enough to say no.


Installation error on Ubuntu

I am trying to install pgbouncer-rr on ubuntu but I am facing issue on line number 6525
I have installed libcares still no luck.
Here is the error
checking whether to use c-ares for DNS lookups... auto ./configure: line 6525: syntax error near unexpected tokenCARES,'
./configure: line 6525:  PKG_CHECK_MODULES(CARES, libcares >= 1.6.0, use_cares=yes, use_cares=no)'

Hi @rmadiwaledba,
It looks like a problem related to building pgbouncer itself, rather than pgbouncer-rr. Can you try building pgbouncer (without the pgbouncer-rr patch applied) and if you can reproduce the issue, you can followup with the pgbouncer  community.
Alternatively, for now, can you use Amazon Linux / CentOs / RedHat?

@rstrahan Thank you for the reply. I was able to install pgbouncer-rr on Ubuntu. To resolve above error I have installed package 'pkg-config'. Now installation is done without any error.


Highlight.js not up-to-date: multi-line docstrings in Python not highlighted

Hi,
I'm about to give a talk with a lot of Python code. Some of this code contains docstrings (multi-line docstrings). Sadly they are not highlighted properly: only the first line of a multi-line docstring is highlighted. The issue was reported here: https://github.com/highlightjs/highlight.js/issues/1322, but apparently the problem comes from remark.js. Is there a fix for that? Even a dirty one (I need this urgently).
Sorry if I sound vindictive, this is not at all my mindset. My code just doesn't look professional if it's not highlighted properly.
Thank you

There's been some fixes for JSX support too.
Is the right fix updating https://github.com/gnab/remark/blob/b658a0c61434e4fe1ccec75ef254f4a78a13ebef/make.js#L28 and run make highlighter ?