How use grafana to auto monitor the status of tasks.

Short summary about the issue/question:
I wan use grafana to auto monitor the status of tasks. When the tasks happen error, I can get the error right away. And don`t need add the alert manually, when i submit a job.
OpenPAI Environment:

OpenPAI version: v0.14.0
OS (e.g. from /etc/os-release): ubuntu 16.04
Hardware (e.g. core number, memory size, storage size, GPU type etc.): titan Xp

Anything else we need to know:
NULL

how to support the task error alerts!
grafana? alertmanager?

@IamSunGuangzhi - thanks for raising the feature request. is this request for an PAI end user's daily training job or for a PAI admin?

Thanks for your reply, @scarlett2018 .  This request is for an PAI end user's daily training job. Because PAI is training platform. PAI can auto monitor the status of tasks, which facilitates task debugging.

OpenPAI does not have plan to support dingding alike IM integration. But we could think of providing status change subscription for email address, or status feed, etc. Adding to the backlog for feature design and discussion first.

Reasonable feature request, but it is not in our planning yet.
We may leverage https://www.elastic.co/what-is/elasticsearch-alerting, alertmanager, or something like https://github.com/bitnami-labs/kubewatch.
For now, you can achieve this by yourself, such as, polling the RestServer and send alert on some conditions.

OK, thanks @scarlett2018  @yqwang-ms . I will try.

Thanks, closing the issue as answer had been taken. Please few free to reopen if you meet any issue while applying the suggestions.


Compression must be applied during deferred schema preparation and enableBatching is enabled

Motivation
if you do not set an initial schema to the Producer the schema must be prepared at the first message with a Schema.
There is a bug and compression is not applied in this case, and the consumer receives an uncompressed message, failing
Modifications
Ensure that compression is applied in the code path during the schema preparation.
With enableBatching=true the compression is usually applied per batch, but in case of schema preparation the code flows down to a separate path and we have to enforce compression.
Basically if the SchemaState is not 'ready' the message cannot be added to the batch and we fall back to single message mode.
Verifying this change
This change added tests that failed without this fix
Does this pull request potentially affect one of the following parts:
The patch applied to producers that enable batching, compression and do not send an initial schema to the producer.

/pulsar-bot run-failure-tests

/pulsar-bot run-failure-tests

/pulsarbot run-failure-checks

@codelipenghui I will try to implement your idea.
@aahmed-se and @merlimat you had already commented. What's your opinion?

@codelipenghui I have checked isBatchMessagingEnabled(), and in my opinion changing that method will have a big impact and I will have to make changes in lots of points in ProducerImpl.
I think it is not safe to change isBatchMessagingEnabled()
I don't like that names for variables but I did not find a better name and also I wanted to keep the patch as small as possible

@merlimat I have addressed your comment, please take a look

/pulsarbot run-failure-checks


feat: use runtime configuration

Why
This allow dynamic changes to the configuration.
It allows to have only one build for all the clients, we "only" have to ship the build and configure it with a 'configuration.json' (the server will have to set a no-cache policy on the configuration.json file)
Bonus point: now we can load the filters inside the configuration.json (and get rid of the USE_FILTER parameter, if the filters are present, then we indeed want to use filters)
Potential malus point: the publicPath is now relative, I think it will work in most cases though, but we should check before merging.
What's left
I did not go all in, I want to know first if you find it useful

[ ] include filters in the configuration.json
[ ] configuration.json should work out of the box (following 12 factors practices) so we should put real configuration.

The idea sounds great. I would love to discuss it tomorrow.
One thing coming up to my mind : filters can be very long, but usually not more than a hundreds of rows


Add to _links a way to see the relationships

E.g. http://localhost:900/api/sensors/02fd030
Sensors have readings, include in _links['relationships']['readings'] a 'view' key, linking to http://localhost:900/api/sensors/02fd030/readings
Also should work in reverse if possible, http://localhost:900/api/sensors/4c1c6a12cfa4/readings should have a 'view' for 'sensor'

Added view children links in 1.3.0, wasn't simple to add parent so will come back to that possibly.


Flutter plugin is not supported by Android Studio 3.4

When it will be supported by studio 3.4 , and switching back to studio 3.3 is the only option for now

Did you update your plugins too?
I just updated my AS to 3.4 some hours ago and I'm doing fine

i have the same problem.

That is strange, because what it displays in my case in plugins section

Yes your right, Flutter plugin update is available as well in updates section, I didn't notice it. Problem is solved

i have the same problem, but there's nothing in "Updates"

I do not receive this error after making update on mac book, so the only solution in mind is to unistall & intsall the "Dart" and "Flutter" plugins

after uninstall flutter plugin, I can't install it back.

hmm.. I'm guessing you have already tried "invalidate caches and restart", not sure about this but you can try to reinstall whole environment, like android studio + flutter stuff

hmm.. I'm guessing you have already tried "invalidate caches and restart", not sure about this but you can try to reinstall whole environment, like android studio + flutter stuff

"flutter doctor" also useless

after uninstall flutter plugin, I can't install it back.

I solved this problem temporarily.  (before update to studio 3.4, my environment is studio 3.0.1 + flutter is running ok)

install a vpn environment,
click the nut and click "Http Proxy Settings", set the socks
"invalidate caches and restart"
"Updates" page can update the flutter

ps: but I back to the studio 3.0.1,  the "Instant run" bug reappeared. And in studio 3.4, I haven't open the "Instant run" mode.

I do not receive this error after making update on mac book, so the only solution in mind is to unistall & intsall the "Dart" and "Flutter" plugins

Or possible u can update plugins and restart android studio.that worked for me


mkcloud: dont source mkcloud.config

we actually want to provide our config from the outside
and qa_crowbarsetup now sources mkcloud.config for us
which would override the values we wanted

What about adding comment (like the one in commit message) to the line?

added a comment

+1


[zh] Rework Pod Lifecycle page

A lot of things have changed upstream.

@sftim Thanks for the feedback on restart-policy. I have 100% sure I translated that paragraph, but I am confused where the translation has gone ...
Anyway, I have reworked that section.

I'll leave further reviews to people who are fluent in Chinese.


Examples

Hi, @ericmjl
Thank you for your attempt to marry autograd and GPUs!
Could you please tell me about current project status and give some examples?

@Daulbaev what I have currently isn't appropriate for a PR, I'd recommend closing this PR and taking this thread to the CuPy thread #353.

Can this PR be closed?  It makes zero changes.


nix-build fails with haskellPackages.kalman

bash-3.2$ nix-build -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.09.tar.gz release-8.4.nix --arg packages "haskellPackages: [ haskellPackages.lens haskellPackages.random-fu haskellPackages.kalman ]"

But I get
building '/nix/store/0s3b5jalqvagn672v9fps903vg27v4ac-Chart-diagrams-1.9.drv'...
setupCompilerEnvironmentPhase
Build with /nix/store/4rk1ny3wg3rf7bfa8wwc2vmpgdciqpff-ghc-8.4.3.
ignoring (possibly broken) abi-depends field for packages
ignoring (possibly broken) abi-depends field for packages
unpacking sources
unpacking source archive /nix/store/7wxv5v1z73lgll3gjx660yrcg443bggw-Chart-diagrams-1.9.tar.gz
source root is Chart-diagrams-1.9
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file Chart-diagrams-1.9/Chart-diagrams.cabal
patching sources
compileBuildDriverPhase
setupCompileFlags: -package-db=/private/var/folders/1g/xdjj8dy15k932b80r197qcnr0000gp/T/nix-build-Chart-diagrams-1.9.drv-0/setup-package.conf.d -j12 -threaded
[1 of 1] Compiling Main             ( Setup.hs, /private/var/folders/1g/xdjj8dy15k932b80r197qcnr0000gp/T/nix-build-Chart-diagrams-1.9.drv-0/Main.o )
Linking Setup ...
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
configuring
configureFlags: --verbose --prefix=/nix/store/y97mkakzzk8b4s7cakrddj0ndryc98yf-Chart-diagrams-1.9 --libdir=$prefix/lib/$compiler --libsubdir=$abi/$libname --datadir=/nix/store/l4qq1paqwkb5kabjgympq4g7431yisc2-Chart-diagrams-1.9-data/share/ghc-8.4.3 --docdir=/nix/store/m5yfxvpln0idfzj1ww9xqs98770j1sfm-Chart-diagrams-1.9-doc/share/doc/Chart-diagrams-1.9 --with-gcc=clang --package-db=/private/var/folders/1g/xdjj8dy15k932b80r197qcnr0000gp/T/nix-build-Chart-diagrams-1.9.drv-0/package.conf.d --ghc-option=-j12 --disable-split-objs --enable-library-profiling --profiling-detail=exported-functions --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --enable-library-vanilla --enable-library-for-ghci --extra-include-dirs=/nix/store/qjmqrzk8nhn5maa093fhl3finczz72lw-libc++-5.0.2/include --extra-lib-dirs=/nix/store/qjmqrzk8nhn5maa093fhl3finczz72lw-libc++-5.0.2/lib --extra-include-dirs=/nix/store/jd065p28z3ar0q6nljz479f9mm35v5qn-libc++abi-5.0.2/include --extra-lib-dirs=/nix/store/jd065p28z3ar0q6nljz479f9mm35v5qn-libc++abi-5.0.2/lib --extra-include-dirs=/nix/store/llafcziny4071gkahynh9348yqfwvych-compiler-rt-5.0.2-dev/include --extra-lib-dirs=/nix/store/nnlz1ydq8p2iy87b8hh5vlpa4ng7bs8h-compiler-rt-5.0.2/lib --extra-lib-dirs=/nix/store/1ij45avzzzpy965lyf92nrpfnmaxm102-ncurses-6.1/lib --extra-lib-dirs=/nix/store/hxvhqnnizi9752q2wq46ymrj0pa9fj87-gmp-6.1.2/lib --extra-include-dirs=/nix/store/567l21pfpvjb3lr5c6hgshasn589raal-libiconv-osx-10.11.6/include --extra-lib-dirs=/nix/store/567l21pfpvjb3lr5c6hgshasn589raal-libiconv-osx-10.11.6/lib --extra-framework-dirs=/nix/store/xmmc88jpx3w6qr9qmqmxzqrrzcgqlgls-apple-framework-Cocoa/Library/Frameworks --extra-framework-dirs=/nix/store/7agcbjkbi0vgrgnxnjc4b2f5gpgxz0as-apple-framework-AppKit/Library/Frameworks --extra-framework-dirs=/nix/store/7hpykg8jsh1xqi171gzb6xfni3g4q67p-apple-framework-AudioToolbox/Library/Frameworks --extra-framework-dirs=/nix/store/a5q0jxnr11jz9m3785njx8iasjzb5i8g-apple-framework-AudioUnit/Library/Frameworks --extra-framework-dirs=/nix/store/nnjb3fs0b8464pb80fc5qjvn32fnbrma-apple-framework-Carbon/Library/Frameworks --extra-framework-dirs=/nix/store/k8jgnx9j9l2n6y2pigxrrmilnj36bsmn-apple-framework-ApplicationServices/Library/Frameworks --extra-framework-dirs=/nix/store/0nczz582lwv5gawv4ffph54z9s0n3ysd-CF-osx-10.10.5/Library/Frameworks --extra-framework-dirs=/nix/store/2wx9cfki2ic96lq4d9dw2ygsf8as6q4p-apple-framework-CoreServices/Library/Frameworks --extra-framework-dirs=/nix/store/rzbyvzswg5vkf8bl3jhwd0jvkk1n9pw2-apple-framework-CFNetwork/Library/Frameworks --extra-framework-dirs=/nix/store/0zjgfyd21wis3szhspkvvm3dcmyqy9h3-apple-framework-CoreAudio/Library/Frameworks --extra-framework-dirs=/nix/store/2xm5mwj17q4brczndrqqwj6xr38ddkf6-apple-framework-IOKit/Library/Frameworks --extra-framework-dirs=/nix/store/5id56znid07jll9yznwv1448y2cs6p97-apple-framework-CoreData/Library/Frameworks --extra-framework-dirs=/nix/store/v6ajb2k50sfzh7mjzb70zf5nr0i61kzr-apple-framework-DiskArbitration/Library/Frameworks --extra-framework-dirs=/nix/store/w71ipa0nx8czq177yjl20mlnrjcryqvm-apple-framework-Security/Library/Frameworks --extra-framework-dirs=/nix/store/vp9mrj7m13zasqi9fcj86nzqjz5y8qdm-apple-framework-NetFS/Library/Frameworks --extra-framework-dirs=/nix/store/ijq7rvawx1bn3452b7j2i2rcnhd2l2xi-apple-framework-OpenDirectory/Library/Frameworks --extra-framework-dirs=/nix/store/g86hnf7jxw73p4nkg1jgv8axz174c2ja-apple-framework-ServiceManagement/Library/Frameworks --extra-framework-dirs=/nix/store/s4qcydf0hqlkr5qmyh7wxf5az33myz55-apple-framework-CoreText/Library/Frameworks --extra-framework-dirs=/nix/store/jmf8mg9wcl4vy446s8qch6lp4cqm9vhn-apple-framework-CoreGraphics/Library/Frameworks --extra-framework-dirs=/nix/store/rjq3zn2y6sz4lkmsn3yg3hf8vfbqls27-apple-framework-Accelerate/Library/Frameworks --extra-framework-dirs=/nix/store/v4647p7qa59k06bb6qhvqzhgf4f02rjh-apple-framework-CoreWLAN/Library/Frameworks --extra-framework-dirs=/nix/store/zvbd6sz5jpadlgd0vpv1jhl6j07yfn4l-apple-framework-SecurityFoundation/Library/Frameworks --extra-framework-dirs=/nix/store/d4mjn5v01z8vajqvqlshi1wwj773fwr3-apple-framework-IOBluetooth/Library/Frameworks --extra-framework-dirs=/nix/store/mm5vkpm8n5891zsk2f52q9sbxrzlvwlv-apple-framework-IOSurface/Library/Frameworks --extra-include-dirs=/nix/store/yr3d3hgd81i01zmynznjd5vpf95cxq1p-apple-lib-xpc/include --extra-framework-dirs=/nix/store/99za2npjghjbd18sg23xn3srdahpl74h-apple-framework-SystemConfiguration/Library/Frameworks --extra-framework-dirs=/nix/store/wrsc8a0aj1f89cfh3f2ga3pbg1qd855w-CF-osx-10.10.5-private/Library/Frameworks --extra-framework-dirs=/nix/store/66pds1q5a3nrhzpik59k3wpzl215ijrv-apple-framework-ImageIO/Library/Frameworks --extra-framework-dirs=/nix/store/ybk85a0lbfn71ivqrzgvyx9sr4a09wgx-apple-framework-Foundation/Library/Frameworks --extra-include-dirs=/nix/store/lnmq68fyjgzp0yxfifxx5k5n35h4nc3x-objc4-osx-10.11.6/include --extra-lib-dirs=/nix/store/lnmq68fyjgzp0yxfifxx5k5n35h4nc3x-objc4-osx-10.11.6/lib --extra-framework-dirs=/nix/store/7ls8sxh2p7jp96xq8v83s1fz52371nvl-apple-framework-QuartzCore/Library/Frameworks --extra-framework-dirs=/nix/store/n0vpm5q84mrigp0k6cpg2s8s0fg6kppl-apple-framework-CoreVideo/Library/Frameworks --extra-framework-dirs=/nix/store/5wgzqjpki4xnn9vw1nvfshkpbdlddmwi-apple-framework-OpenGL/Library/Frameworks --extra-framework-dirs=/nix/store/mcwac02r2d0zrgsxz6zgkdrb6rmv8p14-apple-framework-OpenCL/Library/Frameworks --extra-framework-dirs=/nix/store/77b2agsf19lhqr202wnhc2c9xdk4zzzg-apple-framework-CoreMIDI/Library/Frameworks --extra-framework-dirs=/nix/store/2cf0hbdgyixp2jl3k6l5mdg15pvkn8ah-CF-osx-10.10.5/Library/Frameworks
Using Parsec parser
Configuring Chart-diagrams-1.9...
CallStack (from HasCallStack):
  die', called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:958:20 in Cabal-<IP_ADDRESS>:Distribution.Simple.Configure
  configureFinalizedPackage, called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:462:12 in Cabal-<IP_ADDRESS>:Distribution.Simple.Configure
  configure, called at libraries/Cabal/Cabal/Distribution/Simple.hs:596:20 in Cabal-<IP_ADDRESS>:Distribution.Simple
  confHook, called at libraries/Cabal/Cabal/Distribution/Simple/UserHooks.hs:67:5 in Cabal-<IP_ADDRESS>:Distribution.Simple.UserHooks
  configureAction, called at libraries/Cabal/Cabal/Distribution/Simple.hs:178:19 in Cabal-<IP_ADDRESS>:Distribution.Simple
  defaultMainHelper, called at libraries/Cabal/Cabal/Distribution/Simple.hs:115:27 in Cabal-<IP_ADDRESS>:Distribution.Simple
  defaultMain, called at Setup.hs:8:8 in main:Main
Setup: Encountered missing dependencies:
SVGFonts >=1.4 && <1.7

builder for '/nix/store/0s3b5jalqvagn672v9fps903vg27v4ac-Chart-diagrams-1.9.drv' failed with exit code 1
cannot build derivation '/nix/store/w6f7p5g3zfhd3ay2xda0w0yxc7i450nj-kalman-<IP_ADDRESS>.drv': 1 dependencies couldn't be built
building '/nix/store/lff5aycrzbzxi94kijnnnxzn03mgfcxl-random-fu-multivariate-<IP_ADDRESS>-r2.cabal.drv'...
cannot build derivation '/nix/store/4mfqf10z08dvk68r1nsqpgabw5zrp1mb-ghc-8.4.3-with-packages.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/jahjgvgmvx6brgd0j55rv02jagp0wh97-ihaskell-with-packages.drv': 1 dependencies couldn't be built
error: build of '/nix/store/jahjgvgmvx6brgd0j55rv02jagp0wh97-ihaskell-with-packages.drv' failed

Actually what I'd like is some way of putting what's on the command line into a file so that I can override packages with a git commit.
This doesn't look right but something like this
import ./release-8.4.nix {
nixpkgs = builtin.fetchTarball {
  url = https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.09.tar.gz;
  sha256 = 3;
  }
packages = { [ haskellPackages.lens ] }
}

I tried
import ./release-8.4.nix {
nixpkgs = fetchTarball { url = https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.09.tar.gz; };
packages = haskellPackages: with haskellPackages; [ lens ];
}

and nix-build foo.nix but I get
bash-3.2$ nix-build foo.nix
unpacking 'https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.09.tar.gz'...
error: value is a string with context while a set was expected, at /Users/dominic.steinitz/IHaskell/release.nix:60:1

I think I will give up with nix and try something else.

Sorry to hear you are having issues with Nix. It seems like you were pretty close though, have you tried something like this?
import ./release-8.4.nix {
  nixpkgs = import (builtins.fetchTarball {
    url = "https://github.com/NixOS/nixpkgs-channnels/archive/09195057114a0a8d112c847a9a8f52957420857d.tar.gz";
    sha256 = "0hszcsvgcphjny8j0p5inhl45ja61vjiz0csb0kx0b9lzmrafr7b";
  }) {};
  packages = haskellPackages: [ haskellPackages.lens ];
}

My notebooks setup is at https://github.com/vaibhavsagar/notebooks, and each directory provides a self-contained notebook environment that can be built with nix-build.

That works and your link is very helpful.
I am trying to do this now
import ./release-8.4.nix {
  nixpkgs = import (builtins.fetchTarball {
    url = "https://github.com/NixOS/nixpkgs-channnels/archive/09195057114a0a8d112c847a9a8f52957420857d.tar.gz";
    sha256 = "0hszcsvgcphjny8j0p5inhl45ja61vjiz0csb0kx0b9lzmrafr7b";
  }) {};
  packages = haskellPackages: [ haskellPackages.lens haskellPackages.random-fu (nixpkgs.haskell.lib.doJailbreak haskellPackages.Chart-diagrams) ];
}

but of course that doesn't work
bash-3.2$ nix-build foo.nix
error: undefined variable 'nixpkgs' at /Users/dominic.steinitz/IHaskell.old/foo.nix:6:81

Can I use an overlay somehow?
import ./release-8.4.nix {
  nixpkgs = import (builtins.fetchTarball {
    url = "https://github.com/NixOS/nixpkgs-channnels/archive/09195057114a0a8d112c847a9a8f52957420857d.tar.gz";
    sha256 = "0hszcsvgcphjny8j0p5inhl45ja61vjiz0csb0kx0b9lzmrafr7b";
    }) { overlays = [ (self: super: { } ) ]; };
  packages = haskellPackages: [ haskellPackages.lens haskellPackages.random-fu ];
}

But what should go in (self: super: { } )?

You were on the right track with your earlier attempt:
let
  nixpkgs = import (builtins.fetchTarball {
    url = "https://github.com/NixOS/nixpkgs-channnels/archive/09195057114a0a8d112c847a9a8f52957420857d.tar.gz";
    sha256 = "0hszcsvgcphjny8j0p5inhl45ja61vjiz0csb0kx0b9lzmrafr7b";
  }) {};
in import ./release-8.4.nix {
  nixpkgs = nixpkgs; # eqivalent to `inherit nixpkgs;`
  packages = haskellPackages: [ haskellPackages.lens haskellPackages.random-fu (nixpkgs.haskell.lib.doJailbreak haskellPackages.Chart-diagrams) ];
}

There's still an issue with building Chart-diagrams, but I don't consider that IHaskell-specific.

👍


Update [set cmd as the Default shell for windows]

Tool name
cmd as the Default shel
Tool license
with system
Add or update?

[ ] Add
[X] Update

Desired version
with system
Approximate size
No response
Brief description of tool
Powershell is powerfull but not so widely used like cmd.exe .
URL for tool's homepage
No response
Provide a basic test case to validate the tool's functionality.
No response
Platforms where you need the tool

[ ] Azure DevOps
[ ] GitHub Actions

Runner images where you need the tool

[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] macOS 11
[ ] macOS 12
[ ] macOS 13
[X] Windows Server 2019
[X] Windows Server 2022

Can this tool be installed during the build?
No response
Tool installation time in runtime
No response
Are you willing to submit a PR?
No response

Hello @Streamlet . Using PowerShell is by design by default. Also changing it, can impact large amount of other users that using default shell in their workflow. You can specify shell in your workflow like this:
...
steps:
  - name: Display the path
    run: echo $PATH
    shell: bash
...

I am closing this issue for now, but if you have additional questions feel free to ask.

I know how to set default shell in my workflow.
But powershell is really not widely used in the world.
I think Github should follow the most developers' choice. (Although Microsoft supports Github)


watch all props

Please check my pull request

Hi,
could you explain what you have implemented or fixed in this pull request?

I reviewed your changes, but I didn't understand why to watch all the props.

imagine you want to implement web WhatsApp then your chat object will be like this
selectedChat: {
        id: 1,
        title: 'My chat title',
        participants: [ ... ],
        messages: [ ... ]
},
chats: [
      {
        id: 1,
        title: 'My first chat title',
        participants: [ ... ],
        messages: [ ... ]
      },
      {
        id: 2,
        title: 'My sacand chat title',
        participants: [ ... ],
        messages: [ ... ]
      },
]

<Chat
          v-if="selectedChat.id"
          :myself="myself"
          :chat-title="selectedChat.title"
          :participants="selectedChat.participants"
          :messages="selectedChat.messages"
          :on-type="onType"
          :on-message-submit="onMessageSubmit"
          :placeholder="placeholder"
          :colors="colors"
          :border-style="borderStyle"
          :hide-close-button="hideCloseButton"
          :close-button-icon-size="closeButtonIconSize"
          :submit-icon-size="submitIconSize"
          :load-more-messages="toLoad.length > 0 ? loadMoreMessages : null"
          :async-mode="asyncMode"
        />

for placeholder you can use it to i18n

While this does make sense, it is not needed,
To reload a vue components data you should have just used the key prop
Eg:
<Chat
          v-if="selectedChat.id"
          :key="selectedChat.id"
...
 />

This would have done what you were looking for

I've reproduced the error, that's a problem. The @Tofandel's solution is easier to implement and worked pretty fine for me. However, we could have some other problems when using this solution :key="selectedChat.id". Because if you have only one chat and want to change just the chat title, the component won't update since the chat id still the same.
So I'll accept this PR and let the component watch its properties.


EoSD crashes when the ending is reached (Easy difficulty)

As the title suggests, doing a normal run of EoSD in easy difficulty will cause the game to crash when the ending is reached. This has a 100% chance of happening (in my case at least).
OS is Windows 10 20H2, "VsyncPatch" and "DX8 to DX9 converter" were applied. I've only used Reimu A when I was testing.
This bug was first mentioned here: https://github.com/ack7139/thprac/issues/32. A Windows minidump file was attached there and may come to be helpful.
Log file: thcrap_log.txt

Thanks for the report! We're working on this right now so don't worry.

Fixed in thpatch/thcrap-tsa@c459649d1a081a9e959cada4bcae2ecd95ec8028


Support for brute forcing multiple user ids at once

Adds two options to module brute_force_login (BRUTE_USERS and USER_ID_MAX). When BRUTE_USERS is set to True, termineter will iterate through user ID's when brute forcing to attempt logins from each user id in the range [USER_ID, USER_ID_MAX].

Latest changes were pushed prior to testing on an actual device - I'll run through that done by end of day 11 November before this gets merged.

Tested and confirmed this merge does not adversely affect functionality elsewhere while addressing the issue.


createReducer util doesn't work with HMR since 2.0.0 upgrade

Per title.

Invalid, confirmed with recent updates that HMR does still work with this util.


Upgrade bits and bytes

Motivation

Adds ToBytes::to_bytes_le(&self) and FromBytes::from_bytes_le(bytes: &[u8])
Adds ToBits and FromBits traits, and to_bits_le![] macro
Renames ToBytes::write() to ToBytes::write_le()
Renames FromBytes::read() to FromBytes::read_le()
Renames to_bytes![] macro to to_bytes_le![]
Updates BigInteger to use FromBits and ToBits

Thanks folks, we will need to do the same for the gadget variants (e.g. ToBytesGadget impls) to keep these in line. I felt this PR was already very large and didn't want to simultaneously add major gadget calling convention changes.


CI/CD - base decision to train or not on fingerprint logic of rasa train itself

The CI/CD pipeline checks if it needs to train the model or not.
It does this by checking if any of the changed files of the most recent commits require a re-training.
This is not good for two reasons:

It is not fail safe, because it could be that there are no model changes in the current commit, but there were in the previous commit, and if training during the previous commit failed, the trained model that is stored on S3 is old.
We're duplicating logic, because rasa already includes the logic to make that decision, using fingerprinting. The model.tar.gz of a trained model includes all the information that the rasa train command needs to decide to retrain or not.

It is proposed to try this approach:

When the CI/CD pipeline is at the point to train the model, it first downloads the current model from S3
It then issues the rasa train command, and relies on the build-in logic to train or not
It then uploads the model back to S3, but only if it has changed.

@b-quachtran ,
What do think about this proposal to improve the logic in the CI/CD pipeline?

@ArjaanBuijk I think the above approach makes sense, I know of customer that doing something very similar in their CI pipeline for determining if model training needs to be run.
One thing that I think would work well is to make use of the rasa train --dry-run flag as a conditional check that determines if the train job should run.

The return code from rasa train --dry-run determines whether model re-training is needed:
  --dry-run             If enabled, no actual training will be performed.
                        Instead, it will be determined whether a model should
                        be re-trained and this information will be printed as
                        the output. The return code is a 4-bit bitmask that
                        can also be used to determine what exactly needs to be
                        retrained: - 1 means Core needs to be retrained - 2
                        means NLU needs to be retrained - 4 means responses in
                        the domain should be updated - 8 means the training
                        was forced (--force argument is specified) (default:
                        False)

I tried it out, but when running the cicd pipeline, downloading the model first, and then issuing rasa train does not work. Rasa is always training it.
For now, leaving the existing logic in place.


[EH} Fix Sample Error Message

fix error message in sample for iot hub.  fixes #34393

API change check
API changes are not detected in this pull request.


fix(plugin-swc): should not override extensions when using function config

Summary
fix function config overrides user extension config
fix function config return undefined causes final config to be undefined
Related Links

Checklist

[x] I have added changeset via pnpm run change.
[ ] I have updated the documentation.
[x] I have added tests to cover my changes.

Can you also submit a PR to the Rsbuild repo? https://github.com/web-infra-dev/rsbuild/tree/main/packages/compat/plugin-swc
We will merge these two copies of the code soon.


Automatically fetch manifest through Steam

Using SteamKit2, automatically fetch the latest Manifest ID and fill in the information in the textbox.
Also used a more robust .gitignore and a little bit of debugging which helped in getting this functioning.
Looking at abstracting this to other installed games.

Hey,
First off, thanks a lot for your PR! I had looked into using Steamkit to accomplish exactly this but decided it wasnt worth effort - Seems like its not as much effort as I had thought It'd be! I'm gonna merge this however will do some changes / correct formatting before publishing it as an update.

Yeah SteamKit documentation is definitely lacking. Not as bad as it seems though. I have a proof of concept solution for doing this process for any arbitrary installed application working in Python. I'll spend some time integrating it here as well. Next time I'll try to adhere more to your code style!

The main problem with making this for for arbitrary apps is actually locating the correct depot ID to use, for various apps it can be pretty tricky from what my 5 minute google search gave me when I had considered making this that.

AFAIK we would only need to update the manifests listed under "InstalledDepots" in the appmanifest*.acf. For example I checked Portal 2 and my appmanifest_620.acf looks like this:

Then using SteamKit to query for product info, we just need to update the depots found in the appmanifest*.acf file. The product info response returns more than necessary, but it does include all the depots I have installed. With Beat Saber, updating the "public" manifest is all that is needed as there is only one installed depot. It seems like this is the same case here:

I think this should work for any arbitrary installation as Steam only checks for updates on the depots that are installed.

With Beat Saber, updating the "public" manifest is all that is needed as there is only one installed depot

If you have any DLC theres more, but yes I suppose brute force updating all of them might just work.

Yeah just updating the manifest for everything under "InstalledDepots" should work. I'll experiment with that tomorrow.

Released now, thanks again!


Record provenance with outputs

Add a record of the model version in use to the output images and/or the volumes CSV.  The best model version identifier is probably the git commit hash.

Closing stake issue


Import Failed

Hi
Traceback (most recent call last):
File "C:\Users\luna\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\ControlAltAI-Nodes_init_.py", line 3, in
import xformers
ModuleNotFoundError: No module named 'xformers'
File "C:\Users\luna\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\ControlAltAI-Nodes_init_.py", line 11, in
raise ImportError("xformers is required for ControlAltAI Nodes")
ImportError: xformers is required for ControlAltAI Nodes
Cannot import C:\Users\luna\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\ControlAltAI-Nodes module for custom nodes: xformers is required for ControlAltAI Nodes

Same problem(

Same here

Please check here:
https://github.com/gseth/ControlAltAI-Nodes/issues/9#issuecomment-2525463302
Xformers is required for Attention.

Import won't give any errors—update node.
You will get an error only when using Flux Attention Control Node, as it requires XFormers.

never mind, my bad, I needed to install xformers. Just followed the instructions and now is working properly. Thanks!

The latest update will  import the nodes and only give error on the flux attention node when that specific node is running.

Hi
gseth, thanks for the help.
I have updated it and it still gives the same error

Hi
gseth, thanks for the help.
I have updated it and it still gives the same error

Hi
gseth, thanks for the help.
I have updated it and it still gives the same error

Hi
About xformers I don't have it installed.
I am following the instructions in your text.
I have 2.5.1+cu121
How can i upgrade my cuda to cu124 (for CUDA 12.4) ?

Hi About xformers I don't have it installed. I am following the instructions in your text. I have 2.5.1+cu121 Please, how can i upgrade my cuda to cu124 (for CUDA 12.4) ?

So It was updated two or three times to fix that import issue.
However you can try this command:
python.exe -m pip install xformers==0.0.28.post3 --index-url https://download.pytorch.org/whl/cu121
cu121 men's for Cuda 12.1

Hi
gseth, thank you for your help.
I have updated the version of cuda and the import failed continues.
I am in the version of  the portable version of ComfyUI.

+1

ave updated the version of cuda and the import failed contin

Hi,
I pushes a correct version of update, please update again. Sorry for the regular updates, but the attention node is a bit complicated.

Only this plugin has had a problem since the update, all the others work properly. I'm addicted :/

Please update. The import is fixed.

Thank you very much, you made us addicted

Hi
gseth, with this latest update the import failed problem has disappeared. Now it is possible for youtube channel members to use your workflows, thanks for the effort.


Added list with links to properties and methods

Every time I come to this page, It's a pain scrolling through to view all the methods and I just want a list at the top I can glance through to see what's available.

@beyro
Thank you for contributing, but there is already a list of all the items on the right hand side titled In this article that is generated automatically. If we add this hand-edited one we have to maintain it. It duplicates the existing list.

Have you used the existing list before?

@beyro Thank you for contributing, but there is already a list of all the items on the right hand side titled In this article that is generated automatically. If we add this hand-edited one we have to maintain it. It duplicates the existing list.

Have you used the existing list before?

No! - I never even noticed that list... but now that you've pointed it out, I will definitely use it :)

@beyro
OK. Please try it and I'm going to close this.
Thanks for thinking about ways to improve the docs.


How to use a non @model type in v2 transformer

Note: If your question is regarding the AWS Amplify Console service, please log it in the
AWS Amplify Console repository

Which Category is your question related to?
API
Amplify CLI Version
8.0.3
What AWS Services are you utilizing?
Amplify, Cognito, AppSync, DynamoDB, OpenSearch, Lambda
Provide additional details e.g. code snippets. Be sure to remove any sensitive data.
I have a schema that has a variety of subjects, classes, teachers, etc. They are all models and the amplify migrate api function converted them quite nicely.
However, I have one custom implementation that I'm having trouble porting over to the new v2 transformer.
I have a custom query:
browseAllContent: BrowseAllConnection @aws_api_key @aws_cognito_user_pools @function(name: "getBrowseAllContent-${env}")
And the idea was to have a function to get a list to display in a "browse all" page. To have the schema compile, I had to have this typed so I did the following:
type BrowseAllConnection @model @auth(rules: [{allow: public, operations: [read]}, {allow: private, operations: [read]}]) {
  items: [BrowseAllSubjectClassConnection]
}

type BrowseAllSubjectClassConnection {
  subject: Subject
  classes: [Class]
  teachers: [Teacher]
}

However this can't push with this error:
CREATE_FAILED               GraphQLAPITransformerSchema3CB2AE18                         AWS::AppSync::GraphQLSchema Wed Jun 22 2022 15:06:26 GMT-0400 (Eastern Daylight Time) Schema Creation Status is FAILED with details: Found 2 problem(s) with the schema: The input value type 'ClassInput' is not present when resolving type 'BrowseAllSubjectClassConnectionInput' [@3211:1]. The input value type 'TeacherInput' is not present when resolving type 'BrowseAllSubjectClassConnectionInput' [@3211:1].
How can I replicate this type of data model in the v2 transformer?

Hello @SaileshKumar, Thank you for reaching out I was able to replicate the error using the following schema on v2.
type BrowseAllConnection @model @auth(rules: [{allow: public, operations: [read]}, {allow: private, operations: [read]}]) {
  items: [BrowseAllSubjectClassConnection]
}

type BrowseAllSubjectClassConnection {
  subject: Subject
  classes: [Class]
  teachers: [Teacher]
}

type Subject{
  id: ID!
  decp: String
}

type Class {
  id: ID!
  decp: String

}

type Teacher {
  id: ID!
  decp: String
}

type Browse @model @auth(rules: [{allow: public, operations: [read,update,delete]}, {allow: private, operations: [read,update,delete]}]){
Id: ID!
browseAllContent: BrowseAllConnection @function(name: "testfuncgql-${env}")
}

I was able to mitigate the error by removing the @model @auth from the Class and Teacher types. Passing a model type on a non model type resulted in the error.  Hence, marking this as a bug for further improvements.

Note: on testing the schema in transformer v1 both the schemas pushed successfully and no errors were displayed on gql-compile.

@ykethan I'm not sure if that's entirely what I want, since I also have queries like listClasses, listTeachers etc that need auth

Hey @SaileshKumar :wave: what is the motivation for not using @model on the non-model types wrapping model types? Have you looked into porting the custom connection tables to using the new relational directives? https://docs.amplify.aws/cli/graphql/data-modeling/#setup-relationships-between-models

Adding a p2 label specifically for adding guards around running amplify api gql-compile with this use case


[Q] How to get wandb to work with multiple run slurm multi-tasks/multi-node?

What I am trying to do
I'm trying to run multiple configurations of my model using wandb (via Pytorch Lightning WandbLogger). It's working fine until I try to add more parallelism using the slurm task because my HPC cluster imposes a policy for a maximum submission with a maximum of 4 jobs. So, it's a waste to run 1 job with only 1 configuration.
The problem arises, if I try to do n nodes m tasks per job (so I get n x m configurations per job).  This resulting the task of rank 0 gets logged but the rest aren't.
I tried wand.init(reinit=True) but with no luck.
Environment

slurm job submission: submitit 0.12
pytorch-lightning 1.13

I tried this on 2 nodes, 2 tasks per node
def add_func(a, b):
    import wandb
    from pytorch_lightning.loggers import WandbLogger
    from pytorch_lightning.utilities.distributed import _get_rank
    wandb.login()
    logger = WandbLogger(name='test', save_dir='testwand', offline=True, reinit=True)
    logger.experiment.log({'metric': a+b})
    logger.experiment.save()
    return a + b, _get_rank()

I get [(2, 0), (2, 1), (2,2), (2,3)]
It seems that this problem comes from pytorch-lightning WandbLogger itself where find SLURM ProcId for rank_zero_experiment decorator. So it's just skip logging even I set reinit=True.
Closing this since it's coming from pytorch-lightning.


How to update the parameters βn and vn?

Hi, @layog
I am glad to find your code, it is a great help for my understanding of the paper. But I am confused that how do you update the β and ν in activation layer? I notice that you have set the initial value, 1 for β and 0 for ν, is it the exact implementation of the paper which is described as statistical features?

Yes, the β (called betas in the code) and ν (called shift_parameters in the code) are trainable. Both of these are defined as variables and hence are trained when training the complete network. These along with BatchNorm parameters are trained when train_step is computed. The initial values are chosen to be 1 for betas and 0 for shift_parameters (just like it is done in the BatchNorm layer) in order to retain the actual information and these are subsequently trained by the network.

`        def ABCLayer(input_tensor, name=None):
with tf.name_scope(name, "ABCLayer"):
# Reshaping betas to match the input tensor
reshaped_betas = tf.reshape(betas,
shape=[no_ApproxConvLayers] + [1] * len(input_tensor.get_shape()),
name="reshaped_betas")
            # Calculating ApproxConv for each shifted input
            ApproxConv_layers = []
            for index in range(no_ApproxConvLayers):
                # Shifting and binarizing input
                shifted_input = tf.clip_by_value(input_tensor + shift_parameters[index], 0., 1.,
                                                 name="shifted_input_" + str(index))
                binarized_activation = tf.sign(shifted_input - 0.5)

                # Passing through the ApproxConv layer
                ApproxConv_layers.append(ApproxConvLayer(binarized_activation))
            ApproxConv_output = tf.convert_to_tensor(ApproxConv_layers, dtype=tf.float32,
                                                     name="ApproxConv_output")

            # Taking the weighted sum using the betas
            ABC_output = tf.reduce_sum(tf.multiply(ApproxConv_output, reshaped_betas), axis=0)
            return ABC_output`

As is shown above,  shift_parameters and reshaped_betas are computed in the same way with the same data,  I wonder if all shift_parameters will be trained to the same value. Or do I miss something?

You are probably right. This might be a fatal bug in the code, that I have overlooked. Nonetheless, I would have to test this whether all shift_parameters and betas are learning the same values. If you have already tested it, do share your results.
If it actually is a bug, an easy fix would be to initialize shift_parameters and betas from a gaussian (Glorot initialization should be better) rather than fixed values.

I'm sorry that I haven't tested it, but I find that the paper gives some advise to initializing shift_parameters and betas in supplementary material. Thank you again for your generous share.


Issues Connecting Prefect to Postgresql

Summary
I'm trying to connect with Prefect, I passing a URL with the following format to the secret documented here:
postgresql+asyncpg://user:pass@mydb-host.us-west-2.rds.amazonaws.com/dbname?sslmode=require&sslrootcert=~/.postgresql/server-ca.pem

I'm mounting the certificates in a volumeMount in the path ~/.postgresql as documented here.
This configuration works fine without the SSL configuration but it seems like there is a lack of documentation when it comes to using SSL to connect to postgres.
Current behavior
When I use the URL above, The prefect-server pod fails with the following error:
  File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 615, in connect
    return self.loaded_dbapi.connect(*cargs, **cparams)
  File "/usr/local/lib/python3.8/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 916, in connect
    await_only(creator_fn(*arg, **kw)),
TypeError: connect() got an unexpected keyword argument 'sslmode'

Application startup failed. Exiting.

According to this issue, the key ssl should be used instead of  sslmode but still failing this time with the error:
    return self.loaded_dbapi.connect(*cargs, **cparams)
  File "/usr/local/lib/python3.8/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 916, in connect
    await_only(creator_fn(*arg, **kw)),
TypeError: connect() got an unexpected keyword argument 'sslrootcert'

Desired behavior

Prefect should be able to parse the arguments from the URL and attempt an SSL connection with Postgresql using certificates.

The documentation should illustrate how to configure correctly connections to psql using SSL.

I'm using the version: 2023.03.30 of the helm chart.
How can I configure Prefect to use an SSL connection with Postgresql using certificates?
Thanks!
This issue can be related to https://github.com/sqlalchemy/sqlalchemy/issues/6275 and  https://github.com/tortoise/tortoise-orm/issues/1376

I managed to resolve this issue.
First I needed to configure prefect to mount the certificate to the root certificate in /home/prefect/.postgresql that way it can be found by asyncpg. This is the default location according to the postgres documentation.
prefect-server:
  server:
    image:
      prefectTag: 2.10-python3.9
      debug: true
    extraVolumes:
      - name: db-ssl-secret
        secret:
          secretName: db-ssl-secret
          defaultMode: 384
    extraVolumeMounts:
      - name: db-ssl-secret
        mountPath: "/home/prefect/.postgresql"
        readOnly: true
  postgresql:
    useSubChart: false
    auth:
      existingSecret: prefect-postgresql

The connection string should have the following format:
postgresql+asyncpg://user:pass@mydb-host.us-west-2.rds.amazonaws.com/dbname?ssl=verify-ca notice the argument ssl=verify-ca, that argument will require a file with the name root.crt holding the ca certificate for the database.
apiVersion: v1
kind: Secret
metadata:
  name: db-ssl-secret
data:
  root.crt: BASE64ENCODECERTIFICATE=
type: Opaque

I hope this can help someone else. I'll leave the PR open since this configuration should be added to the documentation.


Pressing Ctrl+W while renaming a file closes the active editor tab

Issue Type: Bug
While creating or renaming a file in the File Explorer, if Ctrl + W is pressed, the active editor window is closed, which looks like an unintended consequence of the keybinding.
The same keybinding (Ctrl + W) is disabled outside the editor's context, i.e. while any other pane is highlighted or any menu is opened, hence not closing the editor. But it seems to work while renaming a file in the File Explorer Tree, which ideally should not happen.
To reproduce the issue:

Start VSCode in any folder with some files in it.
Open any number of files from the File Explorer Panel.
Create a new file or rename any existing file in the File Explorer Panel.
Press Ctrl + W. The active editor is closed everytime you press Ctrl + W.

If this is intended, sorry to bother, please close the issue.
VS Code version: Code 1.38.1 (b37e54c98e1a74ba89e03073e5a3761284e3ffb0, 2019-09-11T13:30:08.229Z)
OS version: Linux x64 5.0.0-29-generic

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz (4 x 3099)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwareoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: disabled_softwareskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: unavailable_offviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
7.69GB (0.61GB free)

Process Argv
.

Screen Reader
no

VM
0%

Extensions (9)

Extension
Author (truncated)
Version

better-comments
aar
2.0.5

swagger-viewer
Arj
2.2.2

EditorConfig
Edi
0.13.0

jsonnet
hep
0.1.0

vscode-docker
ms-
0.8.1

python
ms-
2019.9.34911

cpptools
ms-
0.25.1

Go
ms-
0.11.4

vscode-proto3
zxh
0.3.0

/question

The same keybinding (Ctrl + W) is disabled outside the editor's context

I can't reproduce this issue - in my case editor tabs are closed every time - when I use Explores with keyboards, Typing commit message in VCS tab, typing/navigating in search panel. And when you check default shortcut configuration there are no when clause for this shortcut.
Terminal is of course an exception because it intercepts this keybinding.
If you really want to prevent this behavior you can disable default shortcut (second object) and add same shortcut with same action but with when clause.
    {
        "key": "ctrl+w",
        "command": "workbench.action.closeActiveEditor",
        "when": "editorTextFocus"
    },
    {
        "key": "ctrl+w",
        "command": "-workbench.action.closeActiveEditor"
    }

Please let maintainers know if you are sure that this issue was closed by mistake.


Error !!!

2023-04-08 00:16:57 INFO main -> Failed to solve captcha (zefoy may have blocked you) [list index out of range]
Traceback (most recent call last):
File "c:\Users\nguye\OneDrive\Desktop\TikTok-ViewBot-main\main.py", line 138, in
zefoy  = Zefoy(client).mainloop()
File "c:\Users\nguye\OneDrive\Desktop\TikTok-ViewBot-main\main.py", line 77, in init
this.config = load(open('config.json', 'r'))
FileNotFoundError: [Errno 2] No such file or directory: 'config.json'

updated


Updating Linux Install Instructions

Problem
the current linux install instructions are broken. On Ubuntu the python-pip package is way out of date and cannot install yotta.
Solution
replace python-pip with easy_install pip from the python-setuptools package. Modified the pre-requisite installer string to reflect this change and then update and install packages in order.

Thanks – looks good!


fixed the owner/parent warning issue

the warning had actually two causes:

the fact that the array was created in getChildContext which was called twice to perform the check. keeping a reference to it solves this
the fact that the RouteHandler component didn't wrap its handler with an element

Neat.

the fact that the RouteHandler component didn't wrap its handler with an element

Hoping there is another solution for this part of the problem. Introducing an unexpected wrapping element can be a pain to manage layout-wise, particularly with flexbox layouts.

I'm bumping into a similar problem on my more general 0.13 compat PR: https://github.com/rackt/react-router/pull/948
There's some conversation in there about an alternative using this.props.children instead of <RouteHandler /> to get around this, but that causes it's own issues.
It's a very curious problem.

@bradleyboy the simplest workaround would be to transfert props from the RouteHandler owner to its _currentElement, as well as letting the user choose what component it should render.
would be like :
class SomeComponent extends Component {
  render() {
    return (
      <div className="SomeComponent">
        <RouteHandler className="SomeComponent" component="span" />
      </div>
    )
  }
}

fixed in #948
Thanks for the great work @bloodyowl :)


Caching Blogs and Tags in Memory

Does Ghost support caching blogs, tags, and other things for fast retrieval? If not, I'd like to request the team to add this feature.

@ramandhingra with the exception of settings, there's no explicit caching, but there is a fair amount of optimization that goes on regarding that. In my opinion, Ghost does enough for speed that implementing any additional caching is somewhat overkill.
However, there is the wishlist where you can submit your caching idea if you so choose. Again though, ghost does optimize a fair amount.


Make sure bsd-mailx is used

So, C&CZ now decided to use s-nail instead bsd-mailx for mail, and the command line options are not compatible. Just using mailx is not sufficient, this now also maps to s-nail on lilo5. Using bsd-mailx works on both lilo4 and lilo5...

Hoi Camil,
Ik kan je ook gewoon collaborator maken op de repo; op't moment heb ik
maar toegang tot 1 blackboard-course om wijzigingen op te testen.
Groet,
Marc
Camil Staps wrote:

So, C&CZ now decided to use |s-nail| instead |bsd-mailx| for |mail|, and
the command line options are not compatible. Just using |mailx| is not
sufficient, this now also maps to |s-nail| on lilo5. Using |bsd-mailx|
works on both lilo4 and lilo5...

    You can view, comment on, or merge this pull request online at:

https://github.com/squell/bb-scripts/pull/33
    Commit Summary

Make sure bsd-mailx is used
File Changes

M mailto.sh
https://github.com/squell/bb-scripts/pull/33/files#diff-0 (2)
Patch Links:

https://github.com/squell/bb-scripts/pull/33.patch

https://github.com/squell/bb-scripts/pull/33.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/squell/bb-scripts/pull/33, or mute the thread
https://github.com/notifications/unsubscribe-auth/AD9n39jxLusceYhDF0omVxJSSiFA2brgks5rETCLgaJpZM4LDPkY.

Top, dankjewel!
Camil


FaF Support Request - Confirmation page

Changes in this PR

add FaF confirmation page
enable FaF confirmation email submission

Screenshots of UI changes

 #234 FaF Support Request - Confirmation Email


Configuring to upstream coal and gas models

To map and connect with the upstream coal and gas models, I am recommending adjustments to the categorization and flow names of the upstream processes and product flows, which I believe should only impact upstream_dict.py, and possible fuelname_1.csv. Because these processes span multiple stages (i.e. extraction and processing) I propose mapping them to the processing NAICs where the reference product flow will reside in the upstream models for both flows and processes.
e.g. "natural gas, at transmission" in 22: Utilities/2212: Natural Gas Distribution instead of
21: Mining, Quarrying, and Oil and Gas Extraction/2111: Oil and Gas Extraction
@jump2conclusionsmatt I can implement this change if all agree

I think this is fine.


Aggregated tasks try Configurations from wrong projects when crossScalaVersions are mixed

(Triage: can be labelled area/cross_building)
Another stateful cross-building issue, everyone's favorite kind by now? 😅
This is somewhat like #5497 except a Configuration is tried that should not be, rather than a cross version.
steps
Create a minimal build definition where projects differ in their crossScalaVersions and applied Configurations:
sbt.version = 1.4.6

val scala212 = "2.12.12"
val scala213 = "2.13.4"

inThisBuild(
  List(
    organization := "org.example",
    scalaVersion := scala213,
    crossScalaVersions := List(scala212, scala213),
  )
)

// https://github.com/sbt/sbt/issues/3698#issuecomment-473530474
crossScalaVersions := Nil

lazy val core = project

lazy val app = project
  .dependsOn(core)
  .configs(IntegrationTest)
  .settings(Defaults.itSettings)
  .settings(
    scalaVersion := scala212,
    crossScalaVersions := List(scala212),
  )

Or a variation where scalaVersion doesn't differ, to distinguish from that aspect of #5586:
lazy val core = project
  .settings(crossScalaVersions += "2.11.12")

lazy val app = project
  .dependsOn(core)
  .configs(IntegrationTest)
  .settings(Defaults.itSettings)

problem
When running a task aggregated on root with +, which works as expected when crossScalaVersions is homogeneous, sbt appears to construct a task invocation for a configuration scope that is defined on one project but not others:
sbt:demo> +it:compile
[info] Setting Scala version to 2.12.12 on 2 projects.
[info] Excluded 1 projects, run ++ 2.12.12 -v for more details.
[info] Reapplying settings...
[info] set current project to demo (in build file:/private/tmp/demo/)
[success] Total time: 0 s, completed Jan 21, 2021 12:10:56 AM
[error] Expected ';'
[error] No such setting/task
[error] ++  2.13.4 core/It/compile

expectation
The aggregated +it:compile runs the task for the project where the Configuration is added, not projects where it is not.

Thanks for the report.
To supplement this, here's what happens without cross building as a reference.
ThisBuild / scalaVersion     := "2.13.4"
ThisBuild / version          := "0.1.0-SNAPSHOT"
ThisBuild / organization     := "com.example"

lazy val core = project

lazy val app = project
  .dependsOn(core)
  .configs(IntegrationTest)
  .settings(Defaults.itSettings)

sbt:hello> IntegrationTest/compile
[success] Total time: 0 s, completed Jan 23, 2021 2:32:59 PM
sbt:hello> core/IntegrationTest/compile
[error] No such setting/task
[error] core/IntegrationTest/compile
[error]

So the real aggregation feature of sbt is permissive of IntegrationTest not being present in core when called at the root level, but would error when specified as core/IntegrationTest/compile. So the emulated aggregation using + should follow that, and I agree with the expectation:

The aggregated +it:compile runs the task for the project where the Configuration is added, not projects where it is not.

Thanks for the report.
To supplement this, here's what happens without cross building as a reference.
ThisBuild / scalaVersion     := "2.13.4"
ThisBuild / version          := "0.1.0-SNAPSHOT"
ThisBuild / organization     := "com.example"

lazy val core = project

lazy val app = project
  .dependsOn(core)
  .configs(IntegrationTest)
  .settings(Defaults.itSettings)

sbt:hello> IntegrationTest/compile
[success] Total time: 0 s, completed Jan 23, 2021 2:32:59 PM
sbt:hello> core/IntegrationTest/compile
[error] No such setting/task
[error] core/IntegrationTest/compile
[error]

So the real aggregation feature of sbt is permissive of IntegrationTest not being present in core when called at the root level, but would error when specified as core/IntegrationTest/compile. So the emulated aggregation using + should follow that, and I agree with the expectation:

The aggregated +it:compile runs the task for the project where the Configuration is added, not projects where it is not.

Ran into this as well. Working around it for now with .configs(IntegrationTest).settings(IntegrationTest / test := {})


ENS names

prototyping...
For #858

ah great, moving forward with the subgraph variant in here would require us to figure out a way to generate subgraph typings from our own subgraphs, and external ones. Before that, deployments and tests will fail.

In this case we can just write them. Test fail because we still use that apollo command, we should remove that at some point.

those typings... So yes to kicking out Apollo and switching typings generation to urql as defined in #722. It's already prepared in code, the commands are there and I quickly tried to switch it in here but then needs lots of changes to source the newly generated typings but the generation itself seems to work flawlessly already.
As for now, just need to figure out a way to manually type out that ENS subgraph query so Apollo then does not try to grab that query from our defined Rinkeby subgraph to generate typings. Any ideas on where exactly to put some Ens.d.ts file and how it should be typed? Already tried something like this in<EMAIL_ADDRESS>export interface UserEnsDomains_domains_name {
  __typename: 'UserEnsDomains'
  accountId: string
}

But Apollo codegen does not seem to pick that up during its typing generation.
@bogdanfazakas do you remember anything regarding this when looking into all this graphql typing generations which could help here?

those typings... So yes to kicking out Apollo and switching typings generation to urql as defined in #722. It's already prepared in code, the commands are there and I quickly tried to switch it in here but then needs lots of changes to source the newly generated typings but the generation itself seems to work flawlessly already.
As for now, just need to figure out a way to manually type out that ENS subgraph query so Apollo then does not try to grab that query from our defined Rinkeby subgraph to generate typings. Any ideas on where exactly to put some Ens.d.ts file and how it should be typed? Already tried something like this in<EMAIL_ADDRESS>export interface UserEnsDomains_domains_name {
  __typename: 'UserEnsDomains'
  accountId: string
}

But Apollo codegen does not seem to pick that up during its typing generation.
@bogdanfazakas do you remember anything regarding this when looking into all this graphql typing generations which could help here?

yep the generation was working but it was not replaced yet due to missing types and some types that were generated differently. Regarding the domain name types I don't remember specifically but i can take a look now over the decimation to see if I find something useful

I think apollo tries to check all the queries based on the config from apollo.config.js

"solved" the typings for now but following #722 definitely would be better choice

Should we update the links in the market to use ens instead of address?

yup, good idea, URL already gets replaced in address bar automatically though

Indeed , did not notice that.

if i navigate to the url directly it works ok

if i navigate to the url directly it works ok

that should have been fixed by changing to linking to ens name URLs as it saves one roundtrip in the logic

So if someone has the url with address instead of ens it will fail to load proper data?

So if someone has the url with address instead of ens it will fail to load proper data? This is not ok behavior.

for me it switched automatically to ens when tried the following url  https://market-git-feature-accountpageens-oceanprotocol.vercel.app/profile/0x655efe6eb2021b8cefe22794d90293aec37bb325

It seems that the bug in my gif was happening only when navigating to a url with address from the market. If i navigate directly to the url it's ok.  Guess it's sort of fixed now, since we don't have those url in the market.


ci-setup: Use cache directory

Coverage remained the same at 21.378% when pulling 324d0d2376471fb0c354255c64fea2e2f0201d16 on jasan/ci-setup-cache into 97fea95c91ab651d8359e3ea4199a3fe75ff83a4 on master.

Coverage remained the same at 21.378% when pulling 7bf76fa98004d9c520ddf9f80f539d120acb0519 on jasan/ci-setup-cache into 97fea95c91ab651d8359e3ea4199a3fe75ff83a4 on master.

Coverage remained the same at 21.378% when pulling 37a16d78f24d2e249552e5022887800321105159 on jasan/ci-setup-cache into 97fea95c91ab651d8359e3ea4199a3fe75ff83a4 on master.

Changes Unknown when pulling 3be74d5887c7aeefc8a1901e710ff766543f8f1e on jasan/ci-setup-cache into ** on master**.

Changes Unknown when pulling f9c3676ead7664baca48c75631f3c3cd6d58a0b9 on jasan/ci-setup-cache into ** on master**.

Changes Unknown when pulling 9036a75c34ad268ce5b4796da6ed3036b998a72e on jasan/ci-setup-cache into ** on master**.


StatsdClient flush functionality

Problem
The StatsDClient utilizes a MetricSink, which can optionally be buffered. Buffering helps save network bandwidth; however, the BufferedUdpMetricSink won't be flushed until it is full. For, an application which emits relatively few time-sensitive metrics in conjunction with a large amount of time-insensitive metrics, the default buffer flushing may not give the user enough control and result in faulty metric collection (especially since StatsD does not tag metics with a timestamp).
Solution
I have added a pub fn flush() to the StatsDClient which gives users the control they need to flush time-sensitive metrics while also allowing the regular buffer functionality to flush once the buffer is full. Also, I added a ToCounterValue implementation for the u64 type since most counters are unsigned.

Hi! Thanks for the PR. Adding a flush() method to StatsdClient was previously proposed in https://github.com/56quarters/cadence/pull/176. I'm still not a huge fan of adding that method and would rather have a sink that periodically flushes (every 1s or so) but it seems like people want this functionality.
I'm curious about your opinion @mlowicki since you recently made some flush() related changes to the QueuingMetricSink.

Also, I added a ToCounterValue implementation for the u64 type since most counters are unsigned.

Do you opening a separate PR for those changes? Thank you!

Yeah we didn't see any sinks that flush on a time interval and also figured some manual control would be best for developers who need it. And sure, I will separate out the ToCounterValue changes. Thanks!

Hi! Thanks for the PR. Adding a flush() method to StatsdClient was previously proposed in #176. I'm still not a huge fan of adding that method and would rather have a sink that periodically flushes (every 1s or so) but it seems like people want this functionality.
I'm curious about your opinion @mlowicki since you recently made some flush() related changes to the QueuingMetricSink.

It should be still possible to manually flush by keeping reference to the underlying sink and calling flush() directly on such sink so method on StatsdClient seems redundant (although it may simplify the code by avoiding a bit of code to wrap the sink with Arc and so on).

Sounds good, I've made the changes and everything should be RTG.


Testing Data missing Starting 06/08 for Pennsylvania Counties

Hi Team,
County Level Testing data for Pennsylvania is missing in the CSV (Tidy Format) starting 6/8/2020.  Could you please look into this?
Thanks,
Pankaj

Thanks Pankaj.  Unfortunately we're not going to be able to look into this for a while, due to our existing backlog.  If you or a friend/colleague/contact can look into the source code and data, that would be a great help to expedite the fix.  Cheers! jz

@jzohrab : Would you know any alternate source where this information is available ?

Hm ... not offhand.  I've resorted to Google and then poking around on government sites in order to find good sources.  If you find one, please let me know!  jz

Pennsylvania  Department of health have started reporting the data in the pdf format from 06/09. Starting 06/10 the pdf's are in consistent format.
All the archived files are present on this link
I wrote a small code to extract all the pdf's (I am sure you'll have a better way to code this as I am new to Python). Now trying to convert pdf's to dataframe to use this data.
from bs4 import BeautifulSoup
import urllib.request
import pandas as pd

output_list = []
main_url = 'https://www.health.pa.gov/'
parser = 'html.parser'
resp = urllib.request.urlopen("https://www.health.pa.gov/topics/disease/coronavirus/Pages/Archives.aspx")
soup = BeautifulSoup(resp, parser, from_encoding=resp.info().get_param('charset'))

for link in soup.find_all('a', href=True):
    if ('pdf'.upper() in link['href'].upper() and ('COVID-19%20County%20Data' in link['href'])):
        output_list.append(main_url + link['href'])

parser = 'html.parser'
resp = urllib.request.urlopen("https://www.health.pa.gov/topics/disease/coronavirus/Pages/June-Archive.aspx")
soup = BeautifulSoup(resp, parser, from_encoding=resp.info().get_param('charset'))

for link in soup.find_all('a', href=True):
    if ('pdf'.upper() in link['href'].upper() and ('COVID-19%20County%20Data' in link['href']) and ('6-9-2020' not in link['href'])):
        output_list.append(main_url + link['href'])

This project only runs nodejs sources.  Extracting from PDFs is tough/annoying.  Thanks for the link, I'll keep it in mind as when we port PA to the new system.  Cheers! jz


Support CID for Address Validation

Problem
Draft 30 introduced the option for servers to use the connection ID to validate clients if the CID contains enough entropy.
This change PR is here.
Possible Solution

Add a field to the token provider and format that allows validation by CID, something like allow_cid_validation: bool which defaults to false.
Verify our default Connection ID provider has at least 64 bits of entropy.
If allow_cid_validation is set, mark the path as verified conforming to the QUIC draft update.
Document the option to let customers know about the 64 bit requirement.

Cons
Customers have the ability to write their own Connection ID provider. If customers write their own provider, they must make sure their CIDs have enough entropy if allow_cid_validation is enabled.

Additionally, a server MAY consider the client address validated if the client uses a connection ID chosen by the server and the connection ID contains at least 64 bits of entropy.


[Fix] Introduce TVM_DEBUG_WITH_ABI_CHANGE to warn ABI changes in debug mode

Currently the ABI of tvm::runtime::Map will change if TVM_LOG_DEBUG is enabled or not:
// In MapNode::iterator
#if TVM_LOG_DEBUG
    uint64_t state_marker;
    ...
#else
    ...
#endif  // TVM_LOG_DEBUG

When TVM_LOG_DEBUG is inconsistent between different libraries (e.g. in TVM and in MLC-LLM), the inconsistency in ABI will lead to an invalid read/write.
This PR introduces another macro TVM_DEBUG_WITH_ABI_CHANGE for such cases to warn users that this debug option can lead to changes in ABI. It is not enabled by default.
cc @areusch @tqchen

See also #9842


Adds Places Extension

Description
Adds Places wrapper extension to SDK, and sample app to show functionality
Motivation and Context
Allows React Native users to use the Places SDK
How Has This Been Tested?
Unit tests have been added to test functionality
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

optional: if possible, can we add some jsDocs for the following public model enums/classes?
https://github.com/adobe/aepsdk-react-native/pull/180/files#diff-8805087ca24a8a99c4e6e0b8b37da7868201b763096bca8e3487381dfae0569eR13
https://github.com/adobe/aepsdk-react-native/pull/180/files#diff-334f7b5590dedf996e3cf0e11162546ebcbf425b962ef7b0aad48560d6104161R13
https://github.com/adobe/aepsdk-react-native/pull/180/files#diff-b505456ab4aa4083c1ff1d3a1d0449d1e363f771ccb5b20814be37f7f4ace825R13
https://github.com/adobe/aepsdk-react-native/pull/180/files#diff-356cee5d1ccf7c5785682dc1bd2ae1dc582c0cf8b5910eb284f9c4827d02675aR13
...

Hi there! We're working on something and it would be nice to use this repo for the Places functionality. Any idea if it will be ready within the next week or so?

Hey @evanfuture! We're working to get this publicly released soon, but we will not be able to get it out within the next week. We're currently wrapping up other sdk features and depending on the team's workload hope to be able to release it near the end of the month.

@dsoffiantini Thank you for that, didn't mean to put pressure, just seeing if we could fold it into our release this week.  All good, thank you for the good work!


[DO NOT MERGE] Add datafusion-substrait crate

Which issue does this PR close?

Closes https://github.com/apache/arrow-datafusion/issues/4536
Rationale for this change

Move development of datafusion-substrait into main DataFusion repo.
What changes are included in this PR?

Add new datafusion/substrait folder, containing contents of datafusion-substrait repo, preserving history.
This crate is not part of the workspace yet and depends on an older version of DataFusion. A follow on PR will integrate the crate into the workspace and update the release scripts.

Are these changes tested?

Tests are included.
Are there any user-facing changes?

No

@waynexia @nseekhao @JanKaul I need to go through the ASF IP clearance process to have this code moved into this repo. Could you please follow the instructions at https://www.apache.org/licenses/contributor-agreements.html to submit an ICLA (Individual Contributor Licence Agreement) if you do not already have one on file? Thanks in advance for helping with this!

Thanks @nseekhao and @JanKaul for filing ICLAs.
@waynexia Will you also be able to file an ICLA?

Sorry for the delay 🥲 I just got feedback from the secretary. I'll fix the issue and resubmit it today.

@waynexia @JanKaul @nseekhao @Dandandan Thanks everyone for filing ICLAs. As part of the IP clearance process, I have to remind active committers that they are responsible for ensuring that a Corporate CLA is recorded if such is required to authorize their contributions under their individual CLA.
I have filled out the necessary "paperwork" and will file this in the next day or two and start a vote on accepting this donation. Thanks for your patience.

Thanks for handling this @andygrove

Vote thread: https://lists.apache.org/thread/go28mx024wxnjrpznmtfzd3v5dt49qzp

IP clearance form: https://incubator.apache.org/ip-clearance/arrow-datafusion-substrait.html

The Apache Arrow PMC has voted to accept this contribution:
https://lists.apache.org/thread/qcbdt8y2vkwvwkjmmljn4jzvggzb2fkk
A lazy consensus incubator vote has now started:
https://lists.apache.org/thread/m5q4qxr32xzhotljv6z7mg3dofl46rv6

The incubator vote passed. Given that the PMC has already voted to accept this donation I plan on merging this PR later today.


Support myxql

Hi,
I wondered if you are interested in supporting myxql as well. I already got it to run and with a bit of polishing I could create a PR.

Hi @phihos. Supporting MySQL would be great.
The infrastructure for supporting different database adapters is already in place, so adding support for MySQL shouldn't be too much work. Please, feel free to open a PR.


Consider an alternate error notification strategy at Vanderbilt only

I believe the consortium prefers the current error email behavior over only having apache error logs per this post:
https://community.projectredcap.org/idea/60511/should-we-disable-external-module-error-email-noti.html
At Vanderbilt, we've had a few recent error email blasts from alternate environments (the new REDCap servers before they were fully setup, and an appspot instance).  We may want to consider disabling these in favor simply using the apache error log and splunk for notifications.  I'd like to think on this more regardless.
Long term, everyone might benefit from some sort of built-in error reporting page instead or in addition to both current solutions.

The following issue might be the best option:
https://github.com/vanderbilt/redcap-external-modules/issues/218


代码规范问题

在项目的整体结构上 是不是不用参考阿里规范写代码  我看该项目还有一些代码规范等级的问题？

Hello, @token01
Could you take some review online or submit PR to polish codes?

It would be great that you submit PRs for better code style. And we will also optimize the code continually.


[Event Request] Page 6500 "Item Tracking Summary" procedure DrillDownEntries

Dear ALAppExtensions Team:
Our solution extends the tracking management funcionality.To do so, we need a new event publisher in procedure DrillDownEntries in Page 6500 "Item Tracking Summary"
NEW PUBLISHER:
[IntegrationEvent(false, false)]
local procedure OnDrillDownEntriesOnAfterSetFilters(var TempReservEntry: Record "Reservation Entry" temporary; EntrySummary; Record "Entry Summary" temporary);
begin
end;
The code in procedure "DrillDownEntries" in Page 6500 "Item Tracking Summary" would be modified as follows:
OLD CODE:
....
local procedure DrillDownEntries(FieldNumber: Integer)
var
    TempReservEntry2: Record "Reservation Entry" temporary;
begin
    TempReservEntry.Reset();
    TempReservEntry.SetCurrentKey(
      "Item No.", "Source Type", "Source Subtype", "Reservation Status",
      "Location Code", "Variant Code", "Shipment Date", "Expected Receipt Date", "Serial No.", "Lot No.");

    TempReservEntry.SetRange("Lot No.", "Lot No.");
    if "Serial No." <> '' then
        TempReservEntry.SetRange("Serial No.", "Serial No.");

    case FieldNumber of
        FieldNo("Total Quantity"):
            begin
                // An Item Ledger Entry will in itself be represented with a surplus TempReservEntry. Order tracking
                // and reservations against Item Ledger Entries are therefore kept out, as these quantities would
                // otherwise be represented twice in the drill down.

                TempReservEntry.SetRange(Positive, true);
                TempReservEntry2.Copy(TempReservEntry);  // Copy key
                if TempReservEntry.FindSet then
                    repeat
                        TempReservEntry2 := TempReservEntry;
                        if TempReservEntry."Source Type" = DATABASE::"Item Ledger Entry" then begin
                            if TempReservEntry."Reservation Status" = TempReservEntry."Reservation Status"::Surplus then
                                TempReservEntry2.Insert();
                        end else
                            TempReservEntry2.Insert();
                    until TempReservEntry.Next = 0;
                TempReservEntry2.Ascending(false);
                PAGE.RunModal(PAGE::"Avail. - Item Tracking Lines", TempReservEntry2);
            end;
        FieldNo("Total Requested Quantity"):
            begin
                TempReservEntry.SetRange(Positive, false);
                TempReservEntry.Ascending(false);
                PAGE.RunModal(PAGE::"Avail. - Item Tracking Lines", TempReservEntry);
            end;
    end;
end;

....
NEW CODE:
...
local procedure DrillDownEntries(FieldNumber: Integer)
var
    TempReservEntry2: Record "Reservation Entry" temporary;
begin
    TempReservEntry.Reset();
    TempReservEntry.SetCurrentKey(
      "Item No.", "Source Type", "Source Subtype", "Reservation Status",
      "Location Code", "Variant Code", "Shipment Date", "Expected Receipt Date", "Serial No.", "Lot No.");

    TempReservEntry.SetRange("Lot No.", "Lot No.");
    if "Serial No." <> '' then
        TempReservEntry.SetRange("Serial No.", "Serial No.");

    //new code start
OnDrillDownEntriesOnAfterSetFilters(TempReservEntry,Rec);
//new code end

    case FieldNumber of
        FieldNo("Total Quantity"):
            begin
                // An Item Ledger Entry will in itself be represented with a surplus TempReservEntry. Order tracking
                // and reservations against Item Ledger Entries are therefore kept out, as these quantities would
                // otherwise be represented twice in the drill down.

                TempReservEntry.SetRange(Positive, true);
                TempReservEntry2.Copy(TempReservEntry);  // Copy key
                if TempReservEntry.FindSet then
                    repeat
                        TempReservEntry2 := TempReservEntry;
                        if TempReservEntry."Source Type" = DATABASE::"Item Ledger Entry" then begin
                            if TempReservEntry."Reservation Status" = TempReservEntry."Reservation Status"::Surplus then
                                TempReservEntry2.Insert();
                        end else
                            TempReservEntry2.Insert();
                    until TempReservEntry.Next = 0;
                TempReservEntry2.Ascending(false);
                PAGE.RunModal(PAGE::"Avail. - Item Tracking Lines", TempReservEntry2);
            end;
        FieldNo("Total Requested Quantity"):
            begin
                TempReservEntry.SetRange(Positive, false);
                TempReservEntry.Ascending(false);
                PAGE.RunModal(PAGE::"Avail. - Item Tracking Lines", TempReservEntry);
            end;
    end;
end;

....
Thanks!

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Expensive weekly AMIP pipeline runs even when nothing has changed

The AMIP pipeline uses 1 GPU for 3 full days. The pipeline uses released version of packages, so, if no new versions are released, the same pipeline is run twice.
We can easily avoid this by adding a check before we run the pipeline: if the git hash is the same of the previous run, we skip the pipeline.

As a first step, I added an option to prevent the pipeline from running if no commits were added in the past week


Driver functionality in WebClient?

I have a v<IP_ADDRESS>1 and I am using the v9.0.2 beta branch.
I am attempting to use the xrmApp instead of xrmBrowser so i can use UCI,
Is the xrmBrowser.Driver functionality (found in Microsoft.Dynamics365.UIAutomation.Sample\Web\ValidationTests\CreateWorkflow.cs ) available for xrmApp?
examples of uses i use
using (var xrmBrowser = new Microsoft.Dynamics365.UIAutomation.Api.Browser(TestSettings.Options))
{
xrmBrowser.Driver.WaitForPageToLoad();
xrmBrowser.Driver.FindElement(By.LinkText("abc")).Click();
}
//to change to
var client = new WebClient(TestSettings.Options);
using (var xrmApp = new XrmApp(client))
{
xrmApp.Driver.WaitForPageToLoad();
xrmApp.Driver.FindElement(By.LinkText("abc")).Click();
}

i am facing same issue can you help us ? @TYLEROL

I'm also interested in getting the answer to this question.

Hello
I am using the XrmApp and i am facing the similar issue.
How can i call Browser/Driver using XrmApp?.
If i use "client.Browser.Driver" it is opening a different window.
Also to scroll down the page i am using the below code
        IJavaScriptExecutor js = (IJavaScriptExecutor)**XrmApp**;
        js.ExecuteScript("window.scrollTo(0, 1000)");

Please let me know your suggestions.


avoid cloning value being simplified

In the simplifier main loop we clone the current value, simplify the clone, check if they are equal and if they are we stop simplifying. This clone is expensive so now we just hash the term, simplify it, and compare the new hash to the old one to see if we're done. Not cloning the whole expression every step speeds things up.

If this actually helps perf seems good, but it seems surprising to me that the hash is faster than an Rc bump.

Already in from a prev PR


Class Diagram misses some tags

Seems that the tag detection code in tana_parser.py misses a number of tags. They appear to be structured differently (?) than most in the JSON dump file. Possible evolution in graph structure?

Fixed in 0.2.1


[Bug] fail-on-eol-found not failing action

XEOL is succesfully identifying EOL versions, but not failing the GitHub action when --fail-on-eol-found is true
The following output is shown in the Run<EMAIL_ADDRESS>step
Run<EMAIL_ADDRESS>/usr/bin/chmod +x /home/runner/work/_temp/648ec04b-47db-44d5-a28e-52b3b9[15](https://github.com/mapbox/thing-for-you/actions/runs/6943289188/job/18888033942?pr=131#step:9:16)74ef
/home/runner/work/_temp/648ec04b-47db-44d5-a28e-52b3b91574ef -b /home/runner/work/_temp/648ec04b-47db-44d5-a28e-52b3b91574ef_xeol v0.9.3
[info] checking github for release tag='v0.9.3'
[info] fetching release script for tag='v0.9.3'
[info] checking github for release tag='v0.9.3'
[info] using release tag='v0.9.3' version='0.9.3' os='linux' arch='amd64'
[info] installed /home/runner/work/_temp/648ec04b-47db-44d5-a28e-52b3b91574ef_xeol/xeol
xeol output...
  Executing: xeol -o table --fail-on-eol-found localbuild/testimage:latest
NAME    VERSION  EOL         DAYS EOL  TYPE
Ubuntu  18.04    2023-05-31  174       os
node    14.15.4  2023-04-30  205       binary

Is it expected the GH Action will "Pass" and continue forward even though EOL has been found?

Is it expected the GH Action will "Pass" and continue forward even though EOL has been found?

Nope, it should fail here! Good find, I'll work on a fix right now.

I was able to reproduce on v1.0.7 of the action. It seems like this was an issue related to setting argument values that was fixed in PR https://github.com/xeol-io/xeol/pull/229 and included in version v0.9.10 of Xeol.
Version v1.0.8 of the action should include the fix and we should now fail a CI pipelines when --fail-on-eol-found is passed.
Thanks again for the report!

Hey @noqcks! Thanks for such a hasty response and fix!
I confirm this is now failing upond finding EOL 😄


Convolutional networks

Hey,
Reading the project's README.md it is mentioned that it implements 2D Convolutional layers, but the CNN is not implemented.
Therefore, what does CNN stands for?

Yep, I didn't understand this either.


How is date / time stored in trophy files?

i am trying to make a simular app to this for the psvita, i have mananged to decrypt a trophy data file and the timestamp looks like this:
E2 24 07 8B C0 CA 66 under a hex editor. i cant seem to figure out how this actually relates to the time set i can change some things and the time will change on the system but i cant control how it will change
i think its probably simular to ps3.. so how does it work there ?

ok so the vita is little endain. BUT its not using a UNIX timestamp.. its using something else..
i made a plugin awhile ago to unlock all trophys instantly (just for loops through the list)
trophy #1:
63082238521902556
trophy #2:
63082238522656535
i think        ^^ is the seconds since it goes up by one each trophy and it takes about 1 second to run sceNpTrophyUnlockTrophy. not quite sure what format this is..

What time was<PHONE_NUMBER>2656535 display in ps vita?
Diff two timestamp that we can know how to parse this timestamp.

There all from TropHAX (a plugin that unlocks every trophy in a game)
Trophy #1:
63653109374899251
2/2/2018 8:16AM
Trophy #2
63653109375790203
2/2/2018 18:16AM
Trophy #3
63653109376644633
2/2/2018 18:16AM
Trophy #4
63653109377492984
2/2/2018 8:16AM
Trophy #5
63653109378308334
2/2/2018 8:16AM
etc.. etc.

ah i figures out the format:
its the number of microseconds since 0001/01/01


Fix streams sidebar layout

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


Ability to tweak cell's state to manipulate chart or pivot table under notebook

Description
We have been asked a couple of times on how to tweak cell's state to manipulate chart.
It would be nice to provide documentation on how to tweak the notebook's cell state.
atoti's charts are built on top of plotly. Hence, much of it can be configured from the property inspector with reference to the plotly script reference:
e.g. to change the fonts (https://plotly.com/javascript/reference/#layout-font), we add the below under the "configuration" (refer to attached gif
):
                        "plotly": {
                            "layout": {
                                "font": {
                                    "family": "Courier New",
                                    "size": "16",
                                    "color": "blue"
                                }
                            }
                        },

If you would like to override the lines settings, you can do so by adding the below under configuration using "commonTraceOverride" if you want it to override for all traces (reference https://plotly.com/javascript/reference/#scatter-marker-line for the configurable options under data):
                        "plotly": {
                            "data": {
                                "commonTraceOverride": {
                                    "hoverinfo": "x+y",
                                    "line": {
                                        "shape": "hvh",
                                        "width": "5"
                                    },
                                    "mode": "lines"
                                }
                            }
                        }

Alternatively, you can overwrite by index or by tracekey. Refer to attached powerpoint for more details.
atoti-chart-plotly-configuration.pptx

In the next release, there will be a new context menu action on widgets to open the state editor so I'll close this but keep #105 open.

hi All
thanks for the excellent product. I have  a question with regards to the topic of this Issue,
I have been looking into the state editor for 0.7.2 and i cannot see the same original cell state as in the pictures above. Where (if anywhere) can this customisation be applied to? i.e. it appears that the cell state has changed since this issue was opened and the guide here seems not applicable anymore?

is there an equivalent functionality now?
For example, how do i just change the colours of a waterfall chart made via Plotly? i see defaults being green up and red down but i can't find a way to modify those in Atoti (although i know they can be modified in Plotly!)


Fixes react warnings about keys in html2react

fixes https://github.com/frontity/saturn-theme/issues/91

:tada: This PR is included in version 0.8.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.6.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Select range of reports by Shift-click

This is not a bug but a feature request. It would be nice if you can select a range of reports by pressing Shift while clicking. Consider the following situation in Ladybug:

I want to delete all reports that are not from today. To do this, I select the topmost report from yesterday. Then I would like to click the bottom report while holding Shift. This way I would expect to select the bottom report and all reports between the bottom report and the report already selected. My aim is to press the delete button to delete all reports I selected this way.

@jacodg would like to have this feature.


doc(driver): fix some comments

What type of PR is this?
/kind documentation
Any specific area of the project related to this PR?
/area driver-modern-bpf
Does this PR require a change in the driver versions?
No
What this PR does / why we need it:
Which issue(s) this PR fixes:
This PR fixes some comments
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
NONE

LGTM label has been added.  Git tree hash: aeb95a38a17c20a96f725308f3ed1f549f5b61c3

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, FedeDP
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Andreagit97,FedeDP]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, FedeDP, incertum
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Andreagit97,FedeDP,incertum]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Cannot connect to X server

I was trying to run herdemo_needlepick.sh to test the environment after installing, the error suggested that the file ../surrol/data/demo/data_NeedlePick-v0_random_100.npz does not exist. Therefore, I ran python data_generation.py --env NeedlePick-v0 in surrol/data to get training data, and it showed the following error.
pybullet build time: Nov 28 2023 23:50:19
startThreads creating 1 threads.
starting thread 0
started thread 0
argc=2
argv[0] = --unused
argv[1] = --start_demo_name=Physics Server
ExampleBrowserThreadFunc started
X11 functions dynamically loaded using dlopen/dlsym OK!

	cannot connect to X server

Do you know what might be the problem? Thank you in advance!

Since my cluster doesn't support visual, therefore I have changed render_mode='rgb_array', and everything works fine now.


Replace the regular expressions querys in the VFS.

The functions listFolders and listFiles in the VfsService and VfsResource requires that the user pass a regex to it, The regex could be replaced with a more standard way of serach in a file tree, The needed wilcard characters are.

* - cero or more characters except for \
? - a single character except for \
** - cero or more characters including \

resolved


New version: rocBLAS_jll v5.2.3+2

Autogenerated JLL package registration

Registering JLL package rocBLAS_jll.jl
Repository: https://github.com/JuliaBinaryWrappers/rocBLAS_jll.jl
Version: v5.2.3+2
Commit: 6c81b58a0f54242275e13c5ae66d67c3abcc385e
Revision on Yggdrasil: https://github.com/JuliaPackaging/Yggdrasil/commit/47b25245588ff9adacf45aaaa0923436f90657bb
Created by: @pxl-th

@giordano can you merge it please?


Takes ages to load on macOS

Operating system: macOS Sierra (OSX)
Messenger for Desktop version: 2.0.4

It takes ages to load. The app is white for 2-3 minutes before it finish loading content.

Some times a force reload or quit/restart helps.
Consider that its a browser under it with a full nodejs from what I remember so its heavy for sure...

In my case it's just a blank screen, and I if close it macOS takes it as a crash and pops up the crash reporter.

Please update to 2.0.9 and reopen the issue if this is still a problem.
If it's still a problem: does messenger.com work normally in your Chrome/Chromium browser?

This is still a problem in 2.0.6, in chrome it works fine.


Auto-cache Hardhat console ABI [APE-645]

Overview
It would be nice if the Hardhat provider automatically cached the Hardhat console ABI in the session's contracts' cache.
One benefit is that it will help traces know the contract type for console log statements (could potentially ignore them by modifying other methods in ape-hardhat related to getting traces. This is also probably needed for https://github.com/ApeWorX/ape/issues/685
I got this idea from looking at this code: https://github.com/Ackee-Blockchain/woke/blob/main/woke/testing/call_trace.py#L373
Specification
TBD but something like

Hardcode or find a way to fetch console ABIs in the plugin
On connect(), set the contract type address using the chain.contracts[addr] = ct. I think the address is "0x000000000000000000636F6e736F6c652e6c6f67" based on the woke project.
Use console log in your tests and see how it looks in a trace in Ape.

Dependencies
Include links to any open issues that must be resolved before this feature can be implemented.

This is also probably needed for https://github.com/ApeWorX/ape/issues/685

Wouldn't this be dependent on that one?
Is the spec for this issue to recognize non-transaction calls and output them as such?  Do we need/want to make an RPC call for that?  Could we intercept and just log?
Some example psuedo-code on how this might be used would be helpful.

console logs can appear in a transaction call, at any point in its call-tree (imagine the console.log in an internal method call or something).
So we would need to detect when that is happening (perhaps using evm-trace and analyzing the address of the console.log contract), decode the log messages (probably using abi.decode ("string")), and use the ape logger to output them. We should probably output them in a way that separates it from the other logs, like add a prefix [CONTRACT-LOG] or something..
It definitely is not going to be easy, as it requires analyzing the call tree a bit.
Consideration: dev off the trace API work branch I have started instead of core main because traces work a bit different in 0.8.
But right now, Ape enriches traces but getting contract types, looking at method IDs and it can print a whole call tree out, so probably during that whole process we would check if the address is console log...
And also - if the ABI is known and cached (like this ticket says), we can prettify those calls in the tree as well

And also - if the ABI is known and cached (like this ticket says), we can prettify those calls in the tree as well

Do you have an example of another contract that is "known and cached"?  And maybe a trace that's prettified if there's an example laying around?
I just started prototyping for #685 to learn more about this last night and it's looking like a static ABI for decoding might not be the way to go for logging. The console.sol ABI is not the end all-be-all for input type combinations that might get used.  Will consider this issue as I go though.

the chain.contracts object is the one that can cache contract types by address. So we need to know the address from hardhat, either via RPC or hardcoding, and then we need the ABI too, either via RPC or hardcoding. Then, we do something like:
chain.contracts[address] = ContractType(abi=abi)

Are there any currently hardcoded contract types?

Are there any currently hardcoded contract types?

Do you mean like this?
https://github.com/ApeWorX/ape-tokens/blob/main/ape_tokens/managers.py#L8

I'm not entirely sure where to put this.  I'm bringing the ABI into the codebase under the ape_ethereum core plugin (https://github.com/ApeWorX/ape/pull/1930).  But I'm not entirely sure where it's appropriate to inject it into the chain manager's contracts.  Doing it from the provider's __init__() seems to be too early (ProviderNotConnectedError originating in pluggy somewhere).
Suggestions?

Suggestions?

Maybe right after the connection is established?

https://github.com/ApeWorX/ape/pull/1930/commits/483cac780eab284dc106b84514020463cee65fb1 will probably take care of this.


Replace dataclasses with attrs.

This replaces the one (two) remaining use(s) of dataclasses with attrs. Elsewhere we use attrs since it has some minor benefits over dataclasses so this brings consistency. The API for users is completely compatible.

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (0e54575) 91.30% compared to head (55033a2) 91.30%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1557   +/-   ##
=======================================
  Coverage   91.30%   91.30%
=======================================
  Files          30       30
  Lines        2552     2552
=======================================
  Hits         2330     2330
  Misses        222      222

Flag
Coverage Δ

python
91.30% <100.00%> (ø)

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

Files Changed
Coverage Δ

apis/python/src/tiledbsoma/_query_condition.py
85.57% <100.00%> (ø)

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

Elsewhere we use attrs since it has some minor benefits over dataclasses

@thetorpedodog for the record please take a quick moment to summarize those benefits.

Elsewhere we use attrs since it has some minor benefits over dataclasses

@thetorpedodog for the record please take a quick moment to summarize those benefits.

Specifically, aliases, validators, and converters, which we use extensively.


[Idea/Suggestions] TooManyOrigins Furs

TooManyOrigins is my favorite Origins add-on mod, so I would like to provide idea/suggestions as for the furs of those. It doesn't have to be listened to but hey I wanted to tell you cuz why not!
Withered: Maybe withered parts on half of the body? Would seem cool I think.
Undead: Have part or some of the body as rotten green parts like a zombie. Legs, Arms, etc.
DragonBorn: Dragon Scales incorporated into the body and maybe even a ender dragon tail similar to the merling!
Hare: Rabbit ears and Feet!
Swarm: Small bee wings on the back, and their little antennas sticking out of the head!
Hiss-kin: Unsure for this one, maybe textures of a creeper similar to what you did with the shulk origin and have TNT in the middle / where the heart is, or TNT/dynamite patches on the character model?

That's on the list, but I'll work with these!


HOME page textarea enhancement

DESCRIPTION
The area to choose brush size is large unnecessarily. Reducing this size to an extent will give the home page a better look.

Solution
I am willing to work on this issue. Please this assign this issue to me @vishanurag  under the label gssoc and hactoberfest.

Assign this issue to me i can change the whole layout of it as it is very disturbed  .Assign it to me under GSSOC and Hacktoberfest
@vishanurag

Please merge my request @vishanurag