How to add portaudio as a dependency to pyaudio?

In a project I want to package, it requires pyaudio. However, pyaudio depends on portaudio.
Based on the flake template provided in the readme, this is my current flake:
{
  inputs.dream2nix.url = "github:nix-community/dream2nix";
  outputs = inp:
    inp.dream2nix.lib.makeFlakeOutputs {
      systemsFromFile = ./nix_systems;
      config.projectRoot = ./.;
      source = ./.;
      projects = ./projects.toml;

      inject = {
        pyaudio."0.12.2" = [
          [ "portaudio" "19.7.0" ]
        ];
      };

      sourceOverrides = oldSources: {
        pyaudio."0.12.2" = builtins.fetchTarball { url = "https://files.pythonhosted.org/packages/3e/2f/67dc1505002ed6a4ef3f5941d6f07209d4c013a0271dd8d18314f54f6bf0/PyAudio-0.2.12.tar.gz"; sha256 = "1mr1rx84bkryrcbfl6a55ac85fxv6asjyzrjgcjvgnh348qhhs1z"; };
        portaudio."19.7.0" = builtins.fetchTarball { url = "https://github.com/PortAudio/portaudio/archive/refs/tags/v19.7.0.tar.gz"; sha256 = "1mr1rx84bkryrcbfl6a55ac85fxv6asjyzrjgcjvgnh348qhhs1z"; };
      };
    };
}

and my projects.toml file:
# projects.toml file describing inputs for dream2nix
#
# To re-generate this file, run:
#   nix run .#detect-projects $source
# ... where `$source` points to the source of your project.
#
# If the local flake is unavailable, alternatively execute the app from the
# upstream dream2nix flake:
#   nix run github:nix-community/dream2nix#detect-projects $source

[main]
name = "main"
relPath = ""
subsystem = "python"
translator = "pip"
translators = [ "pip",]

[main.subsystemInfo]
pythonAttr = "python3"

Log from building this flake.:
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/3lzamq2gv9nlv9day08rcjg>
source root is qr2r4wgccfxf40fk2i7inrxsihhrrcv3-source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file qr>
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
no configure script, doing nothing
@nix { "action": "setPhase", "phase": "buildPhase" }
building
cp: -r not specified; omitting directory '/nix/store/1xwigs>
lines 1-19/19 (END)...skipping...
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/3lzamq2gv9nlv9day08rcjg1dcp6hlyr-qr2r4wgccfxf40fk2i7inrxsihhrrcv3-source/
source root is qr2r4wgccfxf40fk2i7inrxsihhrrcv3-source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file qr2r4wgccfxf40fk2i7inrxsihhrrcv3-source/windows.png
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
no configure script, doing nothing
@nix { "action": "setPhase", "phase": "buildPhase" }
building
cp: -r not specified; omitting directory '/nix/store/1xwigs68nflwmwmxswsmva5qgrslqz39-source'

This results in the flake failing to build. A different approach I have tried is to instead use the portaudio package from nixos-unstable in extraSetupDeps as described in the documentation
Flake with attempted workaround:
{
  inputs.dream2nix.url = "github:nix-community/dream2nix";
  inputs.nixpkgs.url = "github:nix-community/nixpkgs/nixos-unstable";
  outputs = inp:
    inp.dream2nix.lib.makeFlakeOutputs {
      systemsFromFile = ./nix_systems;
      config.projectRoot = ./.;
      source = ./.;
      projects = ./projects.toml;

      extraSetupDeps = [
        inp.nixpkgs.pkgs.portaudio
      ];
    };
}

...which then fails again, with the message flake 'github:nix-community/nixpkgs/e2b4abe3c8f2e09adfc6a52007841d1b96c89371' has an unsupported attribute 'edition', at /nix/store/k57k9avjpkzpclfi02sglsqhig7skwzn-source/flake.nix:4:3
So i'm stumped. How would I go about adding portaudio so that the pyaudio wheel can build?

I've made some changes, but pyaudio still fails to build; same result.
{
  inputs.dream2nix.url = "github:nix-community/dream2nix";
  inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
  outputs = { self, dream2nix, nixpkgs }:
    dream2nix.lib.makeFlakeOutputs {
      systemsFromFile = ./nix_systems;
      config.projectRoot = ./.;
      source = ./.;
      projects = ./projects.toml;

      packageOverrides = {
        pyaudio = {
          buildInputs = old: old ++ [ nixpkgs.pkgs.portaudio ];
        };
      };
    };
}

I have also tried using a flake that someone kindly wrote for me:
{
  inputs = {
    dream2nix.url = "github:nix-community/dream2nix";
  };

  outputs =
    { self
    , dream2nix
    } @ inp:
    let
      pkgs = inp.dream2nix.inputs.nixpkgs.legacyPackages.x86_64-linux;
    in
    dream2nix.lib.makeFlakeOutputs {
      systems = [ "x86_64-linux" ];
      config.projectRoot = ./.;
      source = ./.;
      projects = ./projects.toml;
      packageOverrides = {
        main.add-portaudio = {
          overrideAttrs = ol: {
            buildInputs = (ol.buildInputs or [ ]) ++
              [
                pkgs.portaudio
                pkgs.libxkbcommon
                pkgs.fontconfig
                pkgs.freetype
                pkgs.wayland
                pkgs.xorg.libXcomposite
              ];
          };
        };
      };
    };
}

Good news: pyaudio builds
Bad news: auto-patchelf fails to patch many, many missing libraries.
error: auto-patchelf could not satisfy dependency libxcb-icccm.so.4 wanted by /nix/store/s1z66kivplmv65i58vxxs4502hl2vwlg-python3.10-main/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/libqxcb.so
error: auto-patchelf could not satisfy dependency libxcb-image.so.0 wanted by /nix/store/s1z66kivplmv65i58vxxs4502hl2vwlg-python3.10-main/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/libqxcb.so
error: auto-patchelf could not satisfy dependency libxcb-util.so.1 wanted by /nix/store/s1z66kivplmv65i58vxxs4502hl2vwlg-python3.10-main/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/libqxcb.so
error: auto-patchelf could not satisfy dependency libxcb-keysyms.so.1 wanted by /nix/store/s1z66kivplmv65i58vxxs4502hl2vwlg-python3.10-main/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/libqxcb.so
error: auto-patchelf could not satisfy dependency libxcb-render-util.so.0 wanted by /nix/store/s1z66kivplmv65i58vxxs4502hl2vwlg-python3.10-main/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/libqxcb.so
error: auto-patchelf could not satisfy dependency libQt5EglFSDeviceIntegration.so.5 wanted by /nix/store/s1z66kivplmv65i58vxxs4502hl2vwlg-python3.10-main/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/libqeglfs.so
error: auto-patchelf could not satisfy dependency libdrm.so.2 wanted by /nix/store/s1z66kivplmv65i58vxxs4502hl2vwlg-python3.10-main/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/libqlinuxfb.so

and so much more.
I have attempted to add more build inputs as shown in this flake, but it's silly how many I have to do.

I have figured this out, and hopefully no one else has to bang their head on the wall for hours like I did. I solved the last bit by adding another override to use pkgs.python310Packages.pyqt5, such that the working flake is:
{
  inputs.dream2nix.url = "github:nix-community/dream2nix";
  outputs = inp:
    let
      pkgs = inp.dream2nix.inputs.nixpkgs.legacyPackages.x86_64-linux;
    in
    inp.dream2nix.lib.makeFlakeOutputs {
      systems = [ "x86_64-linux" ];
      config.projectRoot = ./.;
      source = ./.;
      projects = ./projects.toml;
      packageOverrides.main = {
        pyaudio.overrideAttrs = oldAttrs: {
          buildInputs = old: old ++ [
            pkgs.portaudio
          ];
        };
        pyqt5.overrideAttrs = oldAttrs: {
          buildInputs = old: old ++ [
            pkgs.python310Packages.pyqt5
          ];
        };
      };
    };
}

However, could the last bit with auto-patchelf be due to something dream2nix related, or was it something with the package from pip? I will close the issue once I get an answer to this question.

because I cannot find any working example with any translator
perhaps someone could help (with this one)?
only trying to reproduce those code parts with
- system: `"x86_64-linux"`
 - host os: `Linux 5.15.88, NixOS, 22.11 (Raccoon), 22.11.1705.b83e7f5a04a`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.11.1`
 - channels(root): `"nixos-22.11, nixos-hardware"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

results in:
nix flake show
path:/home/pyaudio?lastModified=1674244907&narHash=sha256-99rgQgCDNKBl35bMQK0SP7SQZJp9y033vAU3acRq7Hg=
├───apps
│   └───x86_64-linux
│       └───detect-projects: app
└───packages
    └───x86_64-linux
        ├───main: package 'main'
        └───resolveImpure: package 'resolve'

direnv allow
direnv: loading ~/pyaudio/.envrc
direnv: using flake
error: flake 'path:/home/pyaudio' does not provide attribute 'devShells.x86_64-linux.default', 'devShell.x86_64-linux', 'packages.x86_64-linux.default' or 'defaultPackage.x86_64-linux'


fix: Exit code 0 on database error

When the database isn't found the program will throw an error but exit in code 0.
authentication  | 2023/08/30 02:20:29 failed to initialize gorm: failed to connect to `host=postgres-db user=username database=database`: dial error (dial tcp <IP_ADDRESS>:5432: connect: connection refused)
authentication  |
authentication  | 2023/08/30 02:20:29 /src/models/db.go:28
authentication  | [error] failed to initialize database, got error failed to connect to `host=postgres-db user=username database=database`: dial error (dial tcp <IP_ADDRESS>:5432: connect: connection refused)
authentication exited with code 0

This causes issues for the gateway's developer docker-compose script. As the developer has to restart the script each time authentication-go fails without returning a valid fail exit code.

After checking, it only appears to kill the docker-compose when detached is not set. But the daemon is still able to restart the container


Not close dialog when clicking on ok button

This is my code
CoolAlert.show(
      context: context,
      type: CoolAlertType.success,
      title: title,
      text: desc,
      onConfirmBtnTap: path != null ? () async{
          Navigator.pushNamed(context, path);
      } : null,

when i pass null to path  it will working fine but when i pass it any thing then dialog will not close
even i tried    Navigator.pop(context);       before push then same nothing happen and when i add it after push it will push and came to same page but dialog is still open even i tried to   return null;    but this will also not close
can anyone tell me how i close it;

Hi @ankushmishra2903-official, the package was configured so by default it closes when you tap the confirm button, if you override the onConfirmBtnTap tap functionality, then you'd have to close the dialog yourself. So you could do something like
CoolAlert.show(
      context: context,
      type: CoolAlertType.success,
      title: title,
      text: desc,
      onConfirmBtnTap: path != null ? () async{
           Navigator.pop(context); // <-- This here closes the dialog before your other functions run
          Navigator.pushNamed(context, path);
      } : null,

Hi @ankushmishra2903-official, the package was configured so by default it closes when you tap the confirm button, if you override the onConfirmBtnTap tap functionality, then you'd have to close the dialog yourself. So you could do something like
CoolAlert.show(
      context: context,
      type: CoolAlertType.success,
      title: title,
      text: desc,
      onConfirmBtnTap: path != null ? () async{
           Navigator.pop(context); // <-- This here closes the dialog before your other functions run
          Navigator.pushNamed(context, path);
      } : null,

I do same  but dialog not close and error also not showing don't know how

I had exactly the same problem. I was able to fix it by using Navigator.of(context, rootNavigator: true).pop();.


sync

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 63.44086% with 34 lines in your changes missing coverage. Please review.

Files with missing lines
Patch %
Lines

...rc/main/java/seedu/address/ui/ClientListPanel.java
0.00%
13 Missing :warning:

src/main/java/seedu/address/ui/ClientCard.java
0.00%
8 Missing :warning:

...rc/main/java/seedu/address/model/ModelManager.java
61.53%
5 Missing :warning:

...edu/address/logic/commands/AddPropertyCommand.java
84.21%
3 Missing :warning:

src/main/java/seedu/address/ui/MainWindow.java
0.00%
2 Missing :warning:

...rc/main/java/seedu/address/logic/LogicManager.java
0.00%
1 Missing :warning:

...address/logic/parser/AddPropertyCommandParser.java
91.66%
0 Missing and 1 partial :warning:

.../java/seedu/address/model/util/SampleDataUtil.java
0.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Files with missing lines
Coverage Δ
Complexity Δ

src/main/java/seedu/address/logic/Messages.java
93.93% <100.00%> (+1.34%)
6.00 <1.00> (+1.00)

.../address/logic/commands/DeletePropertyCommand.java
95.83% <100.00%> (+12.50%)
12.00 <4.00> (+5.00)

.../seedu/address/logic/parser/AddressBookParser.java
100.00% <100.00%> (ø)
18.00 <0.00> (+2.00)

...ress/logic/parser/DeletePropertyCommandParser.java
100.00% <100.00%> (+27.27%)
5.00 <0.00> (+2.00)

...in/java/seedu/address/logic/parser/ParserUtil.java
98.36% <100.00%> (ø)
24.00 <0.00> (ø)

src/main/java/seedu/address/model/Model.java
100.00% <ø> (ø)
2.00 <0.00> (ø)

...rc/main/java/seedu/address/model/PropertyBook.java
81.48% <100.00%> (+1.48%)
10.00 <1.00> (+1.00)

...rc/main/java/seedu/address/model/client/Phone.java
92.85% <ø> (ø)
6.00 <0.00> (ø)

...u/address/model/property/UniquePropertiesList.java
86.95% <100.00%> (+1.24%)
20.00 <2.00> (+2.00)

...rc/main/java/seedu/address/logic/LogicManager.java
56.00% <0.00%> (-2.34%)
3.00 <0.00> (ø)

... and 7 more

... and 1 file with indirect coverage changes


Is there a way to control the compression/size?

Just curious if there's a way to manipulate size/quality. Thanks!

this.imageCompress         .compressFile(image, orientation, 75, 75)         .then(result => {// logic here}
the 75, 75 (height and width?) refers to image quality where 100 is not compressed...


[Request]: Revert the new UI changes.

Describe the bug
Umm idk what's happening or idk how to configure it but yesterday i was watching youtube with the old layout without problem but today this shitty new layout came from no where so i was looking for some solution and i came across this repo but when i tried it didn't work so just pls tell if it can return it from this layout
Screenshots

What browser are you using?
Google Chrome: Version 116.0.5845.111 (Official Build) (64-bit)
What version of AdashimaaTube are you using?
v2.4.0

Try this:
https://github.com/apersongithub/Revert-YouTube-UI/

I still have the old layout. I'm not sure if it's possible to roll back the new changes if I receive them.

Try this: https://github.com/apersongithub/Revert-YouTube-UI/

Nope didn't worked bro

I still have the old layout. I'm not sure if it's possible to roll back the new changes if I receive them.

google are slowly adding accounts one by one so i think ur account's number will come soon

and i have observed that everytime i open youtube the link modifies to @themerefresh=1 after the url so i think it reloads to the new theme

Can you try this script?

Hurray It worked!

Really Thx for now

Hurray It worked!

Does the YouTube EXPERIMENT_FLAGS Tamer (Basic) script on Greasy Fork that sapondanaisriwan linked, work in correlation with the AdashimaaTube script as well?

Hurray It worked!

Does the 'YouTube EXPERIMENT_FLAGS Tamer (Basic)' script on Greasy Fork that sapondanaisriwan posted a link to, work in correlation with the 'AdashimaaTube' script as well?

I haven't tried but it should

For anyone who get the new layout: revert-ui-changes.user.js
btw I'll find the way to revert it back using CSS only


⚠ CIOOS Pacific ERDDAP dataset ECCC_MSC_BUOYS has degraded performance

In 942845c, CIOOS Pacific ERDDAP dataset ECCC_MSC_BUOYS (https://data.cioospacific.ca/erddap/tabledap/ECCC_MSC_BUOYS.htmlTable?wmo_synop_id&time>now-3hours&distinct()) experienced degraded performance:

HTTP code: 503
Response time: 18125 ms

Resolved: CIOOS Pacific ERDDAP dataset ECCC_MSC_BUOYS performance has improved in 3fd64aa.


Links: Restricted/safe zones

Part of #253

[ ] Implement visual aid for safe/prohibited zones where links can't be dragged.
[ ] Make sure safe zones and 1-tap/2-tap areas respect transforms (more specifically rotation)

Make sure safe zones and 1-tap/2-tap areas respect transforms (more specifically rotation)

See also #633


FLAKE: //test/core/surface:completion_queue_threading_test[darwin-dbg]

https://source.cloud.google.com/results/invocations/4449c93d-9d2e-4780-912b-f1dd154d9e35/targets/%2F%2Ftest%2Fcore%2Fsurface:completion_queue_threading_test/log
I0914 15:33:44.181985000<PHONE_NUMBER>62976 completion_queue_threading_test.cc:161] producer 131 phase 2
E0914 15:33:54.181569000<PHONE_NUMBER>39744 completion_queue_threading_test.cc:266] assertion failed: gpr_event_wait(&options[i].on_finished, ten_seconds_time())

*******************************
Caught signal SIGABRT
  no backtrace
external/bazel_tools/tools/test/test-setup.sh: line 310: 39461 Abort trap: 6           "${TEST_PATH}" "$@" 2>&1

Closing (obsolete)


Add a 1.0 release to JitPack

https://jitpack.io/#KeepSafe/ReLinker reports that no release has been tagged:
Repository not found or requires authentication
No releases found. Use the short commit id or -SNAPSHOT
Attempting to include the library using the provided dependency line:
compile 'com.github.KeepSafe:ReLinker:1.0'
Reports that it can not be found.

Hi, I'm not sure why jitpack is not showing any tagged releases, as there is a tagged release: https://github.com/KeepSafe/ReLinker/releases/tag/1.0
I went ahead and tried to include the library into an empty project and it recognized and downloaded the dependencies without issue... Did you include the jitpack repository?
repositories {
        jcenter()
        maven { url "https://jitpack.io" }
   }

jitpack had an issue where they thought the repo was private. It should show the release on their page now. Closing this, re-open if you still cannot get the dependency.

Great, all working now, thanks!
And awesome work tracking this issue down! How in the world has this bug persisted in the PackageManger this long?
Did anyone at Google acknowledge it? Maybe indicate that they would fix it in the OS at some point?

At the end of our blog post there is a comment that was extracted from Chromium's source code. The comment says that the bug was internally found, later it was fixed. It apparently shouldn't be an issue anymore for newer APIs (18+ I believe?). We submitted a bug report years ago but Google didn't act on it, they just marked it obsolete a few months ago instead.
Hopefully this library resolves the issue for you!

Haha yes, the great "Marked as Obsolete" purge of 2015. Many good bugs died that day...
Well that's good to know about 18+, and this should really help drive down our crashes pre-18.


Fixes #290 -- Pass request object on authenticate()

Django 1.11 introduced def authenticate(request, ...).
This would be useful for some authentications with additional data.
i.e. multiple user types.

Not ready for merged yet. Need opinions and tips on how to add test case for this one.

Any updates for this one?


CreateLink: When editting the displayName, the text is cut off

Pretty minor issue:

Click create new link
Fill in a link
Hit next
Focus on the displayName and fill in something else
The first character of your entered text is missing one or two pixels. It's pretty clear with an O or T character

This is reproduceable on Chrome.

And Safari. One annoying thing is that it covers up the blinking cursor when you go to the start of the edit box, so you don't know if you're in a "typing mode" anymore.

Assigning to @mrvisser for fix

@mrvisser : Would you be able to have a look at this so we can include it in the upcoming release?

@nicolaasmatthijs ah, sure thing. I'll hop over to it.

Closing in favour of #3983


Radio Button does not enable dependent DirChooser widget

Hello,
I am working on a Windows 10 machine with python 3.6.x, Gooey version 1.0.1.
Following the suggestion that was given to me in a previous issue, I replaced a checkbox and its dependent directory chooser parameter with a radio button that turns it on/off. However, the radio button can only have a "store_true" or "store_false" value, see code below. I need to be able to select a directory location (DirChooser widget) whenever the radio button is clicked/turned on.
@Gooey(dump_build_config=True,
       program_name="AccuSim",
       image_dir="./img",
       default_size=(715, 550)
       )
def main():
    desc = "AccuSim is a convenient, freely-available GUI-based tool designed to facilitate and automate the validation of\nsimulated land-change models. Fore more information, see the README file that accompanies this tool."
    parser = GooeyParser(description=desc)

    parser.add_argument(
        "Baseline",
        help="Help",
        widget="FileChooser"
    )
    parser.add_argument(
        "Comparison",
        help="Help",
        widget="FileChooser"
    )

    parser.add_argument("Output_Folder", help="Select a folder where you want to save your output metrics files", widget="DirChooser")

    fragstats_group = parser.add_argument_group(
        "FRAGSTATS (for Windows users ONLY)",
        gooey_options={
            'show_border': False,
            'columns': 2
        }
    )

   fragstats_group_radio = fragstats_group.add_mutually_exclusive_group()

   fragstats_group_radio.add_argument(
        "-fc", "--frag_check",
        action="store_true",
        metavar='Calculate FRAGSTATS Metrics',
        widget="DirChooser",
        help="Browse to the local folder containing the FRAGSTATS executable (.exe) file"
    )

    args = parser.parse_args()

ISSUES:
1) How can I read the actual chosen directory path for the --frag_check (DirChooser widget) now that its value is only True or False because of the radio button? Am I missing a second piece here?
2) How can the radio button name ("choose_one") be customized to have a different text? There is no documentation about it.

There's actually just one line that's causing you this pain: action=store_true is a binary operator for argparse itself. Meaning, if any input it present, it's true, otherwise, false.
Here's a minimal example:
import subprocess
from gooey import GooeyParser, Gooey

@Gooey(dump_build_config=True,
       program_name="AccuSim",
       default_size=(715, 550)
       )
def main():
    desc = "I will print the contents of the DirChooser if enabled!"
    parser = GooeyParser(description=desc)

    fragstats_group = parser.add_argument_group(
        "FRAGSTATS (for Windows users ONLY)",
        gooey_options={
            'show_border': False,
            'columns': 2
        }
    )

    fragstats_group_radio = fragstats_group.add_mutually_exclusive_group()

    fragstats_group_radio.add_argument(
        "-fc", "--frag_check",
        metavar='Calculate FRAGSTATS Metrics',
        # action="store_true",     <-- note that I commented out this line!
        widget="DirChooser",
        help="Browse to the local folder containing the FRAGSTATS executable (.exe) file"
    )

    args = parser.parse_args()
    if args.frag_check:
        print("Frag check value is: " + args.frag_check)
    else:
        print("Nothing was selected.")

If you run this, you'll see that you're receiving the actual text value when present.


Error when creating an issue

When i try to create an issue, on one of my private repository, i got this error :
2015/03/27 11:15:56 [issue.go:251 CreateIssuePost()] [E] issue.CreateIssuePost(?): UNIQUE constraint failed: issue_user.id

Thanks your feedback!
Looks similar to https://github.com/gogits/gogs/issues/1073 .
What is your version of Gogs?

Gogs version <IP_ADDRESS>9 Beta
It's a fresh installation

What is your database?

I use sqlite

Thanks a lot, I think this is the same issue as https://github.com/gogits/gogs/issues/1073 , I've pushed a fix to develop.

Thanks to your support and your work :)

No problem.

Close for now but open for continuing discussion.


Implement alerts when SnapAdmin is running on unauthenticated routes

This warning will now show on the SnapAdmin home page if running without authentication. Will be shipped in 0.2.0.


🐛 BUG:local testing of r2 in wrangler doesn't work

What version of Wrangler are you using?
2.0.22
What operating system are you using?
Mac
Describe the Bug
running wrangler pages dev . --persist --r2='BUCKET_NAME' results in an error Unknown arguments: persist, r2

2.0.22

This is several months old - update Wrangler and you will have the options you're missing.

More recent version of Wrangler should definitely fix this (we're on 2.4.2 right now, I think)


Fix creating an environment pex via bdist_pex

target wasn't defined in a branch.
I couldn't find any tests for bdist_pex though :(

thx!


ChainAdapters: Add isAccountTypeRequired() to API

Overview
By adding an isAccountTypeRequired() function to the ChainAdapter interface we will be able to avoid ChainNamespace switching in web (chain type/family/whatever). In general we should avoid any switching on chain implementations in the UI layer.
In web code we go from:
if (CHAIN_NAMESPACE.Utxo === asset.chainId && !accountType) return { ... }

to:
if (chainAdapter.isAccountTypeRequired() && !accountType) return

References and additional details
ReceiveInfo.tsx is a place to look
Acceptance Criteria

the ChainAdapters interface exposes a new function with signature isAccountTypeRequired() bool
all ChainAdapters implement the new function

utxo adapters return true
others return false

Need By Date
No response
Screenshots/Mockups
No response
Estimated effort
No response

What about making consumers aware of the exact account type with a generic e.g ChainNamespace, so that the presence of accountType can be inferred by the compiler instead of needing runtime checks?
See e.g GetAddressInput for UTXOs:
https://github.com/shapeshift/lib/blob/cfd28ee08c22be19069c5b88d025deb5fc699cef/packages/chain-adapters/src/utxo/types.ts#L19-L21
It wrongly has accountType as optional, but suppose it was required, we should just be able to narrow types down to this specific GetAddressInput

closing this as the type system enforces this for the UtxoBaseAdapter https://github.com/shapeshift/lib/blob/main/packages/chain-adapters/src/utxo/UtxoBaseAdapter.ts#L229 and it's not an ergonomic issue


Screen sharing audio capabilities and the ability to see your own shared content.

Question
When trying to get audio sharing to work with screen sharing, I found only one way to currently implement this.
navigator.mediaDevices.getDisplayMedia({audio: true, video: true})
Any guidance towards a solution is appreciated.
Thank you

I would like to add to this. (p2p)
If one participant shares their screen with audio before the other participant joins, then the joining participant is able to hear the screenshare audio. But if screensharing with audio is started during a call then no audio is transmitted.
When looking at the track monitor then there is no difference. Even when playing audio the bandwidth seems to react to the audio, but still it is not heard. The track is subscribed to and published correctly.
As it seems to work perfectly if you share your screen before another person joins, then what could be the origin of the issue? As it is p2p it cannot be rule dependent, even though such an error would indicate exactly that.
As it seems to be a bug on Twilio's side then I am closing this question.


Bug: MP MATS Method - Invalid validation for End Date

Issue:
When a user wishes to create MATS Method data with an End Time of 0, then the system throws a validation that shouldn't be displayed
Steps to recreate:

Login to ECMPS
Access the MP module and select and check out a Configuration
Select  the 'Methods' option from the Sections dropdown
Click 'Create MATS' under 'Supplemental Methods' and add End Time as '0'
Add all other informatio and click 'Save'
The following error is returned even though 'End Date' is provided: [MATSMTH-4-C] - You have reported a Supplemental MATS Compliance Method End Date that is invalid.

Note: This bug likely comes from easey-monitor-plan-api in the file 'mats-method-checks.service.ts' on line ~55 in function matsMethod3And4Check where !matsMethod.endHour is used to check the endHour

Bug Fixed


Test Cloud: support for relative paths in --include argument

In the current version, values of the --include argument had to use format targetPath=sourcePath.
This change allows to use only single path, as long as it is inside "root directory", i.e.:

--build-dir for Xamarin UI Tests, Espresso and Appium
--project-dir for Calabash

This change also improves validation and unit tests for included files parser.

@kmiecikt I've merged your other open PRs because they were fairly simple. This one is a little more complex. I took a  look and I think it's fine, but I'd like to have somebody on your team approve as well before merging just because I may have missed something that someone more familiar with testcloud would catch.


Middleware not working well

I can get user by using const { supabaseUser } = useSupabaseUser(supabase). However, the middleware is not working well, it redirects to '/login' every time.

after refresh, login status invalid, the middleware determines whether the login error occurred and jumps to the login page.

Hello, @QThans.
Did you find a solution? I'm going through the same problem.

caiotarifa

for me, caused by the wrong code for using useSupabaseClient .

How did you solve it?
https://supabase.nuxtjs.org/usage/composables/usesupabaseuser
This middleware returns null for the user. If I remove the middleware, I can access user vis useSupabaseUser in other places


Feature: Support Cloud Providers

Although Rancher is agnostic to where what cloud a host exist in or whether it is a bare metal machine, it does support various cloud specific features like adding a host (through Machine) or programming Route 53 from AWS.
Rancher needs to support a way to add a "Cloud Provider" so that these providers can be re-used by other features within Rancher.  Initial supported cloud providers should be AWS, Digital Ocean, and GCE.  Each cloud provider should minimally contain the credentials to access that cloud in order to execute cloud specific commands.

Could RunAbove / Openstack be included in the initial supported cloud providers???

Yeah, it shouldn't be very difficult to add new providers.

(https://github.com/docker/machine/tree/master/drivers/openstack)

Azure please


Passing objects back to client

You give an example of setting up a callback here:
hubConnection.on("Send", (message) -> {
System.out.println("New Message: " + message);
}, String.class);
On the SingalR core documentation, under api considerations it is mentioned that you should send back objects from your server instead of just a single property in case you need to add additional things in the future.  https://docs.microsoft.com/en-us/aspnet/core/signalr/api-design?view=aspnetcore-2.2
I tried this but on the android client I can't figure out how to get it to properly populate the object.
I tried defining a object like this:
public class BotResponse
{
public String Item1;
public String Item2;
}
and setup the callback like:
this.hubConnection.on("BotMessage", (message) -> {
doSomething(message.Item1);
}, BotResponse.class);
But Item1 and Item2 are null in this implementation. What is the proper way to do this?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 4e954a77-daa3-980c-0a0b-c4e7dabc8ed0
Version Independent ID: 09e7b88b-8373-89d4-7360-d71370c095da
Content: ASP.NET Core SignalR Java client
Content Source: aspnetcore/signalr/java-client.md
Product: aspnet-core
GitHub Login: @mikaelm12
Microsoft Alias: mimengis

Do you have a repo app on GitHub?
Here's a sample of invocations containing objects https://github.com/aspnet/SignalR-samples/blob/master/PullRequestR/android/app/src/main/java/com/example/pullrequestr/MainActivity.java

The invocation looked like:
await _hubContext.Clients.Client(connectionId).SendAsync("BotMessage", new
{
Item1 = "Item1Test",
Item2=  "Item2Test"
});
Which is similar to the examples in the article I linked. I figured maybe it was because I dont have a type on the variables but it also wouldn't let me add a type there.

I don't think using an anonymous type is causing the issue. What version of the Java client are you using?
For context the object just gets serialized into a json object that gets sent to the client and the client tries to de-serialize that json object into an object of the type that you pass into the handler.
It would be helpful to see the app that you are seeing this behavior with

Sorry mikaelm12, I'm not permitted to share it.
"implementation 'com.microsoft.signalr:signalr:1.0.0'"
is what I have in Gradle.
I tried moving over to using a hard object with hard typed properties and still had no success.
Passing just  a string works fine though, just having toruble with objects.

That's odd since we definitely do support this exact scenario.
Maybe something that can help you a bit, here is a test that should the formatting of an invocation that get's de-serialized into a custom type
https://github.com/aspnet/AspNetCore/blob/f303a55a8edf632738eb6e15312aac443cdf21b1/src/SignalR/clients/java/signalr/src/test/java/com/microsoft/signalr/HubConnectionTest.java#L1268-L1297
It's kind of hard to diagnose further without a repro 😄

I haven't seen an "AtomicReference" before, is that just something that is needed for testing?
Could you also do the Asserts in the On callback referencing param1 directly?
as in:
hubConnection.on("inc", (param1) -> {
assertEquals(1, param1.number);
assertEquals("A", param1.str);
}, Custom.class);

"AtomicReference" before, is that just something that is needed for testing?

Yup.
I've debugged the scenario as a sanity check and it seems fine. When your on handler gets invoked what is the shape of object that gets passed in to the lambda?

I can't tell what the json coming into the on method looks like. The message object exists, however both of it's properties are null.
I was hoping I could just change the On method to expect a string when I was passing back the object (for debugging) so I could see what it looked like in it's serialized form as you described above. However that callback never got invoked, so I assume it knows the server message is passing an object and only invokes the callbacks that are expecting objects.
I'm not doing anything interesting otherwise.  Just trying to send a object with 2 strings and receive it on the android end.

In my case, I had to use the camelCase notation for the objects that I receive in the android application. It worked correctly:
///Android code
///Object I receive from hub:
public class LocationPush {
public String userName;
public Double latitude;
public Double longitude;
}
///Connection and subscribe:
hubConnection = HubConnectionBuilder.
create(
Constant.URL_WEB_API +
Constant.ENDPOINT_LOCALIZATIONHUB).build();
    hubConnection.on("ReceiveLocation", (location) -> {

        Log.e(Constant.HUB_RECEIVE_LOCATION_TAG, location.latitude + " " + location.longitude);

    }, LocationPush.class);

///Asp.net core 3.0 code:
///Object send
public class Location
{
public string UserName { get; set; }
public double Latitude { get; set; }
public double Longitude { get; set; }
}
/// The hub
public class LocalizationHub : Hub
{
public async Task SendLocation(Location location)
{
Console.WriteLine(string.Format("Recieve Latitude: {0} Longitude: {1} ", location.Latitude,location.Longitude));
        await Clients.All.SendAsync("ReceiveLocation", location);
    }
}

hello guys! what about the reverse case. i mean i wanto to post an object to the server but it gets nothing.
          TbChat chat = new TbChat();           //setting chat properties lke            chat.CustomerName = "Customer Name";           chat.CustomerPhone = "5555555555";           hubConnection.send("requestChat", brandGUID, chat);
but it does not work!

我也遇到这个问题啊，你们赶紧解决啊

Closing this as it appears to be a product issue and not a docs issue - if this is still an issue for you could you please file an issue at http://github.com/aspnet/aspnetcore?


Add Portuguese and Romanian keyboard layout options

These are the tickets GUACAMOLE-1770 and GUACAMOLE-1771

@vanntile : Unfortunately you'll need to do two separate pull requests on the client side, as well, tagged for each of the Jira issues. The pull request and the commits needs to be a 1-to-1 relationship with the Jira issue.


Failed import of module

I'm submitting a ...  (check one with "x")
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior
webstore says it cant resolve NgxDatatableModule.  and the CLI fails to start
Expected behavior

Reproduction of the problem
this one will error:
import { NgxDatatableModule } from '@swimlane/ngx-datatable';
this one import works but had to add src:
import { NgxDatatableModule } from '@swimlane/ngx-datatable/src';
What is the motivation / use case for changing the behavior?
it would be cleaner to not have to put src
Please tell us about your environment:
webstorm

Table version: 0.8.x
8

Angular version: 2.0.x
angular4

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
on build issue

Language: [all | TypeScript X.X | ES6/7 | ES5]

this might be related to: https://github.com/swimlane/ngx-datatable/issues/687

Angular 4.0.2, TypeScript 2.2.2, angular-cli 1.0, ngx-datatable 8.0.0 works fine for me.
What is "webstore"?

Sorry had a typo.  WebStorm.
also very odd. because i just rebuilt my job, without the src and it works now ... so I guess I will close my issue.


TypeError: "Sockette is not a constructor" (Angular/TypeScript)

I've created a new Angular project using the Angular CLI and have installed and attempted to import Sockette into my project (an empty Angular project.)
I am getting the below error when trying to import/require Sockette.
TypeError: "Sockette is not a constructor"

Via import gets me the above error:

import {Component} from '@angular/core';
import {environment} from '../environments/environment';

import * as Sockette from 'sockette';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.scss']
})
export class AppComponent {
  constructor() {
    const socket = new Sockette(environment.websocket_server);
  }
}

Via require gets me the same error above:

import {Component} from '@angular/core';
import {environment} from '../environments/environment';

const Sockette = require('sockette');

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.scss']
})
export class AppComponent {
  constructor() {
    const socket = new Sockette(environment.websocket_server);
  }
}

When I console.log the Sockette object, I get the following:
import {Component} from '@angular/core';
import {environment} from '../environments/environment';

const Sockette = require('sockette');

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.scss']
})
export class AppComponent {
  constructor() {
    console.log(Sockette);
    const socket = new Sockette(environment.websocket_server);
  }
}

Object { default: default(), … }

Which lead me to try the following (which works!)
import {Component} from '@angular/core';
import {environment} from '../environments/environment';

const Sockette = require('sockette');

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.scss']
})
export class AppComponent {
  constructor() {
    const socket = new Sockette.default(environment.websocket_server);
  }
}

I'm left assuming this is due to the way Sockette is being exported... any thoughts?

Hey,
It actually has to be like this:
import Sockette from 'sockette'

And because you're using a bundler tool, the require statement doesn't work. Bundlers will typically still read from the "module" entry if it's found in the definition.

Your example worked!.. thank you again for the direction! I've got enough up and going now to include in my projects - happy to have found you via JavaScript Weekly!

Haha happy to have helped!

I'm getting the same error regardless if I use import Sockette from 'sockette'

@etcraftdelivery This error depends on your build tools. Something probably configured incorrectly, which means that the wrong file is being imported and/or your interop layer is (re)wrapping things it shouldn't.
If you console.log(Sockette) you should see a function. Again, depending on your config, it might end up looking like { default: function } instead.

I was getting a string: filepath ending in .mjs after console.log. I'm thinking its a webpack thing. thanks.

Ah, yeah certainly is. You've not even loaded Sockette yet.


Can't create Vue project with Node LTS

Version
4.5.15
Environment info
System:
    OS: Linux 4.19 Fedora Remix for WSL 31
    CPU: (8) x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
  Binaries:
    Node: 16.13.2 - ~/.volta/tools/image/node/16.13.2/bin/node
    Yarn: 1.22.15 - ~/.volta/bin/yarn
    npm: 8.1.2 - ~/.volta/tools/image/node/16.13.2/bin/npm
  Browsers:
    Chrome: Not Found
    Firefox: Not Found
  npmGlobalPackages:
    @vue/cli: 4.5.15

Steps to reproduce

Install Node LTS
Install @vue/cli
Create Vue 3 + TS + Babel + Linters project

What is expected?
Project is created
What is actually happening?
npm ERR! cb.apply is not a function

Same. npm install fails at this version of node. The dependency on fibres appears to be the problem.
(Was updating an existing project.)

Hi @leonheess,
have you tried to clear your npm cache?
I matched your node/npm versions on my MBP and it works as expected.


Custom attributes on class properties are oddly shuffled over MemberGenerationContext's

Environment

Nuget Package: JsonSchema.Net, JsonSchema.Net.Generation
Nuget Version: 2.4.0, 2.2.1
OS: Windows 10
.Net Target: 6.0.201

Describe the bug
Custom attributes on class properties are oddly shuffled over MemberGenerationContext's
To Reproduce
Add class with different attributes on the properties.
public class Person
{
	[MyAttribute1]
	public string FirstName { get; set; }
	[MyAttribute2]
	public string LastName { get; set; }
}

[AttributeUsage(AttributeTargets.Property)]
public class MyAttribute1 : Attribute { }

[AttributeUsage(AttributeTargets.Property)]
public class MyAttribute2 : Attribute { }

Create a refiner that looks for the TypeGenerationContext and prints the attributes within the PropertiesIntent:
public class PersonRefiner : ISchemaRefiner
{
	public void Run(SchemaGenerationContextBase context)
	{
		var properties = context.Intents.OfType<PropertiesIntent>().Single();
		var firstNameContext = (MemberGenerationContext)properties.Properties["FirstName"];
		var lastNameContext = (MemberGenerationContext)properties.Properties["LastName"];

		Console.WriteLine($"FirstName attributes: {string.Join(", ", firstNameContext.Attributes)}");
		Console.WriteLine($"LastName attributes: {string.Join(", ", lastNameContext.Attributes)}");
	}

	public bool ShouldRun(SchemaGenerationContextBase context)
	{
		return context.Type == typeof(Person);
	}
}

Generate:
JsonSchemaBuilder jsonSchemaBuilder = new();
SchemaGeneratorConfiguration generatorConfiguration = new();
generatorConfiguration.Refiners.Add(new PersonRefiner());
jsonSchemaBuilder.FromType(typeof(Person), generatorConfiguration).Build();

Output:
FirstName attributes: MyAttribute1
LastName attributes: MyAttribute1

Expected behavior
I'd expect the output to look like:
FirstName attributes: MyAttribute1
LastName attributes: MyAttribute2

Additional context
Also, when I play with SchemaGeneratorConfiguration.PropertyOrder it seems to shuffle the attributes around in other ways. Possibly this is related to this issue?

Thanks for the report and replication steps.  I'll dig in and see what's going on.

Okay, I've figured out what's going on here.  The system identifies unique subschemas by two things: the type and, in the case of members, any handled attributes.  Since your MyAttribute1 and MyAttribute2 don't have associated handlers, they are ignored.
The proper way to get the system to do something with these attributes is to have them implement IAttributeHandler.
Note that this only happens because the properties are of the same type.  If you change one to int (or anything other than string), it works fine.


Fixes #684

Split the discussion of v2 authentication into two parts:

A specification of the handshake between the client, registry and
authentication service.
A description of how docker/distribution implements this using JWT.

This should make it clearer that #2 is an implementation detail, and
that clients should regard tokens as opaque entities that only the
registry and authentication service should understand.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "expires_in_proposal" git@github.com:mattmoor/distribution.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

@jlhawn @stevvooe @dmcgowan
FYI, knocking off this split (as discussed long ago) seems like a worthwhile prelude to a proposal that alters the specification for expires_in as discussed in https://github.com/docker/distribution/pull/979

@stevvooe @dmcgowan do we want to get #973 merged first?

@mattmoor I'm +1 on separating the implementation details of the token (like the fact that they are JWTs, how they are verified, etc.) from the description of the overall token authorization flow. Looks like you'll need to rebase after the changes from #973 though.

@jlhawn thanks, will do that now.  thanks for the pointer.

@jlhawn I just repushed, I tried to be as careful as I could to pull all of your changes over to the new file, but please let me know if I missed something.
thanks again.

@mattmoor Thanks for taking on this task.
I'll have to read through this carefully so it may already be in there but could we clarify that this is the protocol between the auth server and a registry. Clients should generally treat tokens as opaque. This property allows us to evolve the token format, if required. This is rather important at this point since we are implementing a draft specification of JWT.
If we want to expose issued_at, expiry or other fields, these should ideally be part of the token server's response, which would be part of the auth specification.

Please do, especially since I had to merge Josh's conflicting change.  I'd
like to make sure nothing important was dropped.
The opacity of the token to the client is the primary purpose of the
separation.
Note that this doesn't introduce the new fields from my other PR, I wanted
to split this first and then follow up with that proposal.
On Thu, Sep 17, 2015, 2:33 AM Stephen Day<EMAIL_ADDRESS>wrote:

@mattmoor https://github.com/mattmoor Thanks for taking on this task.
I'll have to read through this carefully so it may already be in there but
could we clarify that this is the protocol between the auth server and a
registry. Clients should generally treat tokens as opaque. This property
allows us to evolve the token format, if required. This is rather important
at this point since we are implementing a draft specification of JWT.
If we want to expose issued_at, expiry or other fields, these should
ideally be part of the token server's response, which would be part of the
auth specification.
—
Reply to this email directly or view it on GitHub
https://github.com/docker/distribution/pull/991#issuecomment-141022807.

@mattmoor Great. It sounds like we are on the same page. I'll point out any places where we need clarity during my read through.

It's probably okay to just remove all references to the v1 registry token workflow. It's just extraneous info that people new to Docker or Docker Registry need not be concerned with.

@jlhawn Done and Done.

... and rebased.

@jlhawn Did you have anything else?  I'd like to get this merged so I can send my expires_in/issued_at proposal with this split out.
thanks for the comments.

LGTM
thanks @mattmoor

@stevvoe anything else on your side?

@mattmoor LGTM

hmm, sorry about the bad tag (just noticed), I was battling airplane wifi yesterday :)

@stevvooe @jlhawn Can we merge this, or was there anything else?  thanks.


nitrpg: remove points if a PR is closed without merge

So @ventilooo won't cheat again!
Signed-off-by: Alexandre Terrasa<EMAIL_ADDRESS>

+1

+1


Add HiFi GAN Generator to prototypes

Part 1 of T138011314
This PR ports the generator part of HiFi GAN from the original implementation
Adds tests:

Smoke tests for architectures V1, V2, V3
Check that output shapes are correct
Check that the model is torchscriptable and scripting doesn't change the output
Check that our code's output matches the original implementation. Here I clone the original repo inside /tmp and import necessary objects from inside the test function.  On test teardown I restore PATH, but don't remove the cloned code, so that it can be reused on subsequent runs - let me know if removing it would be a better practice

There are no quantization tests, because the model consists mainly of Conv1d and ConvTransposed1d, and they are not supported by dynamic quantization

LGTM. I notice the doc is missing for hifigan model and factory functions. Could you add it to the documents? Also, is test/torchaudio_unittest/prototype/hifi_gan/init.py necessary, can you run the tests with removing the file? Thanks.

Thanks for catching - added the doc.
Regarding test/torchaudio_unittest/prototype/hifi_gan/__init__.py, it seems necessary for importing from torchaudio_unittest.common_utils: if I remove it, I get
ModuleNotFoundError: No module named 'torchaudio_unittest'

error when running pytest test/torchaudio_unittest/prototype/hifi_gan/. If I switch to relative import (from ...common_utils import PytorchTestCase, skipIfNoCuda), I get a different error
ImportError: attempted relative import with no known parent package

when __init__.py is absent


Border radius not respected in SectionList

[x] Review the documentation: https://facebook.github.io/react-native
[x] Search for existing issues: https://github.com/facebook/react-native/issues
[x] Use the latest React Native release: https://github.com/facebook/react-native/releases

Environment
Environment:
OS: macOS High Sierra 10.13
Node: 10.4.0
Yarn: 1.7.0
npm: 6.1.0
Watchman: 4.9.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: Not Found
Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: https://github.com/expo/react-native/archive/sdk-27.0.0.tar.gz => 0.55.2
Description
When putting a SectionList inside of a view with rounded corners, the SectionList does not respect the rounded corners. This can be solved by putting a padding on the SectionList, but I would like a solution that avoids doing this.

Reproducible Demo
https://snack.expo.io/@vjsingh/scrolltolocation
Pull the list downward to see that the scrollview is 'covering' the rounded corners. I would think that the container view should effectively 'mask' the inner scrollview here?


Add 'prepare the processional' downtime activity from Ghoul's Hunger

Can this be put in adventure-specific actions?

Yeah. Going to do it via a new PR to keep it clean. Should have been there in the first place. I got lost with the pack re-org.


0.20.0rc1 can't "dbt init" without Redshift

Describe the bug
When installing only dbt-core==0.20.0rc1 and dbt-bigquery==0.20.0rc1, doing dbt init does not work because it is looking for the Redshift package. This used to work fine in 0.19.1 without Redshift package.
Steps To Reproduce
pip install dbt-core==0.20.0rc1 dbt-bigquery==0.20.0rc1
dbt init new_project

Results in the following error:
Running with dbt=0.20.0-rc1
Creating dbt configuration folder at /home/josh/.dbt
With sample profiles.yml for redshift
Encountered an error:
Runtime Error
  Could not find adapter type redshift!

Expected behavior
New project directory to be initialized without Redshift.
System information
Which database are you using dbt with?

[ ] postgres
[ ] redshift
[x] bigquery
[ ] snowflake
[ ] other (specify: ____________)

The output of dbt --version:
$ dbt --version
installed version: 0.20.0-rc1
   latest version: 0.19.1

Your version of dbt is ahead of the latest release!

Plugins:
  - bigquery: 0.20.0rc1

The operating system you're using:
Windows and Mac
The output of python --version:
Python 3.8.3

Thanks for opening @joshpeng!
This should still work:
dbt init --adapter bigquery

This used to work fine in 0.19.1 without Redshift package.

I don't think this is a difference between 0.19.1 and 0.20.0rc1, as much as a result of now encouraging users to install specific adapter plugins.
This is undesirable in two ways:

You have to specify --adapter bigquery, even if your only installed adapter is dbt-bigquery
dbt init (no flags) raises an error for anyone who doesn't have dbt-redshift installed, and even then, it doesn't do something very helpful

If the --adapter argument is not passed, I think our options are:

init checks the adapters available, rather than falling back to redshift as the default
init falls back to a more reasonable, generic default (not redshift) that ships inside of core

In the meantime, I'm going to include a note on #2814, and close this issue as a duplicate. I really appreciate you opening, and providing some appetite to get this fixed.


poddisruptionbudget is not allowing any disruptions

I don't know the intentions of https://github.com/spotify/flink-on-k8s-operator/pull/353 and if it is supposed to be only for jobs or also for TaskManager or JobManager. In current setup, there is only one PodDisruptionBudget per cluster which includes all pods: jobs, taskmanager, jobmanager, ..., because the selector labels are not specific enough. Or the logic behind how desired number of pods is calculated is faulty.
spec of existing PodDisruptionBudget
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
  creationTimestamp: "2023-04-24T13:58:26Z"
  generation: 1
  labels:
    app: flink
    cluster: flink-cluster-new
  name: flink-flink-cluster-new
  namespace: gorr
  ownerReferences:
  - apiVersion: flinkoperator.k8s.io/v1beta1
    blockOwnerDeletion: false
    controller: true
    kind: FlinkCluster
    name: flink-cluster-new
    uid: 91f1c563-ca72-4539-aeaa-586d57942cd5
  resourceVersion: "2016776591"
  uid: aa825413-a554-4fa0-a154-67120afdc135
spec:
  maxUnavailable: 0%
  selector:
    matchLabels:
      app: flink
      cluster: flink-cluster-new
status:
  conditions:
  - lastTransitionTime: "2023-04-24T13:58:26Z"
    message: jobs.batch does not implement the scale subresource
    observedGeneration: 1
    reason: SyncFailed
    status: "False"
    type: DisruptionAllowed
  currentHealthy: 0
  desiredHealthy: 4
  disruptionsAllowed: 0
  expectedPods: 4
  observedGeneration: 1

and running pods:
$ kgpol app=flink,cluster=flink-cluster-new
NAME                                        READY   STATUS    RESTARTS   AGE
flink-cluster-new-job-submitter-8nh27   1/1     Running   0          25m
flink-cluster-new-jobmanager-0          1/1     Running   0          25m
flink-cluster-new-taskmanager-0         1/1     Running   0          25m
flink-cluster-new-taskmanager-1         1/1     Running   0          25m
flink-cluster-new-taskmanager-2         1/1     Running   0          25m

This means that Pod can never be safely evicted to another node and just dies after the node is removed from the cluster or shutdown. I would prefer to have PdB per Pod type.
I have version 0.4.0, I will try the 0.5.0 if there are any changes around this.

Hi @balonik yeah with 0.5.0 you will be able to customize the PDB further. Also note that the PDB is opt-in now and it's not created by default.
That said, I think it would be great if we support a PDB per type (JobManager / TaskManager) instead of global one. PR around this is very welcomed if you are interested.


prefix bug

### What is the bug?
After 5 minutes I create a team, I can not see the team prefix when I f5.
Expected Behaviour
I want to now the bug is able to correct in config.yml
How to Reproduce
?
Error message
?
Output of /teama version
[EGG WAR] Storage Method: com.booksaw.betterTeams.team.storage.storageManager.SeparatedYamlStorageManager
[EGG WAR] Minecraft Version: git-Paper-550 (MC: 1.19.4)
[EGG WAR] Language Selected: messages
[EGG WAR] Current plugin version: 4.8.1
Additional Information

'팀' is team in korean at the scoreboard

This is caused by a plugin conflict, please see this link for more information: https://github.com/booksaw/BetterTeams/wiki/Managing-the-TAB-Menu

This issue is being closed for inactivity. If you are still having problems feel free to open a new issue linking this one, make sure you answer any questions asked in the new issue.


allow Ctrl+Shift+I to open developer tools

I think I may have added something to keyboard handlers recently that prevents Ctrl+Shift+I from openning developer tools in the browser. It works on other websites but not scadnano locally or on the current (Sept. 21, 2024) dev branch.

Upon further testing, this issue appears only when the Select (S) and Rope Select (R) tools are selected. This is because of the select-mode div.


IOS not sorting dates

Hi when you try sorting dates on IOS it doesn't sort i tried it on an iphone 5, ended up hacking the source to use  'var createdA = moment(commentA.created, moment.ISO_8601)' because i could not override the sortComments function in my initialisation. Is there a less hacky way to do this.
Thanks in advance

hi @nigel-tj I have the same issue. Can you please paste your code for "hacking" that issue?

hi @nigel-tj am fix it... in backend (laravel) return date like this 1975-12-25T14:15:16-0500 or easy use convert to iso 8601:  $comment->created_at->toIso8601String()

@stojankukrika thats good to know. I was hoping there can be a way to use the standardised iso 8601 in the base code so that it works on all devices the same. But I think other people did not have the issue, in my case had to use this "moment(commentA.created, moment.ISO_8601)" for the dates to sort


fix: Not specifying the project version causes the problem that the project version is NULL.

Not specifying the project version causes the problem that the project version is NULL.

Not specifying the project version causes the problem that the project version is NULL.


Command palette: install extension not working

Issue Type: Bug
When using the command palette and selecting "install extension" I'm being redirected to the extension marketplace UI. I think in the past I was able to install extensions straight from the command palette.
If that is the expected behavior, how do you install extensions without using the mouse with the marketplace UI?
 May be a screenshot or a gif would be helpful

Just shift + cmd + p and install extension and I'm redirected to the marketplace. I thought we could install extensions from the command palette directly with the extension ID or something.

Yeah but this is not from command pallette. You have to use following syntax

Open Quick Pick using cmd+p
Enter ext install name

Aaaaaah I see thanks, maybe a feature suggestion would be for the command palette to do that when selecting "install extension".
Maybe a new option like: "Extensions: Install Extensions (Keyboard)" and you automatically populate ext install in the "palette UI" (don't know how that's called).

Not a big fan of showing quick pick again from quick pick.

Isn't that what's happening if you select "Go to symbol" in the command palette? Effectively, it replaces the > by a @.
Just a suggestion though, it would improve the discoverability of ext install (:

Actually we want to direct users to the UI which is specially built for this purpose. Doing it from command pallette is advanced feature and only few wanted to get to this from command pallette. Hence it is not a good idea.
As said quick pick actions are advanced features and these can be discovered by opening quick pick and typing ?.
Just checking with @bpasero if there is another way to discover them.

Oh yes the ? does the job, thanks I have been enlightened (:


Huge POST request hangs in UriHelper.UnescapeString

Describe the bug
If I HTTP-POST a huge (300K to 1MB, specially crafted) request to my application, the request hangs for several minutes. Depending on the size it even runs in 502 timeouts (starting from 2MB upwards on my local machine).
The request must have a form-data field with upwards of 300 KB which moreover matches the following regular expression: %.*§ multiplied to the necessary size. I.e., %§%§%§... triggers the behavior.
To Reproduce
Steps to reproduce the behavior:

Using this version of ASP.NET Core '2.1.7' (MVC 2.1.3)
Have a controller with a POST action taking in a model with a string parameter
Post a huge request with input that does NOT match the regular expression above => receive an answer within seconds
Post a huge request with input that DOES match the regular expression above => wait for multiple minutes / eventually receive 502

If you debug the application and break it during the time the request hangs you will see a thread hanging in System.UriHelper.UnescapeString.
If I use LINQPad and directly pass this string to Uri.UnescapeDataString() it does not hang. So there seems to be some flaw in how the AspNetCore.WebUtilities.FormReader calls Uri.UnescapeDataString().
StackTrace
>	System.dll!System.UriHelper.UnescapeString(char* pStr, int start, int end, char[] dest, ref int destPosition, char rsvd1, char rsvd2, char rsvd3, System.UnescapeMode unescapeMode, System.UriParser syntax, bool isQuery)	Unknown  	System.dll!System.Uri.UnescapeDataString(string stringToUnescape)	Unknown  	Microsoft.AspNetCore.WebUtilities.dll!Microsoft.AspNetCore.WebUtilities.FormReader.ReadChar(char seperator, int limit, out string word)	Unknown  	Microsoft.AspNetCore.WebUtilities.dll!Microsoft.AspNetCore.WebUtilities.FormReader.TryReadNextPair()	Unknown  	Microsoft.AspNetCore.WebUtilities.dll!Microsoft.AspNetCore.WebUtilities.FormReader.ReadNextPairAsyncImpl(System.Threading.CancellationToken cancellationToken)	Unknown  	mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx)	Unknown  	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx)	Unknown  	mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run()	Unknown  	mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.OutputAsyncCausalityEvents.AnonymousMethod__0()	Unknown  	mscorlib.dll!System.Runtime.CompilerServices.TaskAwaiter.OutputWaitEtwEvents.AnonymousMethod__0()	Unknown  	mscorlib.dll!System.Threading.Tasks.AwaitTaskContinuation.ExecuteWorkItemHelper()	Unknown  	mscorlib.dll!System.Threading.ThreadPoolWorkQueue.Dispatch()	Unknown

We're aware of performance issues in this code path (and calling UnescapeDataString has a fix upcoming in 3.0 for this very issue)
As it's possible to limit form post sizes, and file uploads don't come via this parsing route is a 300k payload a typical size for your applications?

UnescapeDataString has a fix upcoming

Do you have a corresponding issue / pull request for me?

is a 300k payload a typical size for your applications

No, we're actually trying to protect us from DoS attacks. How to limit post data size to something around 10KB while still being able to POST-upload 1GB files (which actually is the scenario we have in our application).

https://github.com/dotnet/corefx/issues/36050 is the fix in CoreFx.
@jkotalik can you help with the limit tweaking config please?

You can use the RequestFormLimits attribute to limit lengths for values for form and multipart forms. See: https://github.com/aspnet/AspNetCore/blob/master/src/Mvc/Mvc.Core/src/RequestFormLimitsAttribute.cs.

Or configure it globally via:
services.Configure<FormOptions>(options =>
{
  options.ValueLengthLimit = ...
});

I'll give it a try on Monday and will report back to you. Thanks for the advice!

Setting ValueLengthLimit worked, thank you very much. Still, there should be a proper fix for this in an upcoming ASP.NET Core release ;)

This has been fixed in corefx for release in .NET Core 3.0 (https://github.com/dotnet/corefx/pull/36056)


add badge to my project

Hi,
I have few projects that use greekeeper and it is great. I tryed to add a badge, how can I activate it?
I copyed it from
[![Greenkeeper badge](https://badges.greenkeeper.io/ForbesLindesay/uglify-to-browserify.svg)](https://greenkeeper.io/)

but if I replace with my path I see a disabled badge, even if greenkeeper is working, any hint?

I also installed greenkeeper v2 recently.

Hey @fibo,
the badge only works if you enable Greenkeeper 2. The initial pull request will add the badge for you.
I hope that works for you.
Best,
Stephan

I updgraded greenkeeper.io in two projects:

https://github.com/fibo/zeroconf-redux did not received the PR.
https://github.com/fibo/SVGx did and has a badge now.

@fibo Somehow there was no CI status created on https://github.com/fibo/zeroconf-redux/commits/greenkeeper/initial. That's why it is not enabled there. You might have to check you CI.

ah, maybe you check if the badge is already there, I added it by hand

I merged the greenkeeper/initial branch, the badge is still disabled. I did not configured any CI, I don't know what could be wrong, on the other repo I had no issue.
How can I repeat the procedure to upgrade, maybe if I remove the repo and then add it again? Any hint?


Button: icon-left height differs from icon-right

Overview of the problem
Oruga version: 0.8.9
Vuejs version: 3.3
OS/Browser: Chrome
Description
When using a button with icon-left, the overall button is taller than an equivalently configured button with icon-right
This may be a bug with the bootstrap theme for oruga, rather than oruga itself.
It's unclear why exactly the button is taller because the button-wrapper span is the same height, but for some reason, an additional space is added below the button text.

Thank you for spotting this.
Its somehow related to:
.btn .button-wrapper {
    display: inline-flex;
}

When I remove the display property, it has the same height. But I don't understand why this is happening.


exit code is always 0

Operating System: Ubuntu 18.04
Node Version: v8.10.0
NPM Version: 6.0.0
webpack Version: 4.9.1
webpack-command Version: 0.2.0

This issue is for a:

[x] bug
[ ] feature request
[ ] modification request

Expected Behavior
If any errors occurs I expect some exit code > 0.
Actual Behavior
exit code is 0
How Do We Reproduce?
put some invalid code before running webpack
New Feature Use Case

@MrMamen Please do not remove portions of an issue template, or your issue will be marked as invalid and closed in the future. Please also make an effort in the future to provide a complete issue:

put some invalid code before running webpack

That helps no one understand your issue, as it lacks any context for which you might be seeing the issue. You also didn't provide any code; a webpack config and/or code which is generating an error for which you expect to see a different exit code.

This is the simplest example I can find. The only thing I did was creating an empty directory before running webpack-command with no config files or parameters:

$ ../../node_modules/.bin/webpack
ℹ ｢webpack｣: Starting Build
ℹ ｢webpack｣: Build Finished
webpack v4.9.1
44224b95b411030deb1a
size  name  module  status
Δt 44ms
Entry module not found: Error: Can't resolve './src' in '/home/mrmamen/development/test'
0:0  error  webpack-stylish:
configuration
0:0  warning  The 'mode' option has not been set, webpack will fallback to
'production' for this value. Set 'mode' option to 'development' or
'production' to enable defaults for each environment.
✖ 2 problems (1 error, 1 warning)

The exit code is 0. This is revealed by entering echo $? (This is version 0.3, released after this issue was opened)

@MrMamen thanks. we released a new version with a fix for this.

@shellscape OK I'll have another look when v0.3.1 or v0.4.0 is public

The error still occurs on v0.3.1


Change Score Text With Lua (and some arrow hud thing which is optional lmao)

Describe your problem here.
so basically the basic score text on the hud is "SCORE: 0 | MISSES: 0 | RATING: ?" but is there any way to edit it with lua to something like "SCORE: 0 // COMBO BREAKS:0" without the rating text
and for the arrow hud thing, im trying to make each arrow press have a fade, so that whenever an arrow is pressed instead of the usual 2 frame return animation its a nice tweened smooth return, i have animated it but it only works if i keep the arrow pressed - and as far as i know theres no way to force the confirmation animation to play fully
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

setProperty("scoreText.txt","SCORE: " .. score .. " // COMBO BREAKS: " .. misses);

Could you show your code for the animated arrows?

Could you show your code for the animated arrows?

i dont have any code for them, i animated them to have a long fade thing, if you need an example im trying to make it look how it does in the reworked skylimit teaser here: https://www.youtube.com/watch?v=bV8DZZFB9vo

setProperty("scoreText.txt","SCORE: " .. score .. " // COMBO BREAKS: " .. misses);

btw that doesnt work 😭

setProperty("scoreText.txt","SCORE: " .. score .. " // COMBO BREAKS: " .. misses);

btw that doesnt work 😭

oops mb
I got mixed up a bit
setProperty("scoreTxt.text","SCORE: " .. score .. " // COMBO BREAKS: " .. misses);

setProperty("scoreText.txt","SCORE: " .. score .. " // COMBO BREAKS: " .. misses);

btw that doesnt work 😭

oops mb I got mixed up a bit
setProperty("scoreTxt.text","SCORE: " .. score .. " // COMBO BREAKS: " .. misses);

yeah man i noticed that and changed it, still doesnt work. I tried this method a while ago and even then it didnt work which is why i asked on here

setProperty("scoreText.txt","SCORE: " .. score .. " // COMBO BREAKS: " .. misses);

btw that doesnt work 😭

oops mb I got mixed up a bit
setProperty("scoreTxt.text","SCORE: " .. score .. " // COMBO BREAKS: " .. misses);

yeah man i noticed that and changed it, still doesnt work. I tried this method a while ago and even then it didnt work which is why i asked on here

That's weird.  What version are you using?

setProperty("scoreText.txt","SCORE: " .. score .. " // COMBO BREAKS: " .. misses);

btw that doesnt work 😭

oops mb I got mixed up a bit
setProperty("scoreTxt.text","SCORE: " .. score .. " // COMBO BREAKS: " .. misses);

yeah man i noticed that and changed it, still doesnt work. I tried this method a while ago and even then it didnt work which is why i asked on here

That's weird. What version are you using?

0.7.3, base version i havent made any modifications to the exe or compiled it, downloaded straight from the github

Hmm...
setProperty("scoreTxt.text","SCORE: " .. score .. " // COMBO BREAKS: " .. misses);

is working fine for me (I'm using version 0.7.3)...
Are you putting the line of code in onUpdatePost or onUpdate? (I'm pretty sure onUpdatePost would be better for this.)

Hmm...
setProperty("scoreTxt.text","SCORE: " .. score .. " // COMBO BREAKS: " .. misses);

is working fine for me (I'm using version 0.7.3)... Are you putting the line of code in onUpdatePost or onUpdate? (I'm pretty sure onUpdatePost would be better for this.)

ah ok, i was using onUpdate, lemme try with post

kk, ill wait

holy shit that worked 😭

thanks man, also any luck with the notes fading thing?

thanks man, also any luck with the notes fading thing?

Nah, i haven't looked into it yet.  Ill get to it in a bit tho.

thanks man, also any luck with the notes fading thing?

Nah, i haven't looked into it yet. Ill get to it in a bit tho.

aight ill wait patiently - tysm

thanks man, also any luck with the notes fading thing?

Nah, i haven't looked into it yet. Ill get to it in a bit tho.

aight ill wait patiently - tysm

Ah crap, it's been about two days and i haven't started on it . . . ill try to get it done by tonight

Dude i finally got the script!
function onCreatePost()
    local arrow_dirs = {"left", "down", "up", "right"};
    for i = 0, 3 do
        makeLuaSprite(arrow_dirs[i+1].."_arrow_glow","arrow_glows/"..arrow_dirs[i+1],getProperty("playerStrums.members["..tostring(i).."].x"),getProperty("playerStrums.members["..tostring(i).."].y"));
        addLuaSprite(arrow_dirs[i+1].."_arrow_glow",true);
        setObjectCamera(arrow_dirs[i+1].."_arrow_glow","hud");
        setProperty(arrow_dirs[i+1].."_arrow_glow.alpha",0);
    end
end

function onUpdate(delta)
    local arrow_dirs = {"left", "down", "up", "right"};
    for i = 1, 4 do
        if(keyJustPressed(arrow_dirs[i]))then
            local key = arrow_dirs[i];
            setProperty(key.."_arrow_glow.alpha",getProperty("playerStrums.members["..tostring(i-1).."].alpha"));
            doTweenAlpha(key.."_arrow_glow_alpha", key.."_arrow_glow", 0, 0.4, "linear");
        end
    end
end

function goodNoteHit(membersIndex, noteData, noteType, isSustainNote)
    local arrow_dirs = {"left", "down", "up", "right"};
    local key = arrow_dirs[noteData+1];
    setProperty(key.."_arrow_glow.alpha",getProperty("playerStrums.members["..tostring(noteData).."].alpha"));
    doTweenAlpha(key.."_arrow_glow_alpha", key.."_arrow_glow", 0, 0.4, "linear");
end

So, works differently than just an animation integrated into the note skin, it makes graphics that ARE the note glows and whenever the user taps the keys it appears and then fades out.
Just change the path of the Arrow Glow textures in line 4.
@PumpkinSheee

Dude i finally got the script!
function onCreatePost()
    local arrow_dirs = {"left", "down", "up", "right"};
    for i = 0, 3 do
        makeLuaSprite(arrow_dirs[i+1].."_arrow_glow","arrow_glows/"..arrow_dirs[i+1],getProperty("playerStrums.members["..tostring(i).."].x"),getProperty("playerStrums.members["..tostring(i).."].y"));
        addLuaSprite(arrow_dirs[i+1].."_arrow_glow",true);
        setObjectCamera(arrow_dirs[i+1].."_arrow_glow","hud");
        setProperty(arrow_dirs[i+1].."_arrow_glow.alpha",0);
    end
end

function onUpdate(delta)
    local arrow_dirs = {"left", "down", "up", "right"};
    for i = 1, 4 do
        if(keyJustPressed(arrow_dirs[i]))then
            local key = arrow_dirs[i];
            setProperty(key.."_arrow_glow.alpha",getProperty("playerStrums.members["..tostring(i-1).."].alpha"));
            doTweenAlpha(key.."_arrow_glow_alpha", key.."_arrow_glow", 0, 0.4, "linear");
        end
    end
end

function goodNoteHit(membersIndex, noteData, noteType, isSustainNote)
    local arrow_dirs = {"left", "down", "up", "right"};
    local key = arrow_dirs[noteData+1];
    setProperty(key.."_arrow_glow.alpha",getProperty("playerStrums.members["..tostring(noteData).."].alpha"));
    doTweenAlpha(key.."_arrow_glow_alpha", key.."_arrow_glow", 0, 0.4, "linear");
end

HOLY SHIT!!!! THANK YOU SO MUCH BRO
YOURE ACRUALLY HIM

LEMME TEST THIS

DID IT WORK ??

UHHH YES AND NO, THE TEXTURES DONT APPEAR SO IT JUST HAS THE HAXEFLIX LOGO

UHHH YES AND NO, THE TEXTURES DONT APPEAR SO IT JUST HAS THE HAXEFLIX LOGO

DID YOU FORGET TO PUT THE ARROW GLOW TEXTURES IN THE CORRECT PATH?

arrow_glows/*the direction name (left, right, etc.)*

OH WAIT
do i need to have the arrow glows be individual images?
or can i just use the sprite sheet for them

also the arrow glows directory should be in images i assume

OH WAIT do i need to have the arrow glows be individual images? or can i just use the sprite sheet for them

sadly you have to export it as each individual image, idk how to do spritesheets in lua

also the arrow glows directory should be in images i assume

yea

do you know the dimensions that each arrow should be?

do you know the dimensions that each arrow should be?

uhhhh, ah crap, i don't, it should just be the arrow strum's dimensions

ok, the dimensions should be something around 96x96

any updates?

@PumpkinSheee did you forget about this post? uhh its been idle for a while by now.

@PumpkinSheee did you forget about this post? uhh its been idle for a while by now.

oh shi mb bro
yeah script works perfectly thank you so much youre the GOAT

@PumpkinSheee did you forget about this post? uhh its been idle for a while by now.

oh shi mb bro yeah script works perfectly thank you so much youre the GOAT

Lfg
glad i could help


Fix tests with time-dependent token serializer

Fixes #11424.

The issue seems to be that the ordering of the calls is non-deterministic. I'd recommend either a) ordering the models that send_organization_member_invited_email is getting called on, or b) asserting that a set of calls has been made, not a list of calls, if the ordering doesn't matter.

Fixed by #11521.


missing library

I tried to work with the repo, so I cloned it, but my problem is in this 1. Sea Modelling file is the first line you import gridify  from pygradu
, and I cannot find this library. I have been searching everywhere, but I had no chance to find the correct library or even an explanation.
Can you please enlighten me about this? :)

The gridify import refers to this https://github.com/hakola/marine-traffic-modelling/blob/master/pygradu/gridify.py. I think that error is related to something on your environment (e.g. python version etc)

Thank you for the reply. I have another question do you have a requirement.txt that I can use? I tried to install the libraries
like pyproj and etc. but I think because of the version control I can not run any cells. Sorry for bothering you again

I could run the project if you want I can make a merge request or send you the requirements for python 3.10


[clickhouse][Connector-V2] How to use connection ssl

Search before asking

[X] I had searched in the feature and found no similar feature requirement.

Description
sink {
Clickhouse {
host = "<IP_ADDRESS>:8123"
database = "table"
table = "t1"
username = "default"
password = "1234561"
clickhouse.ssl = "true"
clickhouse.ssl_mode = "none"
clickhouse.ssl_root_certificate = "/home/bigdata/module/seatunnel/kong/server.crt"
schema = {
fields {
uri = string
}
}
bulk_size = 1
}
}
Connection error
Usage Scenario
[clickhouse][Connector-V2] Clickhouse SSL used sink Connection error
Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

This is a good feature. Looking forward your PR!


LQI slowly goes up to 255, then drops to 0 and climbs again...bug?

Hi there,
I am running Conbee II on RPI4. I have Debian 10 installed, Docker and run Homeassistant (0.116.2) in containers on it. I have installed the official hassio addon for zigbee2mqtt and i am absolutely loving it. You have done amazing work and packaged it so well, thank you for that. My network is stable and automations in NodeRed work super smooth and fast.
But my LQI data seems to not reflect that reality at all. In fact I think something is going wrong in the code around endpoint availability checking. I have configured my zigbee2mqtt addon version: 1.15.0 with:
advanced:
  availability_timeout: 120

My LQI across all devices appears to be looping. It starts with a number say 35 across most devices no matter how far or close they are. And then slowly they all climb up to 255 and then drop to 0. And then it starts again slowly to 255.
I think it has something to do with the availability check that is turned on by the 2 minute timeout routine I have activated.
Here are some screenshots for you to further show what is happening.

That is not a problem with the add-on, however the behaviour you are showing is what you get usually when you're graphing a "counter". The drop is usually when the counter reaches max and starts from min again.
I'm using 1.15.0 and LQI is ok on my setup, so my best guess is that for Conbee the metric is not exposed correctly.
As this is certainly not a problem with the add-on, I would recommend you open an issue here: https://github.com/Koenkk/zigbee2mqtt/issues or add comments about your problem here: https://github.com/Koenkk/zigbee-herdsman/issues/72

Alright thanks. I have opened a new issue with zigbee2mqtt. I agree it looks like that is a problem on that part as Home Assistant is really just the client / viewer of the data that it receives via mqtt. For completeness here is the issue link:
https://github.com/Koenkk/zigbee2mqtt/issues/4630


which: no decrypt.py in ...

Running cia-unix in experimental results in which not being able to find decrypt.py
I worked around this by adding it the directory to $PATH and making it executable.
export $PATH=$PATH:`pwd` && chmod u+x decrypt.py

Please try to compile the latest source, It should be fixed 😁

Pipy no longer allows installs of python2 packages to work in ubuntu 22.04 (or some other incompatibility). So the install of the AES cipher package no longer works, even if you install python2.7 and pip2.
This has to be ported to python 3 'for real'.

Hi, pycryptodome is a fork of pycrypto, and it only works on python3, experimental branch doesn’t rely on pycrypto anymore.
The “Crypto” module is referred to the new library, but it has the same naming.

@lrossin did you fixed the error recompiling the latest experimental source?

Sorry, I will close this issue

91f845c44d474eaf34d2b86e6d0be1b0e5ff81db fixed that


ENH: load timestamp data with timezones other than UTC

dataframe.to_csv(
csv_buffer, index=False, header=False, encoding='utf-8',
date_format='%Y-%m-%d %H:%M')
No harm in adding %z here for timezone.
Current workaround for me is  df[col] = df[col].dt.tz_localize('Australia/Sydney').tz_convert('UTC')
Will you accept pull request for this one?

Hi @jwBoral - thanks for the issue report.
Can you offer some more details? Is this loading into python? Into BQ? Do you have a repro example?

this is from the load.py script into BQ.  in the function encode_chunk
`def encode_chunk(dataframe):
"""Return a file-like object of CSV-encoded rows.
Args:
dataframe (pandas.DataFrame): A chunk of a dataframe to encode
"""
csv_buffer = six.StringIO()
dataframe.to_csv(
csv_buffer, index=False, header=False, encoding='utf-8',
date_format='%Y-%m-%d %H:%M:%S.%f')
I SUGGEST CHANGE HERE :) with '%Y-%m-%d %H:%M:%S.%f%z'
# Convert to a BytesIO buffer so that unicode text is properly handled.
# See: https://github.com/pydata/pandas-gbq/issues/106
body = csv_buffer.getvalue()
if isinstance(body, bytes):
    body = body.decode('utf-8')
body = body.encode('utf-8')
return six.BytesIO(body)`

It's dropping the df into a csv to upload to BQ. Even if you set the correct timezone information in the dataframe, the offset is not captured in this csv dump. This then results it not being captured in the timestamp column in BQ during the load. (BQ then defaults the value to UTC which isn't correct, if the timezone information in the dataframe was something other than UTC)
df datetime is : 2012-03-20 13:00:00+10:00
dump to csv is: 2012-03-20 13:00:00  (WITHOUT TZ OFFSET)
BQ timestamp respresentation is:  2012-03-20 13:00:00+00:00 (Defaults back to UTC)

Great! Thanks for the update
If BQ supports this from CSV, this would be a very welcome addition. (If you're not sure, it's worth confirming this prior)

I think we'll have the best luck if we convert to UTC before serializing to
CSV. I've found the time zone parsing to be iffy when loading to BigQuery.
On Wed, May 23, 2018 at 1:58 AM Maximilian Roos<EMAIL_ADDRESS>wrote:

Great! Thanks for the update
If BQ supports this from CSV, this would be a very welcome addition. (If
you're not sure, it's worth confirming this prior)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pydata/pandas-gbq/issues/181#issuecomment-391273477,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPHAyfFtZVa8fo_DPkcizq-rtSKWZGpks5t1SSbgaJpZM4UJlrG
.

--

•  *Tim Swast
•  *Software Friendliness Engineer
•  *Google Cloud Developer Relations
•  *Seattle, WA, USA

We should be careful about types here. Are we sure we want timestamp for
dates? Seems to me as though we should drop the hours and minutes to load
these as a date column.
On Wed, May 23, 2018 at 7:42 AM Tim Swast<EMAIL_ADDRESS>wrote:

I think we'll have the best luck if we convert to UTC before serializing to
CSV. I've found the time zone parsing to be iffy when loading to BigQuery.
On Wed, May 23, 2018 at 1:58 AM Maximilian Roos<EMAIL_ADDRESS>wrote:

Great! Thanks for the update
If BQ supports this from CSV, this would be a very welcome addition. (If
you're not sure, it's worth confirming this prior)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://github.com/pydata/pandas-gbq/issues/181#issuecomment-391273477
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AAPHAyfFtZVa8fo_DPkcizq-rtSKWZGpks5t1SSbgaJpZM4UJlrG
.

--

• *Tim Swast
• *Software Friendliness Engineer
• *Google Cloud Developer Relations
• *Seattle, WA, USA

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pydata/pandas-gbq/issues/181#issuecomment-391372903,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPHA3F2Z0y0iqqijYq41D-86ruVfKjLks5t1XVLgaJpZM4UJlrG
.

--

•  *Tim Swast
•  *Software Friendliness Engineer
•  *Google Cloud Developer Relations
•  *Seattle, WA, USA

I agree this library should support uploading date and datetime fields but this library has chosen to  stick with timestamp.  This is a separate issue.
The fact that this library has chosen with timestamp for the time being, means it should support timezones. On the other hand I don't have experience uploading a full proper timestamp string into BigQuery.  https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types
Ideally I would like to have date and datetime fields.

I would love to support dates over datetimes - both as a feature and because most of our data is in dates.
At the moment we upload as datetimes and then run a separate query to cast to dates.
But pandas doesn't have a date type, unless we support PeriodIndexes. We could try and guess whether the timestamps are attempting to rep dates - i.e. midnight with daily frequency. But I think that would be too much magic

But I think that would be too much magic

In case it's useful--it seems like the code in pandas.DataFrame.to_sql might be useful as a reference approach.
They use pandas._libs.lib.infer_dtype, which will return "date".

Possibly fixed by serializing to Parquet instead? https://github.com/googleapis/python-bigquery-pandas/pull/413
Needs an integration test to verify.

Re: a date dtype, we've made some progress in supporting this via an extension dtype package. https://github.com/googleapis/python-db-dtypes-pandas Core pandas folks are open to adding these to the core library, but requires some cleanup first.


Find a way to reuse the Vivo frontend on docker desktop

One way I imagine this could be done is by having a custom endpoint on vivo which serves the version of the page used in the desktop extension. The extension would then have an iframe which uses this endpoint

Moved to the core project scope


beta ES6: Use Destructuring Assignment with Objects - description errors

Challenge use-destructuring-assignment-with-objects has an issue.
User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:51.0) Gecko/20100101 Firefox/51.0.
Please describe how to reproduce this issue, and include links to screenshots if possible.
In description it says:
"Consider the following ES5 code:"

const voxel = {x: 3.6, y: 7.4, z: 6.54 };
const x = voxel.x; // x = 3.6
const y = voxel.y; // y = 7.4
const z = voxel.z; // z = 6.54

"const" is ES6, should be "var"?
Also: is below code correct? Are there "a", "y", "z" on purpose, maybe to show that you can use xyz and abc?
    const { x : a, y : b, z : c } = voxel // a = 3.6, y = 7.4, z = 6.54

edit: This challenge is weird. I don't know how to solve it so I clicked "Run tests" to see some errors descriptions, but instead of errors I got confirmation of solved challenge (and all tests passed even though I didn't change anything in code yet).

Thanks for reporting this issue! This could definitely be improved.
Let's start with your question:

Also: is below code correct? Are there "a", "y", "z" on purpose, maybe to show that you can use xyz and abc?

The description of this example is correct, but as you noticed, there's a problem with the comment that represents the output. This is what happens when running this example in the browser console:

What do you think about making following changes?

As you said, the ES5 example should use var instead of const
The comment explaining the output of this line needs to be changed to show a, b and c instead of a, z and y.
There's a missing semicolon at the end of the first line in the challengeSeed code. This makes the linter complain.

As you reported this, would you like to make an open source contribution with the fix? Me and other contributors would be happy to guide you through the process! :smile:

To get started, read the Contributing Guidelines.
Here's the lines where you can make changes to the challenge
If you need any help, please come chat with us in the Contributors chat room.

I can try. :) Could you also take a look at my "edit" at the end of first post - I highly doubt I can fix that... ;)

@gogolab The ES6 challenges currently don't have any working tests - there's a problem when we transpile the code from ES6 to ES5 (so that it actually can run in browsers).
That's unfortunate. Will you be able to fix this in the next week? If so, I think we can assign this to you even if you can't fix it right away :blush:

@Greenheart
Oh ok. :)
And yes - in few days I'll be back in my place and could try to fix this issue. :)

@gogolab Great, reach out to us if you need anything more than what's in the comments above :blush:

@Greenheart

there's a problem when we transpile the code from ES6 to ES5 (so that it actually can run in browsers).

Do you need assistance in setting up a webpack config file? I can probably lend a hand here if thats the case.

@Ethan-Arrowood thanks for offering to help.
@BerkeleyTrue what's the status of the ES6 transpilation?

Hi, can't seem to find what's wrong with my solution after carefully checking the example given in the lesson [(https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/es6/use-destructuring-assignment-to-assign-variables-from-objects/)].
`const AVG_TEMPERATURES = {
today: 77.5,
tomorrow: 79
};
function getTempOfTmrw(avgTemperatures) {
"use strict";
// change code below this line
const tempOfTomorrow = undefined; // change this line
// change code above this line
return tempOfTomorrow;
}
console.log(getTempOfTmrw(AVG_TEMPERATURES)); // should be 79`
Changed the 'change this line' with this code :
const {today: x, tomorrow: tempOfTomorrow} = avgTemperatures;
The solution returned the correct value of 79 but 'destructuring with reassignment was used' objective was not met.

const AVG_TEMPERATURES = {
today: 77.5,
tomorrow: 79
};
function getTempOfTmrw(avgTemperatures) {
"use strict";
// change code below this line
const {tomorrow: tempOfTomorrow } = avgTemperatures;
// change code above this line
return tempOfTomorrow;
}
console.log(getTempOfTmrw(AVG_TEMPERATURES)); // should be 79

This bug has cost a lot of time to me


Fladle - additional test apks

https://github.com/runningcode/fladle/issues/96

Based on https://github.com/runningcode/fladle/issues/96#issuecomment-631176270 and https://github.com/Flank/flank/pull/801
I think we can close this issue since it was resolved.

I am not sure what this issue is about :) I really appreciate your building of the ability to omit the debug apk and instrumentation apk and only specifying additional-app-test-apks. However, fladle will not be able to use this feature because many of the larger codebases with a large number of tests require more than 50 shards and also require the fulladle plugin to automatically configure the additional test apks. Thus in order to maintain backwards compatibility with flank 8.1.0 to support more than 50 shards, fladle will not use this new API for the time being.

https://github.com/Flank/flank/issues/804 will enable bypassing the 50 shard limit once this is implemented.


Add changelog.md retrospectively.

I would like to go back a at least tag old commits but am looking how to do this without disturbing the commit hash. Although I have noticed the readme is out of date so I may merge 0.1.3 and 0.1.4 so as not to amend them.
The current repo should be something like.
pangraph-0.1.3
* Addition of conversion of FGL.
* Addition of Parser, Serializer and AST of GML.

pangraph-0.1.2 141360fbc2b6ca232ce91a9b14aa9a626082ba92 08/06/2018
Note: First Hackage release which follows correct cabal versioning increments.
* Addition of Containers (convert).
* Bump to Stack LTS.
* Update to Algebraic Graphs to build with more versions.

pangraph-<IP_ADDRESS> 49bc8a38842256b7fb7c285725dcfb6dfb03cfcb 03/02/2018
Note: First hackage release, prior to this on the repo there are many issues with commits.
Note: Commit date earlier.
Note: This list is all features up to this point.
* Parser and serlizer for subset of Graphml.
* Implementation of Algebraic Graphs.

@thisiswhereitype Pangraph is a very young project, I would just add a changelog describing changes for the next release without worrying too much about previous releases.


Unable to install "Runner" , failed to run app to iPhone using xcode

Hello,,,
I am using Flutter 3.0.1 , xcode 13.2.1 ,,,
I tried to run the app to my iPhone (IOS 15.6.1), the build is done successfully , but it comes up with (Unable to install "Runner").

It shows that the Executable file is not specified, but I checked that the Executable file parameter is determine correctly .

I think the error is some thing related with firebase integration. I have added the GoogleService-Info.plist file through xcode.
Any ideas or solutions?
Thanks,

Hi @HERO-EYE
This issue doesn't seem to describe a bug or a feature request. Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


Ensure suggestionsTransform is executed when creating initial state

Ensures suggestionsTransform is used within getInitialState for the state manager reducer.
Fixes #14

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

9 of 9 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 97.259%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
1426

Relevant Lines:
1463

💛  - Coveralls


fix collection method_missing delegation

I stumbled on this bug by accident when I attempted to call #all on a Pagination::Collection object and got:
undefined method `all' for nil:NilClass

I am not entirely sure this is what you'd want to do, but delegating missing methods to an unset instance variable is probably even less desirable/expected than delegating to the collection's paginator.

Another possibility would be to remove the method_missing message passing all together, as you already have a pretty complete enumeration of methods being forwarded to the paginator in you in your def_delegators line.

Looks like a REALLY OLD COPY/PASTE error. Haha.


Fix #197

This fixes #197. Putting rotation back in the child_transform in transform_propagation2 causes the test to fail. This fixes child collider shapes in my project.
TODO: Update collider position_wrt_parent when child transform changes?

Thanks!

TODO: Update collider position_wrt_parent when child transform changes?

That would be great, yes. Though we can keep this for another PR, and merge this one.


Adding option to read realtime data from envoy using /stream/meter endpoint

This can be turned on using configuration, and is disabled by default It will only update the phase sensors entities, as these sensors are fed back from the endpoint. The default consumption/production/etc entities are still polled and updated every minute (unless configured otherwise)
Also implemented a interval/throttle to prevent a entity update overload for some systems (took this example from the dsmr reader component)
It will only update the phase sensors that actually hold some data.
It works for me (with 1phase metered), and it should not break non-metered envoys (but i could not fully test this)

btw, these real time measurements could allow for more statistics, like frequency, power factor and amps, as the realtime updates provide them (but we do not have any entities for this, as we have no other polling way to find them i guess)