dhall-json fails to build

Describe the bug
dhall-json fails to build both on master and haskell-updates branches with the following error:
Configuring tasty-silver-3.2.1...
CallStack (from HasCallStack):
  $, called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:1024:20 in Cabal-<IP_ADDRESS>:Distribution.Simple.Configure
  configureFinalizedPackage, called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:477:12 in Cabal-<IP_ADDRESS>:Distribution.Simple.Configure
  configure, called at libraries/Cabal/Cabal/Distribution/Simple.hs:625:20 in Cabal-<IP_ADDRESS>:Distribution.Simple
  confHook, called at libraries/Cabal/Cabal/Distribution/Simple/UserHooks.hs:65:5 in Cabal-<IP_ADDRESS>:Distribution.Simple.UserHooks
  configureAction, called at libraries/Cabal/Cabal/Distribution/Simple.hs:180:19 in Cabal-<IP_ADDRESS>:Distribution.Simple
  defaultMainHelper, called at libraries/Cabal/Cabal/Distribution/Simple.hs:116:27 in Cabal-<IP_ADDRESS>:Distribution.Simple
  defaultMain, called at Setup.hs:2:8 in main:Main
Setup: Encountered missing or private dependencies:
tasty >=1.4

This actually seems to be caused by tasty-silver wanting a newer tasty.
To Reproduce
Steps to reproduce the behavior:
nix-build --no-out-link -A dhall-json

Notify maintainers

@peti
Metadata

system: "x86_64-linux"
host os: Linux 5.4.85, NixOS, 21.03pre260232.733e537a8ad (Okapi)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.10
channels(root): "home-manager, nixos-21.03pre261422.1a57d96edd1"
channels(matt): ""
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

In an effort to start contributing to Nixpkgs I tried just overriding tasty
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 05740979b8a..803076dcfd7 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -935,9 +935,13 @@ self: super: {
   # doJailbreak: waiting on revision 1 to hit hackage
   servant-auth-client = doJailbreak (dontCheck super.servant-auth-client);

+  tasty-silver = super.tasty-silver.override {
+    tasty = pkgs.haskellPackages.tasty_1_4_0_2;
+  };
+
   # Generate cli completions for dhall.
   dhall = generateOptparseApplicativeCompletion "dhall" super.dhall;
-  dhall-json = generateOptparseApplicativeCompletions ["dhall-to-json" "dhall-to-yaml"] super.dhall-json;
+  dhall-json = generateOptparseApplicativeCompletions [ "dhall-to-json" "dhall-to-yaml" ] super.dhall-json;
   dhall-nix = generateOptparseApplicativeCompletion "dhall-to-nix" super.dhall-nix;

   # https://github.com/haskell-hvr/netrc/pull/2#issuecomment-469526558

but that fails with
/nix/store/517wgv7ii4jc440r525gw5f9gjmk07ac-ghc-8.10.3/bin/runghc
Using strip found on system at:
/nix/store/g656ygb8ym4zrjjaq59g8xmfkq114kbh-cctools-binutils-darwin-949.0.1/bin/strip
Using tar found on system at:
/nix/store/pz7cpjzikncx48mi3kp9n9v884cs3kkd-gnutar-1.32/bin/tar
No uhc found
*** abort because of serious configure-time warning from Cabal
builder for '/nix/store/swwn4378wwjh8izxm0cvv4wjfs59sssv-tasty-silver-3.2.1.drv' failed with exit code 1
cannot build derivation '/nix/store/zjrmn6f89q8padq5fcw3yvsfy29p1xgd-dhall-json-1.7.4.drv': 1 dependencies couldn't be built

I'm currently on MacOS but will try on my NixOS machine as well

In an effort to start contributing to Nixpkgs I tried just overriding tasty
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 05740979b8a..803076dcfd7 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -935,9 +935,13 @@ self: super: {
   # doJailbreak: waiting on revision 1 to hit hackage
   servant-auth-client = doJailbreak (dontCheck super.servant-auth-client);

+  tasty-silver = super.tasty-silver.override {
+    tasty = pkgs.haskellPackages.tasty_1_4_0_2;
+  };
+
   # Generate cli completions for dhall.
   dhall = generateOptparseApplicativeCompletion "dhall" super.dhall;
-  dhall-json = generateOptparseApplicativeCompletions ["dhall-to-json" "dhall-to-yaml"] super.dhall-json;
+  dhall-json = generateOptparseApplicativeCompletions [ "dhall-to-json" "dhall-to-yaml" ] super.dhall-json;
   dhall-nix = generateOptparseApplicativeCompletion "dhall-to-nix" super.dhall-nix;

   # https://github.com/haskell-hvr/netrc/pull/2#issuecomment-469526558

but that fails with
/nix/store/517wgv7ii4jc440r525gw5f9gjmk07ac-ghc-8.10.3/bin/runghc
Using strip found on system at:
/nix/store/g656ygb8ym4zrjjaq59g8xmfkq114kbh-cctools-binutils-darwin-949.0.1/bin/strip
Using tar found on system at:
/nix/store/pz7cpjzikncx48mi3kp9n9v884cs3kkd-gnutar-1.32/bin/tar
No uhc found
*** abort because of serious configure-time warning from Cabal
builder for '/nix/store/swwn4378wwjh8izxm0cvv4wjfs59sssv-tasty-silver-3.2.1.drv' failed with exit code 1
cannot build derivation '/nix/store/zjrmn6f89q8padq5fcw3yvsfy29p1xgd-dhall-json-1.7.4.drv': 1 dependencies couldn't be built

I'm currently on MacOS but will try on my NixOS machine as well

@cideM thanks, that seems like a good direction. I tried your patch on NixOS and get the same error, but it looks to me like the cause is above:
Warning:
    This package indirectly depends on multiple versions of the same package. This is very likely to cause a compile failure.
      package tasty-hunit (tasty-hunit-<IP_ADDRESS>-4wguvogZyNxJRAz5uO7ZGq) requires tasty-1.2.3-XeiaYFZWJEFahNZ6NTbQD
      package tasty-silver (tasty-silver-3.2.1) requires tasty-<IP_ADDRESS>-FNAwtiP3bq72h444LA9ZHW
      package tasty-silver (tasty-silver-3.2.1) requires tasty-<IP_ADDRESS>-FNAwtiP3bq72h444LA9ZHW

@cideM thanks, that seems like a good direction. I tried your patch on NixOS and get the same error, but it looks to me like the cause is above:
Warning:
    This package indirectly depends on multiple versions of the same package. This is very likely to cause a compile failure.
      package tasty-hunit (tasty-hunit-<IP_ADDRESS>-4wguvogZyNxJRAz5uO7ZGq) requires tasty-1.2.3-XeiaYFZWJEFahNZ6NTbQD
      package tasty-silver (tasty-silver-3.2.1) requires tasty-<IP_ADDRESS>-FNAwtiP3bq72h444LA9ZHW
      package tasty-silver (tasty-silver-3.2.1) requires tasty-<IP_ADDRESS>-FNAwtiP3bq72h444LA9ZHW

This actually works
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 05740979b8a..cafe4dde549 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -937,7 +937,21 @@ self: super: {

   # Generate cli completions for dhall.
   dhall = generateOptparseApplicativeCompletion "dhall" super.dhall;
-  dhall-json = generateOptparseApplicativeCompletions ["dhall-to-json" "dhall-to-yaml"] super.dhall-json;
+  dhall-json = let
+    dhallJsonWithOverrides = super.dhall-json.override {
+      tasty = pkgs.haskellPackages.tasty_1_4_0_2;
+      tasty-hunit = self.tasty-hunit.override {
+        tasty = pkgs.haskellPackages.tasty_1_4_0_2;
+      };
+      tasty-silver = self.tasty-silver.override {
+        tasty = pkgs.haskellPackages.tasty_1_4_0_2;
+        tasty-hunit = self.tasty-hunit.override {
+          tasty = pkgs.haskellPackages.tasty_1_4_0_2;
+        };
+      };
+
+    };
+    in generateOptparseApplicativeCompletions ["dhall-to-json" "dhall-to-yaml"] dhallJsonWithOverrides;
   dhall-nix = generateOptparseApplicativeCompletion "dhall-to-nix" super.dhall-nix;

   # https://github.com/haskell-hvr/netrc/pull/2#issuecomment-469526558

This actually works
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 05740979b8a..cafe4dde549 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -937,7 +937,21 @@ self: super: {

   # Generate cli completions for dhall.
   dhall = generateOptparseApplicativeCompletion "dhall" super.dhall;
-  dhall-json = generateOptparseApplicativeCompletions ["dhall-to-json" "dhall-to-yaml"] super.dhall-json;
+  dhall-json = let
+    dhallJsonWithOverrides = super.dhall-json.override {
+      tasty = pkgs.haskellPackages.tasty_1_4_0_2;
+      tasty-hunit = self.tasty-hunit.override {
+        tasty = pkgs.haskellPackages.tasty_1_4_0_2;
+      };
+      tasty-silver = self.tasty-silver.override {
+        tasty = pkgs.haskellPackages.tasty_1_4_0_2;
+        tasty-hunit = self.tasty-hunit.override {
+          tasty = pkgs.haskellPackages.tasty_1_4_0_2;
+        };
+      };
+
+    };
+    in generateOptparseApplicativeCompletions ["dhall-to-json" "dhall-to-yaml"] dhallJsonWithOverrides;
   dhall-nix = generateOptparseApplicativeCompletion "dhall-to-nix" super.dhall-nix;

   # https://github.com/haskell-hvr/netrc/pull/2#issuecomment-469526558

@cideM it looks really close, but I get a compiler error with your latest patch (building on NixOS on latest haskell-updates branch):
src/Data/ListLike/UTF8.hs:153:10: error:
    • Overlapping instances for IsString (UTF8 BSC.ByteString)
        arising from the superclasses of an instance declaration
      Matching instances:
        instance UTF8.UTF8Bytes string index => IsString (UTF8 string)
          -- Defined in ‘Data.String.UTF8’
        instance IsString (UTF8 BSC.ByteString)
          -- Defined at src/Data/ListLike/UTF8.hs:150:10
    • In the instance declaration for
        ‘StringLike (UTF8 BSC.ByteString)’
    |
153 | instance StringLike (UTF8 BS.ByteString) where
    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Data/ListLike/UTF8.hs:277:10: error:
    • Overlapping instances for IsString (UTF8 BSLC.ByteString)
        arising from the superclasses of an instance declaration
      Matching instances:
        instance UTF8.UTF8Bytes string index => IsString (UTF8 string)
          -- Defined in ‘Data.String.UTF8’
        instance IsString (UTF8 BSLC.ByteString)
          -- Defined at src/Data/ListLike/UTF8.hs:274:10
    • In the instance declaration for
        ‘StringLike (UTF8 BSLC.ByteString)’
    |
277 | instance StringLike (UTF8 BSL.ByteString) where

I don't know if this is idiomatic but if it's okay one of us should turn it into a PR?

go for it! (I'm happy to do it too if you'd prefer)

@cideM it looks really close, but I get a compiler error with your latest patch (building on NixOS on latest haskell-updates branch):
src/Data/ListLike/UTF8.hs:153:10: error:
    • Overlapping instances for IsString (UTF8 BSC.ByteString)
        arising from the superclasses of an instance declaration
      Matching instances:
        instance UTF8.UTF8Bytes string index => IsString (UTF8 string)
          -- Defined in ‘Data.String.UTF8’
        instance IsString (UTF8 BSC.ByteString)
          -- Defined at src/Data/ListLike/UTF8.hs:150:10
    • In the instance declaration for
        ‘StringLike (UTF8 BSC.ByteString)’
    |
153 | instance StringLike (UTF8 BS.ByteString) where
    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Data/ListLike/UTF8.hs:277:10: error:
    • Overlapping instances for IsString (UTF8 BSLC.ByteString)
        arising from the superclasses of an instance declaration
      Matching instances:
        instance UTF8.UTF8Bytes string index => IsString (UTF8 string)
          -- Defined in ‘Data.String.UTF8’
        instance IsString (UTF8 BSLC.ByteString)
          -- Defined at src/Data/ListLike/UTF8.hs:274:10
    • In the instance declaration for
        ‘StringLike (UTF8 BSLC.ByteString)’
    |
277 | instance StringLike (UTF8 BSL.ByteString) where

I don't know if this is idiomatic but if it's okay one of us should turn it into a PR?

go for it! (I'm happy to do it too if you'd prefer)

Seems to be https://github.com/ddssff/listlike/issues/10 I'll look into it tomorrow

Seems to be https://github.com/ddssff/listlike/issues/10 I'll look into it tomorrow

Works for me now on c871aec2a3429c0ed215edb5aa0cedbbf099efee could you check @mcwitt ?

Works for me now on c871aec2a3429c0ed215edb5aa0cedbbf099efee could you check @mcwitt ?

Should now be resolved at least on haskell-updates

Should now be resolved at least on haskell-updates

@cideM awesome, thanks for your effort on this!
I'm good to close this, but maybe we should wait until your fix lands in master? (not sure of the etiquette here)

@cideM awesome, thanks for your effort on this!
I'm good to close this, but maybe we should wait until your fix lands in master? (not sure of the etiquette here)

Resolved by https://github.com/NixOS/nixpkgs/pull/108765 and https://github.com/NixOS/nixpkgs/pull/109126.

Resolved by https://github.com/NixOS/nixpkgs/pull/108765 and https://github.com/NixOS/nixpkgs/pull/109126.


Advice for multi physics body node.

This is a follow-up to my game needs of having thousands of agents. https://github.com/godotengine/godot/issues/21269
I just recently added a multiraycast custom node that will query thousands of raycasts at once (for fixing agents to a heightmap collision) while only using single node. This debug view gif illustrates. I get 60 fps with 1600 agents.

Now I need to implement 1600 kinematic bodies to allow for projectile raycasts to be tested against units... Obviously as soon as I try to instance 1600 kinematic body nodes however, I get 5 fps.
Now what's not clear to me if I can overcome this by making a new custom node that will handle multiple kinematic bodies at once (all using the same collisoin shape, but different transforms).
Other option is just using third-party physics for aabb ray-box collisions which would be most efficient. I'm already using third-party for navigation / unit movement collisions... I just need to figure out whether I should use the PhysicsServer for projectiles still...

yea my bad @eon-s I hadn't tried the Q&A. I like godot's . I forgot to set body_set_space(rid, get_world()->get_space()). It all works now... performance is great.

well actually performance isn't great after a certain number. My needs are pretty simple, I could probably eke out some better performance with a simpler collision query.

actually the real issue was I needed to move the 60 fps physics down to more reasonable 30 fps.


[Select] Partial customization of HTMLInputElement

Console.error generated due to partial customization of HTMLInputElement.

See for reference: https://github.com/mui/material-ui/issues/28687

@erosval follow the updates here, #247 is a prerequisite

:tada: This issue has been resolved in version 7.1.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 7.5.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 7.6.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 7.7.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Can I change zsh to default shell when zsh is installed without root privilege?

I just installed zsh from source and want to make it my default shell. Since I do not have administrative privileges, I wonder if I could make it.
Besides, if I use the tab-completion after typing in $ chsh -s, there is only options under /bin/ and /usr/bin/. While, when I try to execute chsh -s /home/phu/zsh/build/bin/zsh, it says chsh: /home/phu/zsh/build/bin/zsh is an invalid shell.
I did not find related instructions using Google.
Thanks !

@zxdawn the current installer fixed that issue.


cabal: Add dependency upper bounds

This is required to build this with current Hackage.

This PR no longer applies.


Displays the chrome custom tab at the link click of WebViewActivity

Thank you for amazing app!!
Now, WebViewActivity is not enabled JavaScript. And WebViewActivity can link move.
So WebViewActivity displays a page not completely.
If you enabled JavaScript, WebViewActivity contains the vulnerability.
I wrote code that displays the chrome custom tab at the link click of WebViewActivity.

:eyes:

Sorry. CI failure is our issue of CircleCI. I'll fix soon.

I understood it! Great thanks!
LGTM :+1:

I fixed CircleCI. Could you merge or rebase master branch to pass CI? :bow:

I rebased branch. :ok_hand:

Thanks! I merge it!

Thanks!!

:+1:


Error 403

(venv) PS D:\pyprojects\spot-down\spotify-downloader> python main.py 4UkUxO2WlKLc0Q1iEutGGh
Traceback (most recent call last):
File "D:\pyprojects\spot-down\spotify-downloader\main.py", line 90, in
license.raise_for_status()
File "D:\pyprojects\spot-down\venv\lib\site-packages\requests\models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://gew1-spclient.spotify.com/widevine-license/v1/audio/license

I encountered the same problem

it's just u bro this works 🤔

hello, i get the same response as the issue creator.
i created the wvd, its a valid license.
the track download also works,  it seems like that posting the challenge doesn't work correctly as the response is always 403

@well0nez and @teoofrast, is the wvd file from a real device or an emulator?


[Feature] support user variable hint

Why I'm doing:
Users want use user variable hint in query scope.  #32024
What I'm doing:

support /*+ set_user_variable() */ hint. The user variable only takes effect in this query and will be removed after finished.
HintCollector collects all query scope hint info.  Set all query scope hints instatementBase.allQueryScopeHints.  StmtExecutor initials hint info before analyze and plan and finally remove hint info in connect context.
extract hints in clause and set them in statementBase.hintNodes or selectList.hintNodes to build sql string from ast like previous.

A simple example:
user variables are replaced with value in query stmt.

user variables had been cleaned.

Fixes #issue
What type of PR is this:

[ ] BugFix
[x] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[ ] This is a backport pr

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

if I write select /+user_variable(select /+user_variable(select /+..../)/)/, how to execute?

if I write select /+user_variable(select /+user_variable(select /+..../)/)/, the nest sql how to execute?
like

select /*+ set_user_variable(
    @a = (select
    /*+set_var(query_timeout = 1) */
    c1 from t1 limit 1 )
    ) */
    @a from t1;

the parser regards/*+ set_user_variable(     @a = (select      /*+set_var(query_timeout = 1) */  as a hint in hidden channel, so any nested hint query is unsupported.

@mergify backport branch-3.2

@packy92 Does this PR fix issue #39819?

@packy92 what's the difference between these two pictures?


Merge Jackson2024

Before merging - should I also add to single genome host assoc.? Raw reads & aligned bams available for T. forsythia and S. mutans (and bams aligned to T. denticola, but this is basically unusable in downstream analysis as is).
Pull Request
This PR is for a

[x] New Publication(s)
[ ] Correction

For the following list(s):

[ ] ancientmetagenome-environmental (README)
[x] ancientmetagenome-hostassociated (README)
[ ] ancientsinglegenome-hostassociated (README)

This is to close #1160
PR Workflow

Open this PR with sample metadata on the samples metadata sheet (:tada: you're already here!)
Wait for checks for sample metdata to pass
(If checks fail) make corrections, and push changes to this branch (no need to open a new PR!)
(Once passed) comment on this PR @spaam-bot please autofill <table_name> <project_id> to get a half-filled template! (may take a minute or so to get the comment with the file)
Fill in the template, and verify autofilled data correct!
Once filled in, append(!) the new rows from the TEMPLATE file to the end of the corresponding library metadata file, and update this PR
Wait for checks for library metadata to pass
Request review!

Pre-review checklist (new publications)

[x] Publication is published

Preprints currently not accepted?

[x] Checked the publication is not already in the database?
[ x] Checked samples in this publication are not previously published data?

Newly re-sequenced metagenomes are OK!

[x] Samples are shotgun metagenomes and not amplicon data

Note: hostassociated-singlegenome may also contain whole-genome enriched data

[x] Checked the list follows conventions as described in the corresponding sample type's README file (e.g. using ERS/SRS accession codes for ENA/SRA)?
[x] Once sample table validation completed Library metadata has been added

Use @spaam-bot please autofill <table_name> <project_id> to get a half-filled template! May take a minute or so to get the comment with the file
Fill in template, and verify autofill data correct!
Once filled in, append(!) the new rows to the end of the corresponding library metadata file

[x] Changelog is updated to include the publication under 'Added'?

@spaam-bot please autofill ancientsinglegenome-hostassociated_libraries.tsv Jackson2024

@spaam-bot please autofill ancientsinglegenome-hostassociated_libraries.tsv Jackson2024

@iseultj it needs to be the table name without _libraries.tsv suffix, I realise now the terminology is unclear now 😅

@iseultj it needs to be the table name without _libraries.tsv suffix, I realise now the terminology is unclear now 😅

Oh cool! that makes sense 😄 could you merge the other PR I made (#1162) so Streptococcus mutans is an allowed species? Thanks!

@iseultj it needs to be the table name without _libraries.tsv suffix, I realise now the terminology is unclear now 😅

Oh cool! that makes sense 😄 could you merge the other PR I made (#1162) so Streptococcus mutans is an allowed species? Thanks!

I approved it, do you not have merge permissions?

@iseultj it needs to be the table name without _libraries.tsv suffix, I realise now the terminology is unclear now 😅

Oh cool! that makes sense 😄 could you merge the other PR I made (#1162) so Streptococcus mutans is an allowed species? Thanks!

I approved it, do you not have merge permissions?

No, sorry!

Oh! Ok! Merged for you!@

@spaam-bot please autofill ancientsinglegenome-hostassociated Jackson2024

All done - I think it might be better to get the ftp link for the submitted file rather than the file generated by the ENA/SRA though (which is what it does currently)- I have put ftp links and md5sums for the submitted files, because with the aligned bam, you get a generated fastq and have to realign anyway (which I assume people would prefer to go to the raw data for anyway). If you prefer the generated file, let me know and I'll modify it again :)

All done - I think it might be better to get the ftp link for the submitted file rather than the file generated by the ENA/SRA though (which is what it does currently)- I have put ftp links and md5sums for the submitted files, because with the aligned bam, you get a generated fastq and have to realign anyway (which I assume people would prefer to go to the raw data for anyway). If you prefer the generated file, let me know and I'll modify it again :)

We prefer to go for the generated one as this is more consistent, I've found occasionally submitted stuff is a bit broken (that has been fixed with the generated one).
I will have a look and can update for you if necessary during review!

@spaam-bot please autofill ancientsinglegenome-hostassociated Jackson2024

@spaam-bot please autofill ancientmetagenome-hostassociated Jackson2024

@spaam-bot please autofill ancientmetagenome-hostassociated Jackson2024

@jfy133 I've made most of those changes - I don't think it really makes sense to treat them as one sample, given that when analysed there are 2 different genomes from each tooth, and if people want to include them in metagenomic analysis, each subsample of the tooth is pretty different. If you're ok with that, I think this is ready to merge - I have updated the dates and ftp links, and the automatically generated table is working well :)


Add FastAPI() argument terms_of_service

This will populate the OpenAPI info with termsOfService.
Related to #843.

Thanks for the interest @patrickkwang ! :coffee:
This was implemented as part of https://github.com/tiangolo/fastapi/pull/1812
It is now available in FastAPI version 0.68.0 🔖🎉 (in some minutes)
The new docs are here: https://fastapi.tiangolo.com/tutorial/metadata/
Given that, I'll close this issue. But thanks for the effort! :cake:


Initial version

@tonyroberts this is the initial version of the package. I'll add a sphinx doc directory asap.
Can you review?
We need to add a license. I would suggest BSD.

thanks, that's merged. I've added the simple BSD license too.

thanks!


Selecting fields dynamically based on user input

Problem
I see that https://github.com/RobertCraigie/prisma-client-py/issues/19 added ability to select field to the client, but what is I need to select field based on user input, so the field to be selected has to be dynamic. But the above solution, needs you to regenerate the client. I wonder if there are any pattern for this scenario or any plans to address it in the future.

I'm currently thinking about using overloads & generating model types that have every field defined as optional, e.g.
class SelectedUser(BaseUser):
  id: str | None
  name: str | None

def find_unique(
  ...,
  select: UserSelect,
) -> SelectedUser | None:
  ...

As there isn't any ergonomic solution for typing this accurately unfortunately.


ci: index the content to the preprod collection after deploying

We moved to Kubernetes, so this is not used anymore.


Bluetooth: Kconfig: Fix BT_ECC defaults

The commit e85dd8af5d39b38 changed the way the BT_ECC Kconfig option
is enabled, however it got the dependency wrong. The dependency should
only look at BT_SMP_OOB_LEGACY_PAIR_ONLY if BT_SMP was also enable.
This broke e.g. the build of the mesh_demo app for the BBC
micro:bit since the memory consumption jumped up by roughly 2k.
This patch fixes the issue, and in the same go makes the Mesh handling
consistent by also using a conditional default rather than select.
Signed-off-by: Johan Hedberg<EMAIL_ADDRESS>

@ivan98ams FYI


Fix to support the recent updates in Cordova regarding the minSDK

This pull request is now managed with CodeReviewHub. Refresh.


Incomplete removal with specific symbolic links

test package:
#!/bin/sh -e

install -d "$1/tmp"

cd "$1/tmp"

mkdir 3.20

ln -s 3.20 3.21

The broken 3.21symlink remains when the package is uninstalled due to the logic in pkg_remove_files:
        # Remove files.
        if [ -f "$file" ] && [ ! -h "$file" ]; then
            rm -f "$file"

        # Remove file symlinks.
        elif [ -h "$file" ] && [ ! -d "$file" ]; then
            rm -f "$file"

        # Remove directories if empty.
        elif [ -d "$file" ] && [ ! -h "$file" ]; then
            rmdir "$file" 2>/dev/null ||:
        fi

The condition [ -h ] && [ ! -d ] will eval to true only when the 3.21 directory is removed. Here the removal breaks because the check happens before the 3.21 directory is removed. File symlinks aren't affected since they're always deleted.
This can ofcourse be solved by removing the [ ! -d ] check, I'm not sure why this check is needed anyways, since directory symlinks can be removed by a simple rm too.

Since pkg_remove_files() will try to remove everything from a packages manifest (which includes top level dirs), it could potentially remove symlinks like /bin, /lib, etc. So I guess Dylans work-around was to simply never remove symlinks pointing to a directory.

Yes, that's the exact reason behind it. See kisslinux/kiss#131

Theoretically we could get rid of this if we just... forced kiss to ignore every directory that should be persistent. But that's gross, and I don't think there's a not-gross way to do it.
Is this an actual problem, or just a theoretical one?

I encountered this with some old GTK theme, but it's probably specific to that one since i haven't seen any other theme create such links.
I guess this can be deemed as a non-issue as there's next to no packages using symlinks to a directory, and this problem doesn't exist with them.
-> find /usr -type l -exec test -d {} \; -exec ls -l {} \;
lrwxrwxrwx    1 root     root            27 Apr 29 16:09 /usr/src/linux-5.12/scripts/dtc/include-prefixes/mips -> ../../../arch/mips/boot/dts
lrwxrwxrwx    1 root     root            25 Apr 29 16:09 /usr/src/linux-5.12/scripts/dtc/include-prefixes/sh -> ../../../arch/sh/boot/dts
lrwxrwxrwx    1 root     root            28 Apr 29 16:09 /usr/src/linux-5.12/scripts/dtc/include-prefixes/nios2 -> ../../../arch/nios2/boot/dts
lrwxrwxrwx    1 root     root            31 Apr 29 16:09 /usr/src/linux-5.12/scripts/dtc/include-prefixes/openrisc -> ../../../arch/openrisc/boot/dts
lrwxrwxrwx    1 root     root            29 Apr 29 16:09 /usr/src/linux-5.12/scripts/dtc/include-prefixes/xtensa -> ../../../arch/xtensa/boot/dts
lrwxrwxrwx    1 root     root            28 Apr 29 16:09 /usr/src/linux-5.12/scripts/dtc/include-prefixes/dt-bindings -> ../../../include/dt-bindings
lrwxrwxrwx    1 root     root            28 Apr 29 16:09 /usr/src/linux-5.12/scripts/dtc/include-prefixes/arm64 -> ../../../arch/arm64/boot/dts
lrwxrwxrwx    1 root     root            30 Apr 29 16:09 /usr/src/linux-5.12/scripts/dtc/include-prefixes/powerpc -> ../../../arch/powerpc/boot/dts
lrwxrwxrwx    1 root     root            28 Apr 29 16:09 /usr/src/linux-5.12/scripts/dtc/include-prefixes/h8300 -> ../../../arch/h8300/boot/dts
lrwxrwxrwx    1 root     root            26 Apr 29 16:09 /usr/src/linux-5.12/scripts/dtc/include-prefixes/arm -> ../../../arch/arm/boot/dts
lrwxrwxrwx    1 root     root            26 Apr 29 16:09 /usr/src/linux-5.12/scripts/dtc/include-prefixes/arc -> ../../../arch/arc/boot/dts
lrwxrwxrwx    1 root     root            33 Apr 29 16:09 /usr/src/linux-5.12/scripts/dtc/include-prefixes/microblaze -> ../../../arch/microblaze/boot/dts
lrwxrwxrwx    1 root     root             6 Apr 28 18:52 /usr/local/share/man -> ../man
lrwxrwxrwx    1 root     root             3 Apr 28 18:52 /usr/lib64 -> lib
lrwxrwxrwx    1 root     root             3 Apr 28 18:52 /usr/sbin -> bin
lrwxrwxrwx    1 root     root             9 Apr 29 20:41 /usr/share/themes/gruvbox-dark-gtk/gtk-3.20/assets -> ../assets
lrwxrwxrwx    1 root     root            19 Apr 29 16:11 /usr/lib/modules/5.12.0/source -> /usr/src/linux-5.12
lrwxrwxrwx    1 root     root            19 Apr 29 16:11 /usr/lib/modules/5.12.0/build -> /usr/src/linux-5.12
lrwxrwxrwx    1 root     root            17 Apr 29 14:34 /usr/lib/terminfo -> ../share/terminfo

Maybe there could just be a warning like for files in /etc since most proper packages just have stuff in /usr/{bin,lib} and not symlinks like sbin ?�

Instead of adding code which guards certain files and dirs, we could add a check, which protects top-level symlinks. Only slightly more elegant though. I think the best would be to test if the linked directory still exists but then the order of removal matters, meaning we can't really do that when the symlink would get deleted before the linked directory.
So if this is not a huge issue, keeping it as is, is the best solution on my book. A warning would be nice but that would also require special rules or otherwise it will warn about not deleting the /bin symlink on most package removals.

This should be resolved now with 754c9424f1b74af494b96fcb2dab7d9f51f14557


Can't download Custom Themes

I'm on Windows 10, running Files 2.1.15. I'm unable to Upgrade to Windows 11 due to MS not supporting my i7-7700K processor, and maybe because of this my Files is not the latest. It says Custom Themes are bundled with the latest version of Files, but if I can't install that, I can't add any custom themes either.

Hi you don't need to install anything in orde to set custom themes. You should find available themes if you go to settings > Appearance. If only the Default theme is available you need to reset the app from windows settings > Apps.


⚠ Bofrost.lu has degraded performance

In f02442b, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1432 ms

Resolved: Bofrost.lu performance has improved in eb6ae8d after 35 minutes.


Modified catalina-server.xml file is restored to default values after WSO2 APIM restart

I want to disable SSL communication between WSO2APIM and backend API server. To achieve this, I modified catalina-server.xml file to change SSLEnabled and secure parameters as "false". After changes when I started WSO2 APIM, this file got restored to default values. The same behavior was notices for changes in axis2.xml also.
WSO2 APIM 3.0.0
Linux Redhat, H2 DB, Tomcat webserver
Steps to reproduce:

Take a backup of catalina-server.xml and stop WSO2 APIM service
Make changes in catalina-server.xml by changing SSLEnabled="false" and secure="false". These parameters are true by default.
Restart WSO2 APIM service
Check catalina-server.xml - new catalina-server.xml file is created restoring SSLEnabled and secure parameters to "true".

Let me answer your question in 2 parts.

In APIM 3.x the configuration model is different. You have to configure deployment.toml only. See https://apim.docs.wso2.com/en/latest/reference/config-catalog/

It's not clear to me what you want to achieve. If you want HTTP instead of HTTPS between the gateway and the backend, you have to provide HTTP URLs for API backends. The connectors in the catalina-server.xml is used for incoming connections.


[Craft] extension doesn't work with Setapp Craft installation

Extension
https://www.raycast.com/bgnfu7re/craftdocs
Description

Steps To Reproduce

Install Craft from Setapp
Sign in inside Craft and create a document or daily note
Install Craft Extension for Raycast
Try searching blocks or opening daily notes, and it will show Craft not initialized.

Current Behaviour
When installed with Setapp it seems that the Craft app stores in different data path not as specified here:
https://github.com/raycast/extensions/blob/7ecfadbd3c5e81398a4ebbe66f4985ee1779a735/extensions/craftdocs/src/Config.ts#L5
Expected Behaviour
Extension to function correctly and recognize Craft when installed using Setapp.

The Setapp version of Craft uses different bundle identifier:
Info.plist
<key>CFBundleIdentifier</key>
<string>com.lukilabs.lukiapp-setapp</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>Craft</string>

The data path is different because of different CFBundleIdentifier

I crated a https://github.com/raycast/extensions/pull/4243 with a fix.

Released #4243


Basic transaction randomly "fails to fetch" on mocknet

Describe the bug
Go to the sand box click the basic transaction button, the address will be populated with an address by default. Click the submit button and you may get a 400 error in console and an error on the front end. I was able to get this issue 2 times but was also able to get a successful transaction 2 times.
Transaction ID: did not create a transaction
Address: STB44HYPYAT2BB2QE513NSP81HTMYWBJP02HPGK6
To Reproduce
Steps to reproduce the behavior:

Go to 'explorer click the mocknet and then go to the sandbox
Click on basic transaction and click submit
You will see an error that say failure to fech api

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Desktop (please complete the following information):

OS: [e.g. iOS 10.14.4]
Browser [e.g. chrome 81

I believe this was happening due to instability with the node/sidecar. I have not been able to reproduce this. Closing for now, but if the issue comes back, please reopen this ticket.


Disease step rewrite EPIC

All work related to the rewrite of the disease step

The rewrite of the step disease is successfully delivered.
The three components (PIS, ETL and GraphQL) were updated properly.


Download got stuck

I im downloading a course and the download got stuck a couple hours ago. The download speed is on 0kb/s and at 56%
Info:
-Im using the version 1.5.0
-I did not pause the download before it got stuck(now i tried to see if it works, but nothing happens).
Also. i was downloading another course, and i paused this one, then i resumed the download but it suddenly "started to download so fast" until 100%, but obviously wasnt downloading at all, when i checked the files, they were bad. This one, was in v1.4.0

The course link is this one: https://www.udemy.com/ionic-crea-apps-para-android-e-ios/ (with this i had the problem where it got stuck at 56%, tomorrow i will try to download the whole course again and i'll let you know.)
That was on v1.5.0
the other problem i mention, was on v1.4.0 with this course: https://www.udemy.com/angular-2-fernando-herrera/

I have the same problem.
Can I know the solution?

Delete the latest built MTD file. The download resumes after that. Worked for me!

Thanks so much, this is great @shoryacr7

I have removed latest build MTD file but i didnt resume. Its stucking at always same file. Course link is : https://www.udemy.com/course/komple-javascript-gelistirici-kursu/

Same here, using version 1.80, delete the mtd file to no avail.
Course link: https://www.udemy.com/course/the-complete-web-development-bootcamp/

Me at 0%, first file MTD to download in
Course link: https://www.udemy.com/course/complete-python-bootcamp/

Delete the MTD file and restart the download, it will work.
On Thu, Dec 19, 2019 at 10:16 AM Adi Nugraha<EMAIL_ADDRESS>wrote:

Me at 0%, first file MTD to download in
Course link: https://www.udemy.com/course/complete-python-bootcamp/
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/FaisalUmair/udemy-downloader-gui/issues/94?email_source=notifications&email_token=AC73HPUEP5VDQZ3BJRQJMH3QZM3X5A5CNFSM4FAG2XT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHI6Q7Y#issuecomment-567404671,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC73HPRKM3SVSAYMUB3HYNTQZM3X5ANCNFSM4FAG2XTQ
.

But still, deleting MTD file doesn't work for that course. Another one that I tried worked normally.

Sorry,
I downloaded all my courses and whenever I stuck I delete the last MTD file
and restart the downloader
On Thu, Dec 19, 2019 at 10:56 AM Adi Nugraha<EMAIL_ADDRESS>wrote:

But still, deleting MTD file doesn't work for that course. Another one
that I tried worked normally.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/FaisalUmair/udemy-downloader-gui/issues/94?email_source=notifications&email_token=AC73HPROFRLHAG7AFMTRJYTQZNAK7A5CNFSM4FAG2XT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHJCFWQ#issuecomment-567419610,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC73HPTQAZY6JDJNY3HWKI3QZNAK7ANCNFSM4FAG2XTQ
.

Restart you meant closing app and download it again? If that's the case, it doesn't work for my course.
No, I honestly thank you for answering my questions :)

Yes, and sorry to hear that. Please contact the developer then - they are
usually kind to respond to requests.
Good luck
On Thu, Dec 19, 2019 at 11:16 AM Adi Nugraha<EMAIL_ADDRESS>wrote:

Restart you meant closing app and download it again? If that's the case,
it doesn't work for my course.
No, I honestly thank you for answering my questions :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/FaisalUmair/udemy-downloader-gui/issues/94?email_source=notifications&email_token=AC73HPU2XAYQEAGG2APOE2DQZNCW7A5CNFSM4FAG2XT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHJD6UQ#issuecomment-567426898,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC73HPRJWRS7RE537LI2333QZNCW7ANCNFSM4FAG2XTQ
.

What could be better? Contact him personally or kind of commenting in this section is enough? Because he is up there in this comment section..

I'm trying to download the course Dart and Flutter: The Complete Developer's Guide and it got stuck at Subtitle of download item 386 (i.e. 96% of the course downloaded).  I checked but there was no file with an .mtd extension.  So I deleted the last item downloaded (386 - the progress bar was showing 386 of 401).  I then restarted the app and it downloaded the .mp4 file and the , the .vtt file but got stuck at the .srt file.
I then attempted to skip file 386 by going to settings and setting it up to download from 387 to 401.  That still did not work.  So, I then attached strace to the PID and I see lines of the nature below scrolling rapidly on the screen:
poll([{fd=13, events=POLLIN}, {fd=14, events=POLLIN}, {fd=38, events=POLLIN}, {fd=53, events=POLLIN}], 4, 0) = 0 (Timeout)
recvmsg(53, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(38, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(53, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=13, events=POLLIN}, {fd=14, events=POLLIN}, {fd=38, events=POLLIN}, {fd=53, events=POLLIN}], 4, 24777) = 1 ([{fd=14, revents=POLLIN}])
recvmsg(53, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily unavailable)
read(14, "!", 2)                        = 1
recvmsg(38, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(53, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily unavailable)

Let me know if there's more I can do to help clear this issue.

Hi frinds
I checked the boxes of skip attachments and skip subtitle in the sittings and it seems working

https://www.udemy.com/course/learn-oauth-2/
This course gets stuck at 96%. Item 50 of 52.
Please have a look at it.
I am facing problems in many courses will add them here one by one.

Hi everyone who got their downloads stuck and there is no mtd file also
I would suggest u skip attachments, subtitle, and resources because few resources udeler cannot trace and download ( example: a youtube link or expired link)

@dhanushraju Your solution worked for me i am very very thankful to you!
Guys its very simple just go to the settings and check box the
Skip Attachments and Skip Subtitles!
Do this only if you are facing the problem of 0 kb/s
Thanks once again to @dhanushraju


Can we use UV for package management?

UV

@venkyyuvy I haven't explored the UV ecosystem yet. Do you see some specific advantage with UV over pip. ?


Testcontainers work as expected, fail to map Docker port when run with pytest

Describe the bug
I copied this code from the python-kafka tests in this repo.
I am able to run it successfully as a script. However, when I run in pytest, the docker container doesn't even start because it can't map to a port.
This behavior only happens when I run pytest.

To Reproduce
from kafka import KafkaConsumer, KafkaProducer, TopicPartition
from testcontainers.kafka import KafkaContainer
import os

def test_kafka_confluent_7_1_3():
    kafka_container = KafkaContainer("confluentinc/cp-kafka:7.1.3")
    # set the advertised listeners to be the container's IP address
    with kafka_container as container:
        container.get_bootstrap_server()
        produce_and_consume_kafka_message(container)

def produce_and_consume_kafka_message(container):
    topic = 'test-topic'
    bootstrap_server = container.get_bootstrap_server()

    producer = KafkaProducer(bootstrap_servers=[bootstrap_server])
    producer.send(topic, b"verification message")
    producer.flush()
    producer.close()

    consumer = KafkaConsumer(bootstrap_servers=[bootstrap_server])
    tp = TopicPartition(topic, 0)
    consumer.assign([tp])
    consumer.seek_to_beginning()
    assert consumer.end_offsets([tp])[tp] == 1, \
        "Expected exactly one test message to be present on test topic !"

if __name__ == '__main__':
    test_kafka_confluent_7_1_3()

Runtime environment
Windows 10
Testcontainers 3.6.0
kafka-python 2.0.2
I am running the snippet above in pipenv, so it is not Docker in Docker.
Will update if I find a solution.

UPDATE: This is not unique to pytest.
I am able to run and pass this test when using Run and Debug within VSCode, but not from the console.
So running python ./<my test file>.py also fails.

I recently update devcontainers to use the poetry flow. I can't reproduce this in my devcontainer (dind) using the integrated terminal.
(testcontainers-_53phrdA-py3.11) vscode ➜ /workspaces/testcontainers-python (feature/nats) $ poetry run pytest -v --cov=testcontainers.$* modules/kafka/tests
===================================================================== test session starts =====================================================================
platform linux -- Python 3.11.8, pytest-7.4.3, pluggy-1.4.0 -- /home/vscode/.cache/pypoetry/virtualenvs/testcontainers-_53phrdA-py3.11/bin/python
cachedir: .pytest_cache
rootdir: /workspaces/testcontainers-python
configfile: pyproject.toml
plugins: cov-4.1.0, anyio-4.3.0
collected 3 items

modules/kafka/tests/test_kafka.py::test_kafka_producer_consumer
------------------------------------------------------------------------ live log call ------------------------------------------------------------------------
INFO     testcontainers.core.container:container.py:63 Pulling image confluentinc/cp-kafka:5.4.3
INFO     testcontainers.core.container:container.py:75 Container started: c07cd20bfa32

... elided....

/home/vscode/.cache/pypoetry/virtualenvs/testcontainers-_53phrdA-py3.11/lib/python3.11/site-packages/pytest_cov/plugin.py:312: CovReportWarning: Failed to generate report: No data to report.

  warnings.warn(CovReportWarning(message))

---------- coverage: platform linux, python 3.11.8-final-0 -----------

================================================================ 3 passed in 78.54s (0:01:18) =================================================================

Running from the test explorer works as well
INFO     kafka.conn:conn.py:380 <BrokerConnection node_id=1 host=<IP_ADDRESS>:32773 <connecting> [IPv4 ('<IP_ADDRESS>', 32773)]>: connecting to <IP_ADDRESS>:32773 [('<IP_ADDRESS>', 32773) IPv4]
INFO     kafka.conn:conn.py:410 <BrokerConnection node_id=1 host=<IP_ADDRESS>:32773 <connecting> [IPv4 ('<IP_ADDRESS>', 32773)]>: Connection complete.
INFO     kafka.conn:conn.py:919 <BrokerConnection node_id=bootstrap-0 host=<IP_ADDRESS>:32773 <connected> [IPv4 ('<IP_ADDRESS>', 32773)]>: Closing connection.
PASSED                                                                   [100%]

============================== 3 passed in 12.98s ==============================
Finished running tests!


Add reviewers to owners parsing

This change is

Looks good when quickly going over it. Will leave the detailed review to @grodrigues3

LGTM

@foxish Made a change to the code so that it can be merged safely now.
Blunderbuss uses Approvers, which is merged with Assignees anyway in repo-updates.go. This is NOT changing the current behavior. The only change is that it reads reviewers, and doesn't use them.
Should be good to go.

The approval-handler is currently turned on for contrib. What's the expected change in behavior? Just that more people can approve?
Also, what are your thoughts on moving the approval handler to prow, since /lgtm is over there now anyway?

The approval-handler is currently turned on for contrib. What's the expected change in behavior? Just that more people can approve?

No, blunderbuss and approval-handler use the same list of assignees/approvers. Meaning that the same set of people can approve or lgtm. But also approve is not gated nor used at all. So technically: absolutely no change.

Also, what are your thoughts on moving the approval handler to prow, since /lgtm is over there now anyway?

Absolutely, but it has some challenges (exposing who needs to approve what, moving the repo-update code there ..)

This is now integrated into approval-process pr/branch. Closing.


metadraw copy m/z intensities values from spectra

button to capture spectrum peaks for analysis in other programs

copy all experimental peaks (mz, intensity) to clipboard (text)


Add color legend to the dashboard

Currently it's not clear what the color coding scheme is trying to tell the user. It needs a legend box.

Is the Help! item not enough?


Add DOS Token to TrustWallet

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

[x] Filename in the lowercase format
[x] Image format: png
[x] Image size: 256 by 256 px

Also, you can use these graphics to say that your ERC20 token fully compatible with Trust Wallet (https://trustwalletapp.com/logo-assets). Tokens will show up automatically once the user receives them.
Feel free to share this on social media and tag Trust Wallet:
Twitter: https://twitter.com/TrustWalletApp
Facebook: https://facebook.com/TrustWalletApp

Thanks for the merge, it seems I'm still not able to find out the token in TrustWallet, by searching both 'DOS' and 'DOS Network' ?


Support Multiple Profile Photo

How to make this group name and nav item relationship configurable?

@neozhu  how is this related with this profile photo?

@neozhu how is this related with this profile photo?

no, not related.
this is another issue?  I see this  navmenu construct is hard code in the navmenu component, So, I wonder if there is any way to make it configurable with permission setting step?

@chhinsras
could you provide upload photo and cropping?


As an employee of World health organisation, I require reports which organise all countries in the world, continent or region by largest population to smallest so I know where to direct resource first.

Three different reports segmented by area are made available to the employees.
Reports:

All the countries in the world organised by largest population to smallest.
All the countries in a continent organised by largest population to smallest.
All the countries in a region organised by largest population to smallest.


is there a way to stop wrapping of html_str?

I noticed after a while using this library (when I set keep_temp_files=True) that my html_str is being wrapped as if it were just the body. I can see this is being done _prepare_html_string where the parameter is called html_body (which makes it clearer that it's just the body).
Is there any way to stop this wrapping and just pass in the full HTML?
Perhaps with a different argument?

At the time, I did not consider that html_str would be used with something other than a very basic HTML string; it was more of a convenient way to transform a string into a valid HTML file than anything. But I indeed see cases where you could already have a full HTML file stored as a string and wouldn't want to transform it in any way.
Currently, there is no "right" way to disable this behavior; your workaround is probably the shortest/cleanest way to disable _prepare_html_string.
Another way could be to write your HTML strings to files directly and call the screenshot method using the html_file parameter, as the HTML files are not pre-processed in any way.
In any case, a simple boolean parameter allowing to disable this behavior would be nice; it will be added when I'll have access to my machine.

Thank you! Hopefully it's helpful to others too!


Schema link not found - .pbir visualContainer 1.4.0

Apologies if this is not the correct way to raise this issue.
As of the November update, Power BI forces visual.json files to use:
{
    "$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/1.4.0/schema.json",
    ...
}

But this schema is unavailable, breaking code completion, etc.
I'm guessing the 1.40 version has not been pushed to developer.microsoft.com, or is not open to the public :(
(I have not yet checked every other schema to know if any other schema links are currently broken, so the issue might extend beyond visualContainer 1.4.0)
Cheers :)

Hooray, the schema has been made public, so this issue is now resolved.
Cheers :)


allow training of non-jax tasks

LGTM overall.
A few minor missing pieces that could be added before merging:

Add procgen to extras_require  in main/setup.py
Add testing initialisation of the newly added procgen task in tests/test_init_extra.py (it's in *_extra.py since this task has on the optional dependency.
Make sure all tests are passed.

Thanks for the review, issues addressed.

LGTM


[Android & iOS] [Share] Sharing the file shared without ".type" in it

Hello.
I have tested on iOS and Android that when I share the file.csv it shared like file but not like file.csv.
Please fix it.

Hi,
Please download v1.1.7 and it should fix this.
implementation("io.github.thearchitect123:kmpEssentials:1.1.7")
I've updated the documentation for sharing Files & Text, which you can find here.
https://thearchitect123.github.io/ArtifactsDocProduction/develop/kotlin/multiplatform/kmpessentials/modules/shareData


Thruster weight as part of thruster settings

http://steamcommunity.com/workshop/filedetails/discussion/160250458/864976115789020004/
For now, let's put in a weight setting to address this problem (and change existing thruster weights using a shift click or something).
As for the physics behind it for @Nebual , I remember someone figured it out long ago, but I don't remember where it was posted (wiremod.com?). I think it had to do something with weight * force applied and some other operand involving friction.

There's other tools more suited to controlling weight. They should be included in gmod, but they're not, but if you're advanced enough to be balancing your contraptions' weight then I think you would be using such a tool on all parts of your contraption, not just the thruster, so I think this option would be obsolete.


Support for as_user=true in msg.send

Reporting from here, it seems that
msg.send({
    attachments: [{
        title: 'a title',
        fallback: 'a fallback',
        title_link: 'http://example.com',
    }],
    username: process.env.HUBOT_SLACK_BOTNAME,
    as_user: true,
});

ignores as_user, and appears at Slack just like if it was:
msg.send({
    attachments: [{
        title: 'a title',
        fallback: 'a fallback',
        title_link: 'http://example.com',
    }],
    username: process.env.HUBOT_SLACK_BOTNAME,
});

BTW, is this a correct way to send attachments these days, via v3?

@DEGoodmanWilson, do you probably have any idea of where to look for this (node-slack-sdk perhaps?), or how else to ensure as_user is passed as true? Thanks in advance!

Will be investigating! And yes, that is the way to do attachments ;)

Do you know a quickfix, so that I could solve my itch right away? Like calling slack adapter directly, etc. Thanks in advance!

That's all we really do, actually. I suspect the problem is in the Slack SDK layer just below the Hubot adapter.

as_user: true should be the default, according to the slack docs.  if your wanting to override the name defined in slack, it should be as_user: false.  Should it not?

Here I see that as_user Defaults to false (not to confuse with example value in the second column of the table).

@spacediver  - Your correct... that tables a little confusing..

msg.send <simple text> does correctly use the right user, so slack must infer the right as_user

If as_user is not provided at all, then the value is inferred, based on the scopes granted to the caller: If the caller could post with as_user passed as false, then that is how the method behaves; otherwise, the method behaves as if as_user were passed as true.

Prior to 4.0, the code explicitly added as_user=true.
if data.username && data.username != @robot.name
  msg.as_user = false
  msg.username = data.username
  if data.icon_url?
    msg.icon_url = data.icon_url
  else if data.icon_emoji?
    msg.icon_emoji = data.icon_emoji
else
  msg.as_user = true

@ArcticSnowman yes, simple text messages are no problem, these are displayed correctly. It is rich messages (with attachments) that are seemingly processed as if as_user=false.

Also prior to 4.0, the hubot-slack JSON'ifed the attachment prior to passing to the slack-client.  Not sure that matter here or not.

Thanks for the additional data y'all. The new version of node-slack-sdk doesn't require JSONifying the message, which is why that change. I'll look into the other difference that was brought up. I have to admit that I am snowed under this week, so it might be a little time before I can properly dig on this. Just wanted to let you know you're not being ignored.

@DEGoodmanWilson    I going to try building the message object explicitly rather than pass it in implicitly to msg.send  to see if that works.

Just wanted to reference that #329 is a duplicate that has some nice clarifying information on this issue.

@DEGoodmanWilson    I tried constructing the message as a object and add the as_user, similar to the way 3.x added it in the customMessage.  But that made no difference.

Hey folks, can we come up with a quick fix for that? Any working solution will suffice =) Thanks!

@spacediver   The only 'quick fix' that I know of is to revert to pre-4.0....  It looks like there is something in @slack|client that is at fault..   need some way to capture the HTTP/JSON request it sends to slack to see why explicitly setting as_user=true does not work.

Been digging. The as_user worries seem a red herring. The problem is, rather, that messages sent via chat.postMessage are being sent as though as_user=false, when in fact the default is true. Something is inserting as_user=false unless it gets overridden explicitly. Just adding this here as notes while I dig.

Been digging all morning. This is a toughie, y'all.

The fIx works, thanks a lot!


Spec version filtering

Allows for the backend to return the most recent spec_version of an object when no argument is given

This may need to be edited slightly if #85 is merged before it.

Codecov Report

Merging #96 into taxii2.1-csd03 will increase coverage by 3.48%.
The diff coverage is 93.08%.

@@                Coverage Diff                 @@
##           taxii2.1-csd03      #96      +/-   ##
==================================================
+ Coverage           87.89%   91.37%   +3.48%
==================================================
  Files                  22       22
  Lines                2015     2261     +246
==================================================
+ Hits                 1771     2066     +295
+ Misses                244      195      -49

Impacted Files
Coverage Δ

medallion/__init__.py
80.23% <0%> (ø)
:arrow_up:

medallion/views/discovery.py
96.66% <100%> (+1.01%)
:arrow_up:

medallion/test/test_memory_backend.py
99.71% <100%> (-0.02%)
:arrow_down:

medallion/views/manifest.py
100% <100%> (+7.14%)
:arrow_up:

medallion/views/collections.py
95.45% <100%> (-4.55%)
:arrow_down:

medallion/test/base_test.py
97.82% <100%> (+0.04%)
:arrow_up:

medallion/backends/base.py
52.17% <100%> (ø)
:arrow_up:

medallion/test/data/initialize_mongodb.py
88.23% <100%> (ø)
:arrow_up:

medallion/backends/memory_backend.py
84.61% <54.76%> (-14.12%)
:arrow_down:

medallion/views/objects.py
89.81% <87.35%> (+10.74%)
:arrow_up:

... and 11 more

Continue to review full report at Codecov.

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


feat: move to System.Text.Json as serialiser

This removes the deprecated option to set your own JSON serializer. This should be very low impact on consumers, since this just requires them to remove a custom serializer if one had previously be set. The SDK now uses System.Text.Json which is built into most modern versions of .NET and is added as a dependency for legacy versions that don't support it natively.
Almost all of this PR is noise removing references, I'll mark relevant sections with some comments
Discussion
There's some, frankly, weird stuff around streams in the SDK at the moment. I'm 99% sure that's an artifact of the old, slightly awkward interfaces. I've chosen to throw that out, write directly and let the HTTP client deal with the buffering. I'm pretty sure that's not a big loss since the old implementation was flushing to the streams multiple times and the new implementation can use async to not have to worry too much about what's being blocked

@daveleek I'm less worried about loading features from file, that's effectively a cache miss on major upgrade which feels okay. Bit worried about Edge so agree we need to validate this more before release
We can play tomorrow and try break it!


Feature Request: FAQs

Description:
We need to add a Frequently Asked Questions (FAQs) section to our platform. This section will address common questions and concerns users may have, providing them with quick and accessible information.
Use Case:

User Assistance: The FAQs section will help users find answers to common questions without needing to contact support, improving their overall experience.
Reduce Support Load: By addressing frequent inquiries through the FAQs, we can reduce the number of support tickets and allow our team to focus on more complex issues.
Enhance User Understanding: It will provide users with a deeper understanding of our platform's features, usage, and policies.

Features:

Expandable Answers: Answers should be hidden by default and expand when a user clicks on a question, keeping the interface clean and user-friendly.
Responsive Design: Ensure the FAQs section is accessible and functional on all devices, including desktops, tablets, and mobile phones.

Similar Features:

Knowledge Bases: Similar to knowledge bases, the FAQs section will provide structured and easily accessible information.
Help Centers: Like help centers on many websites, it will serve as a self-service resource for users to find answers to their queries.

Additional Information:

Design Considerations: The design should match our overall branding and be visually appealing yet functional.
Content Requirements: Clear, concise, and accurate answers to common questions. Each answer should provide sufficient detail to resolve the user's query.
Maintenance: Regular updates to the FAQs section based on new features, user feedback, and emerging common questions.

Tasks:

Identify and compile a list of frequently asked questions and their answers.
Design wireframes/mockups for the FAQs section layout.
Implement the FAQs section using HTML, CSS, and JavaScript.
Integrate search functionality for easy question lookup.
Organize questions into relevant categories for better navigation.
Test the responsiveness and functionality of the FAQs section across different devices.
Review and update the FAQs content regularly to ensure accuracy and relevance.
Gather feedback from users and stakeholders to improve the FAQs section.

hi @Ajay-Dhangar i'd love to work on this!!

hi @Ajay-Dhangar i'd love to work on this!!

complete task within 4days (21 to 25)

hi @Ajay-Dhangar i'd love to work on this!!

complete task within 4days (21 to 25)

will do! thank you so much for assigning

hi @Ajay-Dhangar i was busy with school the past couple of days so am delayed on coding this, but working on it currently.

hi @Ajay-Dhangar
i've come up with a list of basic questions, but was wondering if you have any of the questions site users have asked in the past saved somewhere? because that would be really helpful!

current list of FAQs:

Are all the resources REALLY free? There's no hidden charges?
Is ANYBODY allowed to contribute to growing this site?
How do I clone the repository on my local device to make changes to the codebase and contribute my changes?
Can I write blog posts for CodeHarborHub?
What do I do if the resources for the topic I want to study aren't present on the site yet?

also would adding a seperate page for the FAQs and linking to it in the main menu like so work? or is there any other specific location the FAQs need to be added in?:

@Ajay-Dhangar please reply.

Waiting I assign you very soon. and you can try on it.
On Mon, 27 May, 2024, 12:47 pm anoushka, @.***> wrote:

@Ajay-Dhangar https://github.com/Ajay-Dhangar please reply.
—
Reply to this email directly, view it on GitHub
https://github.com/CodeHarborHub/codeharborhub/issues/177#issuecomment-2132804497,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXTTCNQN5IJ7W66NFMAHQXTZELM2FAVCNFSM6AAAAABIBELWJCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZSHAYDINBZG4
.
You are receiving this because you were mentioned.Message ID:
@.***>

@Ajay-Dhangar please reply.

@iamanolive Apologies for the delayed response. Some days, I'm heavily engrossed in managing contributors for our project, handling issues, and PRs, which makes it challenging to respond promptly. Could you please let me know what specific assistance you require for our FAQs section? I'm here to help, and by providing clarity on your needs, we can expedite the completion of this task, which has been significantly delayed.

@iamanolive Would you like to incorporate the FAQs directly on our homepage, or should we create a separate page for them? I'd appreciate your preference.


ER_NO_SUCH_TABLE: Table 'ghost_production.offers' doesn't exist when upgrading v2->v4

Welcome 👋
Please keep in mind that GitHub is our office. We invite you to share any bug reports here 🐛..
For anything else please use https://forum.ghost.org 👫
Issue Summary
Trying to upgrade from v2.38.3 to v4 fails due to 4.19.1 . Impossible to rollback, site is down :).
To Reproduce

This is the first step
This is the second step, etc.

Create a ghost install on latest v2, run ghost update, wait.
Technical details:
Debug Information:
    OS: Ubuntu, v18.04.1 LTS
    Node Version: v14.18.1
    Ghost Version: 4.19.1
    Ghost-CLI Version: 1.17.4
    Environment: production
    Command: 'ghost start'

error in the journal :
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]:     at Immediate.Async.drainQueues [as _onImmediate] (/var/www/ghost/versions/4.19.1/node_modules/bluebird/js/release/async.js:15:14)
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]:     at processImmediate (internal/timers.js:464:21)
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]: Error: ER_NO_SUCH_TABLE: Table 'ghost_production.offers' doesn't exist
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]:     at Query.Sequence._packetToError (/var/www/ghost/versions/4.19.1/node_modules/mysql/lib/protocol/sequences/Sequence.js:47:14)
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]:     at Query.ErrorPacket (/var/www/ghost/versions/4.19.1/node_modules/mysql/lib/protocol/sequences/Query.js:79:18)
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]:     at Protocol._parsePacket (/var/www/ghost/versions/4.19.1/node_modules/mysql/lib/protocol/Protocol.js:291:23)
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]:     at Parser._parsePacket (/var/www/ghost/versions/4.19.1/node_modules/mysql/lib/protocol/Parser.js:433:10)
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]:     at Parser.write (/var/www/ghost/versions/4.19.1/node_modules/mysql/lib/protocol/Parser.js:43:10)
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]:     at Protocol.write (/var/www/ghost/versions/4.19.1/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]:     at Socket.<anonymous> (/var/www/ghost/versions/4.19.1/node_modules/mysql/lib/Connection.js:88:28)
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]:     at Socket.<anonymous> (/var/www/ghost/versions/4.19.1/node_modules/mysql/lib/Connection.js:526:10)
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]:     at Socket.emit (events.js:400:28)
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]:     at addChunk (internal/streams/readable.js:293:12)
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]:     at readableAddChunk (internal/streams/readable.js:267:9)
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]:     at Socket.Readable.push (internal/streams/readable.js:206:10)
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]:     at TCP.onStreamRead (internal/stream_base_commons.js:188:23)
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]:     --------------------
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]:     at Protocol._enqueue (/var/www/ghost/versions/4.19.1/node_modules/mysql/lib/protocol/Protocol.js:144:48)
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]:     at Connection.query (/var/www/ghost/versions/4.19.1/node_modules/mysql/lib/Connection.js:198:25)
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]:     at /var/www/ghost/versions/4.19.1/node_modules/knex-migrator/node_modules/knex/lib/dialects/mysql/index.js:134:18
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]:     at new Promise (<anonymous>)
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]:     at Client_MySQL._query (/var/www/ghost/versions/4.19.1/node_modules/knex-migrator/node_modules/knex/lib/dialects/mysql/index.js:128:12)
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]:     at Client_MySQL.query (/var/www/ghost/versions/4.19.1/node_modules/knex-migrator/node_modules/knex/lib/client.js:168:17)
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]:     at Runner.query (/var/www/ghost/versions/4.19.1/node_modules/knex-migrator/node_modules/knex/lib/runner.js:151:36)
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]:     at Runner.queryArray (/var/www/ghost/versions/4.19.1/node_modules/knex-migrator/node_modules/knex/lib/runner.js:243:19)
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]:     at /var/www/ghost/versions/4.19.1/node_modules/knex-migrator/node_modules/knex/lib/runner.js:38:25
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]:     at /var/www/ghost/versions/4.19.1/node_modules/knex-migrator/node_modules/knex/lib/runner.js:277:24
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]:     at async runColumnMigration (/var/www/ghost/versions/4.19.1/core/server/data/schema/commands.js:388:27)
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]:     at async columnMigration (/var/www/ghost/versions/4.19.1/core/server/data/schema/commands.js:401:13)
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]:     at async Object.down (/var/www/ghost/versions/4.19.1/core/server/data/migrations/utils.js:272:13)
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]:
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]: [2021-10-21 22:48:18] WARN Ghost is shutting down
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]: [2021-10-21 22:48:18] WARN Ghost has shut down
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]: [2021-10-21 22:48:18] WARN Your site is now offline
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]: [2021-10-21 22:48:18] WARN Ghost was running for a few seconds
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]: [2021-10-21 22:48:18] INFO Bootstrap client was closed.
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 systemd[1]: Stopping Ghost systemd service for blog: lengrand-fr...
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]: [2021-10-21 22:48:18] WARN Ghost is shutting down
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]: [2021-10-21 22:48:18] WARN Ghost has shut down
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]: [2021-10-21 22:48:18] WARN Your site is now offline
Oct 21 22:48:18 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]: [2021-10-21 22:48:18] WARN Ghost was running for a few seconds
Oct 21 22:48:19 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]: /usr/local/lib/node_modules/ghost-cli/lib/process-manager.js:46
Oct 21 22:48:19 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]:         throw error;
Oct 21 22:48:19 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]:         ^
Oct 21 22:48:19 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]: {
Oct 21 22:48:19 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]:   message: "Ghost was able to start, but errored during boot with: show columns from `offers` - ER_NO_SUCH_TABLE: Table 'ghost_production.offers' doesn't exist"
Oct 21 22:48:19 blog20210801-s-1vcpu-1gb-intel-ams3-01 node[9343]: }
Oct 21 22:48:19 blog20210801-s-1vcpu-1gb-intel-ams3-01 systemd[1]: ghost_lengrand-fr.service: Main process exited, code=exited, status=1/FAILURE
Oct 21 22:48:19 blog20210801-s-1vcpu-1gb-intel-ams3-01 systemd[1]: ghost_lengrand-fr.service: Failed with result 'exit-code'.
Oct 21 22:48:19 blog20210801-s-1vcpu-1gb-intel-ams3-01 systemd[1]: Stopped Ghost systemd service for blog: lengrand-fr.

I have seen this error pop up with v3 here : https://github.com/TryGhost/Ghost/issues/11855. However, the same seems to happen to me with v4. Maybe it is a regression issue?
In any case, the install failed and it is impossible to rollback, so I am apparently stuck now :).

This is what happens when I try to rollback :
✖ Rolling back database migrations
A ProcessError occurred.

Message: It's not possible to roll back database changes from 4.19.1 to 2.38.3. Please restore from a backup instead

Debug Information:
    OS: Ubuntu, v18.04.1 LTS
    Node Version: v14.18.1
    Ghost Version: 4.19.1
    Ghost-CLI Version: 1.17.4
    Environment: production
    Command: 'ghost update --rollback'

Additional log info available in: /home/ghost-mgr/.ghost/logs/ghost-cli-debug-2021-10-21T22_56_56_866Z.log

Try running ghost doctor to check your system for known issues.

and
ghost-mgr@blog20210801-s-1vcpu-1gb-intel-ams3-01:/var/www/ghost$ cat /home/ghost-mgr/.ghost/logs/ghost-cli-debug-2021-10-21T22_56_56_866Z.log
Debug Information:
    OS: Ubuntu, v18.04.1 LTS
    Node Version: v14.18.1
    Ghost Version: 4.19.1
    Ghost-CLI Version: 1.17.4
    Environment: production
    Command: 'ghost update --rollback'
Message: It's not possible to roll back database changes from 4.19.1 to 2.38.3. Please restore from a backup instead
--------------- stderr ---------------
[2021-10-21 22:56:56] ERROR Unable to rollback

Well, after following the documentation and doing a ghost upgrade --force all previous installs seem to have been removed sooooo I am open for advice over here :)
✖ Starting Ghost: lengrand-fr
A GhostError occurred.

Message: Ghost was able to start, but errored during boot with: show columns from `offers` - ER_NO_SUCH_TABLE: Table 'ghost_production.offers' doesn't exist
Suggestion: journalctl -u ghost_lengrand-fr -n 50

Debug Information:
    OS: Ubuntu, v18.04.1 LTS
    Node Version: v14.18.1
    Ghost Version: 4.19.1
    Ghost-CLI Version: 1.17.4
    Environment: production
    Command: 'ghost start'

Additional log info available in: /home/ghost-mgr/.ghost/logs/ghost-cli-debug-2021-10-21T23_00_06_770Z.log

Try running ghost doctor to check your system for known issues.

You can always refer to https://ghost.org/docs/ghost-cli/ for troubleshooting.

and no more option to rollback :)
ghost-mgr@blog20210801-s-1vcpu-1gb-intel-ams3-01:/var/www/ghost$ ghost update --rollback
+ sudo systemctl is-active ghost_lengrand-fr
+ sudo systemctl reset-failed ghost_lengrand-fr
✔ Checking system Node.js version - found v14.18.1
✔ Ensuring user is not logged in as ghost user
✔ Checking if logged in user is directory owner
✔ Checking current folder permissions
✔ Checking folder permissions
✔ Checking file permissions
✔ Checking content folder ownership
✔ Checking memory availability
✔ Checking free space
✔ Checking for available migrations
✔ Checking for latest Ghost version

# 4.19.1

* 🐛 Fixed handling of "incomplete" subscriptions - Fabien O'Carroll
* 🐛 Fixed "Send" publish type not being reset when closing publish menu - Kevin Ansfield

---

View the changelogs for full details:
* Ghost - https://github.com/tryghost/ghost/compare/v4.19.0...v4.19.1
* Admin - https://github.com/tryghost/admin/compare/v4.19.0...v4.19.1

✔ Fetched release notes
ℹ Downloading and updating Ghost [skipped]
+ sudo /var/www/ghost/current/node_modules/.bin/knex-migrator-rollback --force --v 4.19.1 --mgpath /var/www/ghost/current
✔ Rolling back database migrations
✔ Linking latest Ghost and recording versions
ℹ Removing old Ghost versions [

Ok, interestingly, I decided to do a fresh install and try to sort myself out of this problem.
HOWEVER, even with a fresh install I meet the very same error!
What I did :
$ mv /var/www/ghost /var/www/ghost-backup
$ mkdir /var/www/ghost, chmod and chown....
$ ghost install, follow instructions.
$ ghost start

The result :
ghost-mgr@blog20210801-s-1vcpu-1gb-intel-ams3-01:/var/www/ghost$ ghost start
✔ Checking system Node.js version - found v14.18.1
ℹ Ensuring user is not logged in as ghost user [skipped]
ℹ Checking if logged in user is directory owner [skipped]
✔ Checking current folder permissions
✔ Validating config
✔ Checking memory availability
✔ Checking binary dependencies
✖ Starting Ghost: lengrand-fr
A GhostError occurred.

Message: Ghost was able to start, but errored during boot with: show columns from `offers` - ER_NO_SUCH_TABLE: Table 'ghost_production.offers' doesn't exist

Debug Information:
    OS: Ubuntu, v18.04.1 LTS
    Node Version: v14.18.1
    Ghost Version: 4.19.1
    Ghost-CLI Version: 1.17.4
    Environment: production
    Command: 'ghost start'

Additional log info available in: /home/ghost-mgr/.ghost/logs/ghost-cli-debug-2021-10-21T23_10_36_037Z.log

Try running ghost doctor to check your system for known issues.

You can always refer to https://ghost.org/docs/ghost-cli/ for troubleshooting.

@jlengrand Can you try updating to the latest version of Ghost (4.22.4)?
We recently fixed an issue where the rollback function of migrations would run even if the migration had not been executed yet. When we've seen this happen, unexpected actions would happen. The problem is that this has been hiding the actual error that caused the rollback to happen.
If you can try this and paste the full server log, we should be able to see if it's a bug with Ghost or not 🙂
Slightly related: what version of MySQL are you running? Have you updated it recently? I suspect this is a duplicate of https://github.com/TryGhost/Ghost/issues/13736 and therefore https://github.com/TryGhost/Ghost/issues/13426#issuecomment-966264799


update django-container 1.3.4

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 76.847%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
156

Relevant Lines:
203

💛  - Coveralls


Add cancel button

Do you want to request a feature or report a bug?
Feature
What is the current behavior?
At the moment it is only possible the reset the color to the current selected color in the themes Classic and Monolith, but not in the theme Nano.
If the current behavior is a bug, please provide the steps to reproduce and create a JSFiddle.
What is the expected behavior?
It would be great to be able to add a cancel button, similar to the cancel button in Spectrum color picker https://bgrins.github.io/spectrum/
When clicking this button it reset to the original selected color and close the dialog/overlay. It should of course be possible to customize/localize the button text as it is for the other buttons.
Your environment:
Pickr-version (see Pickr.version): 1.0.0-beta
Used Pickr-bundle (es5 or normal one): Normal
Browser-version: Version 75.0.3770.90
Operating-system: Windows 10

Yeah that makes sense. Man, you got a ton of ideas so far - that's incredible 😄 I'll take a look at it!

done :)

@Simonwep thanks for sharing the jsfiddle :)
While the cancel button does reset the color preview and the "circle" position in the color spectrum, it seems the cancel button doesn't reset the color code in the input?
Original

Changed to black (#000)

Click on cancel button (the color code shows #000000 instead of #FF0000)

Oh well, you're right - that doesnt seem right

Well, haha - never change a running system Fixed in 26e7cb9bdfc4c51e1b9190aa14bcec238ee81879

@Simonwep wonderful, thanks! 👍

It seems the cancel button text is missing from docs?
https://github.com/Simonwep/pickr#options

@bjarnef See components.interaction.cancel: cancel is below save :)

@Simonwep yes, but not shown under strings :)

Ow you're right

Updated :)

On monolith the cancel button calls the "save" event and does not close the window. It does reset the color though.

Cancel should not close the window, it's a copy of clicking the previous color in the classic theme. And the themes are just design, if there a bug in one - it's in all. Can you reproduce the issue in a JSFiddle?

Hmm okay, it might be something on my end because I've noticed that things like the appClass property don't work either. (the given class is not applied). I'll investigate a bit more.

@MRVDH Yeah, that does not sound correct. But if you catch any incompatibility raise an issue and I'll try my best to fix it :)


Add missing moduleNameMappers to default app package.json jest co…

…nfig

I'm fine with the specific fix. I wish there was some way to avoid this though; it's a lot of configuration that needs to be copied and maintained in each app.

Which is why I'm a big fan of treating projects as throw-away and moving all functionality to addons. When there's a new Volto release, just regenerate the project, copy the dependencies part and install all your addons.

@davisagli yes, it is... in this case, it's because jest keeps wanting to compile everything under the sun of the working directory, no matter if it is going to test it (testMatch) or not... It's a real pita.
We thought at some point we could write an updater tool that takes care of all these changes, as they happen...


how to save VM configuration before deleting, in order to recreate it with the same configuration later

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

https://docs.microsoft.com/en-us/azure/virtual-machines/linux/tutorial-custom-images

oh, no - my question is about https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/virtual-machines/linux/troubleshoot-recovery-disks-portal.md#create-vm-from-original-hard-disk
I have to recreate VM by attaching the disk, but I need this VM to be exactly of the same configuration as before deleting.


[Jira Search (Self-Hosted)] Race condition in ticket search result

Extension
https://www.raycast.com/emanguy/jira-search-self-hosted
Description
When it searches JIRA tickets while I'm typing, a result for what I typed before can override what I typed after.
It should instead cancel ongoing requests once the result for later changes arrives.
Steps To Reproduce

Type "Hide"
It starts searching for "Hide"
Quickly continue typing to be "Hide button"
It starts searching for "Hide button"
It shows result for "Hide button" (it can be faster because there are fewer results)
It shows result for "Hide"

You might need to choose some nice query and/or a JIRA instance with a lot of tickets
Current Behaviour
It shows result for "Hide", which is not intended
Expected Behaviour
It shouldn't do step 6: it should keep showing a result for "Hide button"

Fixed with PR #5507 for the Jira cloud version.


Any way to have satellizer NOT put the Authorization token to ajax call not going to my own server?

Right now, even when I make a call to an external API, it sends the authorization toke, which it shouldn't.
Thanks,
Andrew

Right now it's either opt-in or opt-out approach, but you can disable it and then send Authorization token yourself for just the endpoints you want.
$authProvider.httpInterceptor = false;

Then manually add Authorization: Bearer <token> to your $http request headers.

I think this would be a good enhancement.
I am trying to integrate Google maps to our application and make GET requests to Google Maps API.
But the problem is that the application sends the authentication header with all $http requests which Google Maps API does not allow.
Would be good if you could only send authentication headers to your application and not external requests.
If you have a good alternative solution for this, I would be happy to hear it.

+1

+1

+1


sRGB color profile does not work on macOS (1.28.0)

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
Selecting Use sRGB color profile has no effect on macOS 10.13.4.
Steps to Reproduce
Default

sRGB

OS color profile:

Expected behavior: sRGB should have the same color profile as 1.27.0
Actual behavior: sRGB color profile doesn't work. Using the sRGB OS color profile works, but it enforces the profile everywhere which causes oversaturated imagery. I like it just in my editor for the vibrant syntax colors.
Reproduces how often: 100%
Versions
1.28.0
Additional Information

Just double checking since this isn't mentioned in the issue body; did you restart Atom after changing the setting? A prompt/dialog should be triggered by changing the setting, which has a restart button.
The setting is seemingly working for everyone else, so we'll have to figure out why it's not working on your system.

Yes, I tried at least 5 times. I also restarted my computer.
I'll try a fresh install of Atom altogether

I'll try a fresh install of Atom altogether

Not sure if you only reinstalled Atom, but did you also temporarily reset to factory defaults?
https://flight-manual.atom.io/hacking-atom/sections/debugging/#reset-to-factory-defaults
Then change the setting and restart again?
Also, are there any errors in devtools console?
https://flight-manual.atom.io/hacking-atom/sections/debugging/#check-for-errors-in-the-developer-tools

I deleted the hidden .atom directory before reinstalling completely, and it seemed to have everything reset completely to default. There are no errors in the console.

Expected behavior: sRGB should have the same color profile as 1.27.0

@atomiks: Can you share a few additional screenshots to help us understand the issue?

Screenshot of the colors you're seeing in Atom 1.27 on macOS 10.13.4
Screenshot of the colors you're seeing in Atom 1.28 on macOS 10.13.4 using Atom's default color profile setting
Screenshot of the colors you're seeing in Atom 1.28 on macOS 10.13.4 using Atom's sRGB color profile setting

As a bonus, if you can use the Digital Color Meter app to show us the exact RGB values in each screenshot (e.g., as seen in https://github.com/atom/atom/pull/17380#issuecomment-394015699), that would be extra helpful. :pray:

The colors are the exact same using the sRGB setting and default color profile setting, as seen in the top two screenshots. I've changed the hex color slightly since, but here are the values:
After pasting the colors in Photoshop.
Default

The red is: #f07da4
The actual red hex color in the syntax theme: #ff74a5
sRGB

Photoshop seems to use the sRGB color profile (or maybe Display P3?). I'm using a 2016 MBP which has the wide gamut display so I'm not sure if the colors can actually be seen on other screens via screenshots 🤔 .
Also, you can't see a difference between the images in Chrome because it's using the OS color profile setting. You need to download them and view them on a wide gamut display.
Basically there's no way to show you the differences easily... all I know is that 1.27.0 had the vibrant colors and 1.28.0 is desaturated

The colors are the exact same using the sRGB setting and default color profile setting in 1.28.0, as seen in the top two screenshots. I've changed the hex color slightly since, but here are the values:
After pasting the colors in Photoshop.
1.28.0 (with sRGB setting)

The red is: #f07da4
The actual red hex color in the syntax theme: #ff74a5
Photoshop seems to use the sRGB color profile (or maybe Display P3?). I'm using a 2016 MBP which has the wide gamut display so I'm not sure if the colors can actually be seen on other screens via screenshots 🤔 .
1.27.0 vs 1.28.0

I'm seeing this in Mojave with 1.31.0, changing to sRGB has no effect.


“Begin” button appears disabled when user navigates to “Verify your identify” section by clicking on “Link Bank Accounts” option from settings screen

Frequency: 100%
Repro on build version: iOS Alfa jores Build V1.23.0
Repro on devices: iPhone 13 mini (15.1.1), iPhone 12 (14.7.1)
NOTE: Not verified on Android platform, as for android platform Latest Alfa jores build V1.22.4 is displayed.
Pre-condition:

User have installed the app
User have complete onboarding flow without confirming phone number.
User must be on settings screen.

Repro Steps:

Tap on “Link Bank Accounts” option from settings screen.
Tap on “Connect” button from Connect phone number to continue screen.
Enter valid phone number & complete phone number verification flow.
Navigate to the Settings screen from the hamburger menu.
Tap on “Link Bank Accounts” & observe.

Current Behavior:  “Begin” button appears disabled when user navigates to “Verify your identify” section.
Expected Behavior: “Begin” button must appear enabled when user navigates to “Verify your identify” section .
Impact: User will be blocked to complete the “Verify your identity” flow.
Attachment: Begin Button Disabled.mp4

Downgraded priority as these are behind a feature flag and will not be visible to users in the next release.

Hey @MuckT we are closing the above issue since this feature will not be present in upcoming builds as discussed in weekly meeting
Thanks.!


Configure from section in Cargo.toml

Having a separate config file just for a few values (hint hint #45) seems like overkill.
It seems like it would be pretty easy to check for a custom section in Cargo.toml for Rust projects. As a bonus with some json maybe also look at package.json, pyproject.toml, etc. Most of these formats allow project meta data in custom keys.

Hey, although I'm a proponent of not adding language-specific features to git-cliff, it makes sense to drop the need for a config file altogether and place the configuration inside an already existing manifest per se.
On that note, can you share examples to demonstrate how it might look like for the formats you mentioned? I think the first place to start implementing this is obviously Cargo.toml so it would be nice to get an idea.

Here is an example of a similar use case, specifically using standard-version tooling on a JS project. The conventional commit settings such as allowed types just gets added to the existing package.json file:
https://github.com/sile-typesetter/sile/blob/master/package.json#L36-L85
I'll try to come up with an example for a similar situation using Cargo.toml and adapt it far what it would look like with git-cliff settings.

Here is an example of a similar use case, specifically using standard-version tooling on a JS project. The conventional commit settings such as allowed types just gets added to the existing package.json file:
<EMAIL_ADDRESS>
It could be useful in the future. I'd like to focus on Cargo.toml first though.
So I think custom metadata can be placed in Cargo.toml. One example from cargo-release:
https://github.com/crate-ci/cargo-release/blob/8908982c5b86ebc394047ca288c7a2a0abfe25d6/Cargo.toml#L20

I'll try to come up with an example for a similar situation using Cargo.toml and adapt it far what it would look like with git-cliff settings.

Do you have any updates on this?

Do you have any updates on this?

Nope, I've been distracted down other rabbit holes.
But yes that example from cargo-release is similar to what I remember seeing.

I pushed f48d207 which means git-cliff can be configured inside Cargo.toml now! 🥳
For more information, see README.md.


README: have a linke to the classic tutorial

Link to an old but good tutorial for Chisel

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

The bootcamp is still first and recommended. I think that the offline tutorial is a nice resource that you can use offline without much installation effort.

Actually I wanted to add this link to chisel-lang.org. However, I have a hard time to find where the initial page is. @seldridge maybe you can give me a hint.
Martin

@schoeberl: Currently the landing page is the chisel3 README.md. There's some build.sbt magic that will copy the chisel3/README.md living in a submodule into index.md. So, updates made here will show up when the submodules get bumped.

Ok, great! So by coincidence I did the change at the right place :-)
Martin

On 7 Feb, 2020, at 18:39, Schuyler Eldridge<EMAIL_ADDRESS>wrote:
@schoeberl https://github.com/schoeberl: Currently the landing page is the chisel3 README.md. There's some build.sbt magic that will copy the chisel3/README.md living in a submodule into index.md https://github.com/freechipsproject/www.chisel-lang.org/blob/36bcf18b5d033a2c205571ceaaee90307a6a148a/build.sbt#L45. So, updates made here will show up when the submodules get bumped.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/freechipsproject/chisel3/pull/1325?email_source=notifications&email_token=AAE63GG5FYXBABESZXXVPHDRBWMERA5CNFSM4KRRKNA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELD5BGI#issuecomment-583520409, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE63GEGSPTMZFDVRGATUL3RBWMERANCNFSM4KRRKNAQ.

Can someone merge? I do not have write access to this repo.
Martin


Prevent avatar from getting squeezed

If caption or legend of a list item with an avatar are very long, the avatar got squeezed, because it was allowed to shrink in its flex container.

Thanks!

Thanks!


chore(package): update model-attributes to version 4.1.1

:tada: This PR is included in version 3.0.9 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Tx viz - DO NOT MERGE YET

Adding code to ingest VariantValidator JSON into Python datastructure and extract the most relevant transcript automagically.
TODO - use this to draw graphic showing variants and exon strcuture.

This is still prelim.
But this is the idea

At start of notebook, get a transcript model from VV. I am not sure if we need the MANE categories here, but at this point I am just retrieving the data from the JSON
Use the exon structure to plot the variants
Show this to the user so they decide what variants to test
for now I would like to try 2 and 3 in isolation to see what works and then we could integrate? I am assuming there are no other classes now that do this?

At start of notebook, get a transcript model from VV. I am not sure if we need the MANE categories here, but at this point I am just retrieving the data from the JSON

I don't think we know about the transcript at this point. I think we first need to do the functional annotation and show the transcript table and let the user choose the transcript ID.

Use the exon structure to plot the variants

Yes, we can and should plot the variants after we did the functional annotation and the user knows which transcript he wants. Or he can choose a few transcripts and generate an SVG for each one.

Show this to the user so they decide what variants to test
for now I would like to try 2 and 3 in isolation to see what works and then we could integrate? I am assuming there are no other classes now that do this?

We don't yet have a class for getting the transcript coordinates. The variant validator should do that - your WIP.
This is a high level code that we should be able to write easily once we have lower-level functions:

show transcript summary for a cohort #58
draw variant distribution on the transcript (the SVG you're working on)

I think it is surely best not to allow the user to choose transcript from a list of options,but instead to demand that they make a good decision (usually MANE etc). Otherwise we will make it too easy for people not to think of this and to create bad decisions

I mean, there is almost never a reason not to use the MANE or the ClinVar preferred transcript. It will not help to show a list of transcripts and say which do you want to use, since if people do now know to use Clinvar, they are likely to choose at random and get a suboptimal transcript. We should see if we can automatically retrieve the MANE transcript and get its coordinates from VV. The subject of geno pheno is complicated and we should try to make an iPhone app rather than a swiss knife :-o

Closing since we moved the visualization code to another PR #114 which was merged. We will work on the visualization on another branch.