Upgrade to Tailwind CSS v3.0

Tailwind CSS v3.0 has just been released.
@Atinux, would this upgrade be possible in the near future? It might only be about updating the dependencies and a short mention in the docs to highlight which version of the module supports which version of the Tailwind CSS (v2 vs v3) for clarity.
https://tailwindcss.com/docs/upgrade-guide

I've gone ahead and did the hard parts of it: #407. Should now be just a review away from being updated. Have a good day folks!

@Atinux @danielroe @farnabaz @pi0 you guys might know me from other contributions now already. Let me offer you my support on nuxt-community maintenance through this comment. Maybe I can help out here and there. If that's an option to you, feel free to shoot me an email! :)

@pi0 we really need fast maintenance for this module.

Waiting (impatiently) for this to be closed...😅

Waiting....

Would it make sense the create a new community based version of this module? Tailwind does not seem to get the prioritization it needs.

Good hint @madsh93, haven't stumbled over those instructions yet!
I had to split nuxt.config.{js,ts} though, as mentioned in https://github.com/nuxt-community/tailwindcss-module/blob/main/src/tailwind.config.ts#L16 for it to work in dev mode on Nuxt Bridge.
Is there anything this plugin does more than what's achieved with tailwind's instructions? I suppose not much. If not, wouldn't it be a possibility to simply deprecate this plugin as it's neither necessary nor maintained? @Atinux :pray:

Good hint @madsh93, haven't stumbled over those instructions yet! I had to split nuxt.config.{js,ts} though, as mentioned in https://github.com/nuxt-community/tailwindcss-module/blob/main/src/tailwind.config.ts#L16 for it to work in dev mode on Nuxt Bridge.
Is there anything this plugin does more than what's achieved with tailwind's instructions? I suppose not much. If not, wouldn't it be a possibility to simply deprecate this plugin as it's neither necessary nor maintained? @Atinux 🙏

I do like the /_tailwind route this plugin sets up. It comes in handy sometimes.

This is on our list, by the way - not forgotten!

Much appreciated on the update @danielroe. Currently, at least for me, the JIT double compile issue is still an issue with Tailwind 3 and a direct install. It would be fantastic if we could get this worked out to avoid the double compile - direct install or through this package. Been reading all morning and I'm at a loss of what's going on.

A quick workaround:

Add this to your package.json resolutions (might be optional, it was required for me because I'm using Storybook)

"resolutions": {
   "css-loader": "^5",
   "postcss": "^8.4.5",
   "postcss-loader": "^4",
   "tailwindcss": "^3.0.11"
}

Use the tailwindcss:config hook to override the purge options:

// nuxt.config.js
export default {
  buildModules: [
   // ... other modules
   // TODO: Remove this function when tailwindcss-module adds support to v3
   function () {
      this.nuxt.hook('tailwindcss:config', (config) => {
        // Move the legacy purge content array to the the new property
        // https://tailwindcss.com/docs/upgrade-guide#configure-content-sources
        config.content = config.purge.content
        // Remove legacy purge option to disable the warning
        config.purge = undefined
      })
    }
  ]
}

(optional) If you have issues with JIT and HMR not working properly, check this solution:
https://github.com/nuxt-community/tailwindcss-module/issues/357#issuecomment-988778928

Are there any updates on this issue by now? Just want to work with the latest Tailwind Version? (ofc without broken HMR) 😞

Temporary solution
Forked and merged this PR and created a separate package.
@eliyas5044/tailwindcss

A quick workaround to keep using this module, is to install the latest tailwindcss package separately and then move its legacy purge option to the new content property, and in details:

Install the latest tailwind version
Use the tailwindcss:config hook to override the purge options:

// nuxt.config.js
export default {
  buildModules: [
   // ... other modules
   // TODO: Remove this function when tailwindcss-module adds support to v3
   function () {
      this.nuxt.hook('tailwindcss:config', (config) => {
        // Move the legacy purge content array to the the new property
        // https://tailwindcss.com/docs/upgrade-guide#configure-content-sources
        config.content = config.purge.content
        // Remove legacy purge option to disable the warning
        config.purge = undefined
      })
    }
  ]
}

(optional) If you have issues with JIT and HMR not working properly, check this solution:
Hot reloading does not work for HTML templates #357 (comment)

This just works perfectly

@IsraelOrtuno what exactly did you do? When I install the latest TW version and adding this to my buildModules it still doesn't apply the new classes are present in the latest updates of TW 🤔

@creazy231 in my tailwind.config.js file I have this just like if it was Taiwind 2.
module.exports = {
  purge: {
    // REMOVE purge option WHEN MERGED and leave "content": https://github.com/nuxt-community/tailwindcss-module
    content: [
      'components/**/*.{vue,js,ts}',
      'layouts/**/*.vue',
      'pages/**/*.vue'
    ],
  },

And added that mentioned function option to my buildModules.

Thanks, I'll give it a try

Hi! Any updates on this?

For anyone waiting for this module to be fixed. As @madsh93 already mentioned - tailwind can be used natively. We tried this way and it works perfect, hot reload works with latest tailwind version. Setup is really simple, just follow the official guide: https://tailwindcss.com/docs/guides/nuxtjs

5.0.0-alpha released with Nuxt 3 and Tailwindcss 3 support. Release notes https://github.com/nuxt-community/tailwindcss-module/releases/tag/v5.0.0-0.

hey @pi0,
thanks for releasing v5 🙌 can we already use this pre-release version in prod or should we wait until the stable one?

pre-release version in prod


Updates for three articles for Jia

@alkohli @dansisson

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


entanglement_tracker_grid.jl test error causes the build to fail

Describe the bug 🐞
entanglement_tracker_grid.jl errors causing the build to fail. This is why the build is currently failing on master.
Also, @IsaacP1234 notes that entanglement_tracker_grid.jl causes the build to fail for him as well.  For these two cases, the build fail error is the same.
The build is passing in QuantumSavory.jl even though entanglement_tracker_grid.jl test belongs to that repo.
Expected behavior
This build fail is a recent occurrence. It should not fail.
Minimal Reproducible Example 👇
Please see the output observed from https://buildkite.com/quantumsavory/quantumclifford/builds/691#0190d779-e799-44c8-858d-af8f86078748
QuantumSavory
│  ┌ Warning: Fock space cutoff is not specified so we default to 2
│  └ @ QuantumOpticsExt ~/.cache/julia-buildkite-plugin/depots/018c7069-6197-43aa-b448-6dcde1a05df5/packages/QuantumSymbolics/3DBfA/ext/QuantumOpticsExt/QuantumOpticsExt.jl:74
└
┌ GLMakie
│  WARNING: Makie.Combined is deprecated, use Plot instead.
│    likely near none:1
│  WARNING: importing deprecated binding Makie.Combined into GLMakie.
│  , use Plot instead.
│  WARNING: Makie.ContinuousSurface is deprecated, use VertexGrid instead.
│    likely near none:1
│  WARNING: importing deprecated binding Makie.ContinuousSurface into GLMakie.
│  , use VertexGrid instead.
│  WARNING: Makie.DiscreteSurface is deprecated, use CellGrid instead.
│    likely near none:1
│  WARNING: importing deprecated binding Makie.DiscreteSurface into GLMakie.
│  , use CellGrid instead.
└
┌ CairoMakie
│  WARNING: Makie.Combined is deprecated, use Plot instead.
│    likely near none:1
│  WARNING: importing deprecated binding Makie.Combined into CairoMakie.
│  , use Plot instead.
│  WARNING: Makie.ContinuousSurface is deprecated, use VertexGrid instead.
│    likely near none:1
│  WARNING: importing deprecated binding Makie.ContinuousSurface into CairoMakie.
│  , use VertexGrid instead.
│  WARNING: Makie.DiscreteSurface is deprecated, use CellGrid instead.
│    likely near none:1
│  WARNING: importing deprecated binding Makie.DiscreteSurface into CairoMakie.
│  , use CellGrid instead.
└
┌ QuantumClifford
│  WARNING: using LinearAlgebra.I in module QuantumClifford conflicts with an existing identifier.
└
     Testing Running tests...
Starting tests with 16 threads out of `Sys.CPU_THREADS = 16`...
WARNING: Method definition alice_node(Any, Any) in module ##quantumchannel#225 at /root/.cache/julia-buildkite-plugin/depots/018c7069-6197-43aa-b448-6dcde1a05df5/packages/ResumableFunctions/p6ZzY/src/macro.jl:115 overwritten on the same line (check for duplicate calls to `include`).
WARNING: Method definition bob_node(Any, Any) in module ##quantumchannel#225 at /root/.cache/julia-buildkite-plugin/depots/018c7069-6197-43aa-b448-6dcde1a05df5/packages/ResumableFunctions/p6ZzY/src/macro.jl:115 overwritten on the same line (check for duplicate calls to `include`).
WARNING: Method definition alice_node(Any, Any) in module ##quantumchannel#225 at /root/.cache/julia-buildkite-plugin/depots/018c7069-6197-43aa-b448-6dcde1a05df5/packages/ResumableFunctions/p6ZzY/src/macro.jl:115 overwritten on the same line (check for duplicate calls to `include`).
WARNING: Method definition bob_node(Any, Any) in module ##quantumchannel#225 at /root/.cache/julia-buildkite-plugin/depots/018c7069-6197-43aa-b448-6dcde1a05df5/packages/ResumableFunctions/p6ZzY/src/macro.jl:115 overwritten on the same line (check for duplicate calls to `include`).
WARNING: Method definition alice_node(Any, Any) in module ##quantumchannel#225 at /root/.cache/julia-buildkite-plugin/depots/018c7069-6197-43aa-b448-6dcde1a05df5/packages/ResumableFunctions/p6ZzY/src/macro.jl:115 overwritten on the same line (check for duplicate calls to `include`).
WARNING: Method definition bob_node(Any, Any) in module ##quantumchannel#225 at /root/.cache/julia-buildkite-plugin/depots/018c7069-6197-43aa-b448-6dcde1a05df5/packages/ResumableFunctions/p6ZzY/src/macro.jl:115 overwritten on the same line (check for duplicate calls to `include`).
Test Summary:  | Pass  Total  Time
quantumchannel |    7      7  7.9s
Test Summary:      | Pass  Broken  Total  Time
register_interface |   23       1     24  1.1s
Test Summary:    | Pass  Total  Time
project_traceout |   11     11  4.8s
Test Summary: | Pass  Total  Time
observable    |    8      8  0.6s
Test Summary:                    | Pass  Total  Time
noninstant_and_backgrounds_qubit |   35     35  8.6s
┌ Warning: Fock space cutoff is not specified so we default to 2
└ @ QuantumOpticsExt ~/.cache/julia-buildkite-plugin/depots/018c7069-6197-43aa-b448-6dcde1a05df5/packages/QuantumSymbolics/3DBfA/ext/QuantumOpticsExt/QuantumOpticsExt.jl:74
Test Summary:                     | Pass  Total  Time
noninstant_and_backgrounds_qumode |    1      1  3.3s
Test Summary: | Pass  Total  Time
messagebuffer |    2      2  1.7s
Test Summary:    | Pass  Total  Time
tags_and_queries |   57     57  1.3s
Test Summary:        | ┌ Warning: Your operating system has run out of inotify capacity.
│ Check the current value with `cat /proc/sys/fs/inotify/max_user_watches`.
│ Set it to a higher level with, e.g., `echo 65536 | sudo tee -a /proc/sys/fs/inotify/max_user_watches`.
│ This requires having administrative privileges on your machine (or talk to your sysadmin).
│ See https://github.com/timholy/Revise.jl/issues/26 for more information.
└ @ Revise ~/.cache/julia-buildkite-plugin/depots/018c7069-6197-43aa-b448-6dcde1a05df5/packages/Revise/W4D4d/src/packagedef.jl:37
Pass  Total  Time
entanglement_tracker | 3620   3620  9.8s
Test Summary:         |  Pass  Total     Time
entanglement_consumer | 89992  89992  6m27.0s
entanglement_tracker_grid: Error During Test at /root/.cache/julia-buildkite-plugin/depots/018c7069-6197-43aa-b448-6dcde1a05df5/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:30
  Got exception outside of a @test
  LoadError: type Nothing has no field slot
  Stacktrace:
    [1] getproperty(x::Nothing, f::Symbol)
      @ Base ./Base.jl:37
    [2] top-level scope
      @ ~/.cache/julia-buildkite-plugin/depots/018c7069-6197-43aa-b448-6dcde1a05df5/packages/QuantumSavory/cCaIU/test/test_entanglement_tracker_grid.jl:216
    [3] include(mod::Module, _path::String)
      @ Base ./Base.jl:495
    [4] include(x::String)
      @ Main.var"##entanglement_tracker_grid#1755" ~/.cache/julia-buildkite-plugin/depots/018c7069-6197-43aa-b448-6dcde1a05df5/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28
    [5] macro expansion
      @ ~/.cache/julia-buildkite-plugin/depots/018c7069-6197-43aa-b448-6dcde1a05df5/packages/QuantumSavory/cCaIU/test/runtests.jl:19 [inlined]
    [6] macro expansion
      @ ~/.cache/julia-buildkite-plugin/julia_installs/bin/linux/x64/1.10/julia-1.10-latest-linux-x86_64/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined]
    [7] macro expansion
      @ ~/.cache/julia-buildkite-plugin/depots/018c7069-6197-43aa-b448-6dcde1a05df5/packages/QuantumSavory/cCaIU/test/runtests.jl:19 [inlined]
    [8] top-level scope
      @ ~/.cache/julia-buildkite-plugin/depots/018c7069-6197-43aa-b448-6dcde1a05df5/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:30
    [9] eval(m::Module, e::Any)
      @ Core ./boot.jl:385
   [10] macro expansion
      @ ~/.cache/julia-buildkite-plugin/depots/018c7069-6197-43aa-b448-6dcde1a05df5/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined]
   [11] top-level scope
      @ ~/.cache/julia-buildkite-plugin/depots/018c7069-6197-43aa-b448-6dcde1a05df5/packages/QuantumSavory/cCaIU/test/runtests.jl:19
   [12] include(fname::String)
      @ Base.MainInclude ./client.jl:489
   [13] top-level scope
      @ none:6
   [14] eval
      @ ./boot.jl:385 [inlined]
   [15] exec_options(opts::Base.JLOptions)
      @ Base ./client.jl:291
   [16] _start()
      @ Base ./client.jl:552
  in expression starting at /root/.cache/julia-buildkite-plugin/depots/018c7069-6197-43aa-b448-6dcde1a05df5/packages/QuantumSavory/cCaIU/test/test_entanglement_tracker_grid.jl:187
Test Summary:             | Pass  Error  Total  Time
entanglement_tracker_grid |  213      1    214  7.9s
ERROR: LoadError: Some tests did not pass: 213 passed, 0 failed, 1 errored, 0 broken.
in expression starting at /root/.cache/julia-buildkite-plugin/depots/018c7069-6197-43aa-b448-6dcde1a05df5/packages/QuantumSavory/cCaIU/test/runtests.jl:36
ERROR: Package QuantumSavory errored during testing
Stacktrace:
 [1] pkgerror(msg::String)
   @ Pkg.Types ~/.cache/julia-buildkite-plugin/julia_installs/bin/linux/x64/1.10/julia-1.10-latest-linux-x86_64/share/julia/stdlib/v1.10/Pkg/src/Types.jl:70
 [2] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool)
   @ Pkg.Operations ~/.cache/julia-buildkite-plugin/julia_installs/bin/linux/x64/1.10/julia-1.10-latest-linux-x86_64/share/julia/stdlib/v1.10/Pkg/src/Operations.jl:2019
 [3] test
   @ ~/.cache/julia-buildkite-plugin/julia_installs/bin/linux/x64/1.10/julia-1.10-latest-linux-x86_64/share/julia/stdlib/v1.10/Pkg/src/Operations.jl:1900 [inlined]
 [4] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool, kwargs::@Kwargs{io::Base.TTY})
   @ Pkg.API ~/.cache/julia-buildkite-plugin/julia_installs/bin/linux/x64/1.10/julia-1.10-latest-linux-x86_64/share/julia/stdlib/v1.10/Pkg/src/API.jl:444
 [5] test(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::@Kwargs{})
   @ Pkg.API ~/.cache/julia-buildkite-plugin/julia_installs/bin/linux/x64/1.10/julia-1.10-latest-linux-x86_64/share/julia/stdlib/v1.10/Pkg/src/API.jl:159
 [6] test(pkgs::Vector{Pkg.Types.PackageSpec})
   @ Pkg.API ~/.cache/julia-buildkite-plugin/julia_installs/bin/linux/x64/1.10/julia-1.10-latest-linux-x86_64/share/julia/stdlib/v1.10/Pkg/src/API.jl:148
 [7] test
   @ ~/.cache/julia-buildkite-plugin/julia_installs/bin/linux/x64/1.10/julia-1.10-latest-linux-x86_64/share/julia/stdlib/v1.10/Pkg/src/API.jl:147 [inlined]
 [8] test(pkg::String)
   @ Pkg.API ~/.cache/julia-buildkite-plugin/julia_installs/bin/linux/x64/1.10/julia-1.10-latest-linux-x86_64/share/julia/stdlib/v1.10/Pkg/src/API.jl:146
 [9] top-level scope
   @ none:1
🚨 Error: The command exited with status 1

That is an upstream issue with QuantumSavory. I will close here.

It is being fixed in one of the currently open PRs there


Add var.volume_tags_enabled

what

Volumes are tagged the same as the EC2  instance they're created for

why

It's helpful to tag volumes like the instance they're used on
Untagged volumes can accumulate and become difficult to manage

references

closes #90

/rebuild-readme

@gregnphe please also address the merge conflicts -- Thanks!

/test all

Thanks for the contribution @gregnphe! Released as 0.32.0.


Plugin not working completely on Pycharm 2018.3.5

I'm submitting a ...

[ ] bug report

What is the current behavior?
Plugin installs correct and shows No Gitflow.
Running 'Init Repo' creates branch and switches to it.
After that 'No Gitflow' still shows and there are no 'git flow' commands available.

Is this a bug? Sorry about that. If so give me explicit details how to reproduce:

Pycharm Professional 2018.3.5 -> Preferences -> Plugins -> Search for Git Flow and install 'Git Flow Integration'.
Restart IDE
Any repository -> Click on 'No Repo' and select Repo Init.
Fill in branch names if required.
The plugin will change to the 'develop' branch after creating it.
Plugin still shows 'No Gitflow' and doesn't present actions

What is the expected behavior?
Plugin should show Gitflow actions as indicated.

Please tell me about your environment:

Gitflow4idea version: 0.6.7
Gitflow version: 0.4.1
IntelliJ Help -> about > click copy icon and paste here. Should look like this:

PyCharm 2018.3.5 (Professional Edition)
Build #PY-183.5912.18, built on February 26, 2019
Licensed to Eric Van Steenbergen
Subscription is active until April 20, 2019
JRE: 1.8.0_152-release-1343-b28 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.14.4

@EricVS  You're using nvie/gitflow rather than gitflow-avh. The former is dead and hasn't been updated in years. Please upgrade to AVH Gitflow

Thank you for your response. I uninstalled git-flow and installed
git-flow-avh. Working in Pycharm as expected!
Thank you very much for a nice and functional plugin!
Kind regards,
Eric Van Steenbergen
E-mail<EMAIL_ADDRESS><EMAIL_ADDRESS>Skype: ericvs2014
LinkedIn: Eric Van Steenbergen
http://es.linkedin.com/pub/eric-van-steenbergen/b/8a4/51b
On Sat, Apr 6, 2019 at 1:52 PM Opher Vishnia<EMAIL_ADDRESS>wrote:

Closed #227 https://github.com/OpherV/gitflow4idea/issues/227.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/OpherV/gitflow4idea/issues/227#event-2257300303, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAQgPxaTXUerO6rZ7SNgEBzmjliu_VM9ks5veDYLgaJpZM4cNHJa
.


Remove background inheritance

Fix for GH-343 (JsFiddle thanks to @PaulStevensLM). The background shouldn't be set for the tour-step-backdrop (JsFiddle). I'm not 100% sure if removing this would cause backwards compatibility issues, but if someone needs the background inherited they should specify that in their own css.

Thanks!

Could you please tag a version containing this commit with the build/ directory updated?
Current situation to use this is: I can install it with bower pointing to a specific commit, but as I do not use less but scss, and the css in build is not updated, one cannot get this fix in a a clean way.


Strange Error

Put my settings into the Settings_Mudae file, compiled it and it was good, have pre-reqs, yet I'm getting this error.
It still shows when other members in the server roll, though i'm unsure if the bot is still fully functional like this as it's not making the attached account roll.

It appears to be able to claim, but kak reacts and autorolling seem to not happen.


How to visualize the result of semantic segmentation results in S3DIS?

Dear AnTao,
   Since the room data has been divided into blocks in S3DIS data, how to visualize the segmentation results of the whole room?

Best regards

Option 1: You can refer to how the blocks of a specific room are divided, and write a script to place the blocks according to their locations in the room.
Option 2: In semantic segmentation, each point in the point cloud is represented by a 9-dim vector of XYZ, RGB and normalized location as to the room (from 0 to 1). You can use the normalized locations to place points in the whole room.
The advantage of Option 1 is that the recovered room has its original scanned size. By contrast, because you don't know the exact sizes of the real room, the length, width, and height of the recovered room in Option 2 are the same. Also, the normalized locations are not very accurate due to the limitation of decimal precision.
I suggest you choose Option 1 to fully recover the original room.

The visualization code is added in this repo.

Hi @AnTao97
Sorry if this question is a bit inappropriate given the issue is closed!
I've been trying to wrap my head around the visualization of this dataset as well. I'm using a different model and this is the first instance of proper visualization of S3DIS after it has been sampled into blocks that I've seen.
Could you please refer to me where you effectively reconstructed the rooms via the blocks (i.e., found the original global positions) in the code? I am trying to do this myself, but to no avail. It would be a huge help if you could give a couple of directions! I'm simply trying to reconstruct the room from the S3DIS torch geometric pre-processed data so I can visualize it afterwards.
Thank you a lot in advance!

The visualization follows two steps:

The model processes each block and temporarily saves the XYZ and RGB information in a TXT file.

Detailed codes are:
https://github.com/antao97/dgcnn.pytorch/blob/97785863ff7a82da8e2abe0945cf8d12c9cc6c18/main_semseg.py#L103-L116
Note that the saved XYZ coordinates are the original real coordinates in the room, which is loaded from data/indoor3d_sem_seg_hdf5_data_test/raw_data3d/Area_<test_area>/<roomname>(<visual_file_inde>).txt. The files in data/indoor3d_sem_seg_hdf5_data_test/raw_data3d/ are generated during data preprocessing step.
https://github.com/antao97/dgcnn.pytorch/blob/97785863ff7a82da8e2abe0945cf8d12c9cc6c18/prepare_data/indoor3d_util.py#L203-L209

If all the blocks in a room are processed, the saved TXT files are gathered for visualization.

Detailed codes are:
https://github.com/antao97/dgcnn.pytorch/blob/97785863ff7a82da8e2abe0945cf8d12c9cc6c18/main_semseg.py#L118-L143


flocker can't connect to a Vagrant-assisted VM setup

Replaced by https://clusterhq.atlassian.net/browse/FLOC-298
Vagrant starts sets up some SSH servers on localhost:<not port 22>.
configure_ssh and ProcessNode.using_ssh both want to connect to the SSH server on port 22.
This is a problem when the CLI needs to connect to a node: it won't be able to.
This is also a problem when one node wants to connect to another node.
One solution is to write a Vagrantfile that puts SSH on port 22 (and somehow assigns some unique addresses, too, so these don't conflict).  I'm not sure how you do this with the vagrant config language, exactly.
A different, partial solution is to not specify the port number if it is 22 (ie, the default) and let people write an ssh config file that specifies the correct port number to use.  This is awkward and slightly annoying but it solves the cli->node issue.  It doesn't solve the node->node issue (even if you put a config file on your nodes, I think, because you have no address to connect to to reach other nodes).  Perhaps this could be worked around by proxying even more ports or some other more complicated network configuration (but this sounds complex and we probably want to avoid it).

We are moving our development planning to JIRA. This issue is now being tracked at https://clusterhq.atlassian.net/browse/FLOC-298. You are welcome to file additional issues in GitHub if that's easier for you.


s2pctl crashes with segmentation fault in interactive mode when "enter" key is pressed without any other input

When creating a new ticket please provide information on your environment.

The Pi type:
Zero 2 W

The Pi OS version (output of 'lsb_release -a'):
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm

The SCSI2Pi release or git revision:
scsi2pi_1.2_devel_50d3589_arm64-1.deb

The computer/sampler connected to the RaSCSI/PiSCSI board:
N/A

Describe the issue
When running s2pctl in interactive mode and just pressing enter without entering anything else it crashes with a "Segmentation fault":
$ /opt/scsi2pi/bin/s2pctl
SCSI Target Emulator and SCSI Tools SCSI2Pi (Server Controller Tool)
Version 1.2-devel
Copyright (C) 2016-2020 GIMONS
Copyright (C) 2020-2023 Contributors to the PiSCSI project
Copyright (C) 2021-2024 Uwe Seimet
Entering interactive mode, Ctrl-D or "exit" to quit
s2pctl>
Segmentation fault

When entering commands it works without issues:
$ /opt/scsi2pi/bin/s2pctl
SCSI Target Emulator and SCSI Tools SCSI2Pi (Server Controller Tool)
Version 1.2-devel
Copyright (C) 2016-2020 GIMONS
Copyright (C) 2020-2023 Contributors to the PiSCSI project
Copyright (C) 2021-2024 Uwe Seimet
Entering interactive mode, Ctrl-D or "exit" to quit
s2pctl>server-version
Device server version: SCSI2Pi 1.2-devel
s2pctl>

@fdanapfel Indeed ;-). For the sake of simplicity I will fix that while working on https://github.com/uweseimet/scsi2pi/issues/37.

@fdanapfel The new issue_37 banch should fix this issue. Can you please test?

@uweseimet I prefer to use the binary packages, and since this is not a major issue I'm happy to wait until the fix is included in a binary package to test if the issue is fixed.

@fdanapfel Development builds with this issue fixed are now available for download.


Querying on Complex Object Attributes

Hi,
I think the query on Complex Member is not available.
For e.g.:
Class SubA{
private String name;
private String value;
}
Class A{
private List list;
private Id;
}
Now If i wanted to query on name field of Sub A how can I do this ?

Also Can you please tell me if I need to query for findById(List ids) ?? what can be done ?

take a look at
http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBMapper.ArbitraryDataMapping.html
I think this is what you mean.

Regarding findById(List ids):

For the Spring-Data query builder to respect the list you have to use
findByIdIn(List ids)

see also Issue #84 and this wiki.


Create a project for managing the issues

@earth2marsh I don't have the necessary permissions to create public projects so I'll have to reassign this.

I think we need @webron or @ncaidin , so reassigned.

Someone (possibly me since I can see it, although I don't recall doing it?) created a private project here that could be made public: https://github.com/orgs/OAI/projects/8

@handrews I can see it as well.  Concern here is this project needs to be made public?


Cannot show structure in pip version

Hello, I use Arch Linux and I have installed JupyterLab from pip.
I installed trident-chemwidgets tried the Scatter_widget.ipynb from examples but it cannot display structures. Hovering and click "Show Structures" displayed nothing.

I tried conda version with JupyterLab in conda and everything was OK.

Thank you.

Thanks for reporting this issue @pikakolendo02! I have a suspicion that this may be related to serving the RDKit JS assets to the front end. We have some custom filesystem manipulations we perform on install and something may be strange with the pip version/Arch Linux combination. We generally test the releases on Mac and Windows, but not Arch Linux. I'll see if I can replicate your issue on Mac first, then in Docker with Arch if I can't replicate it there. I'll let you know if I have a solution for you. If there's no easy fix, we'll make sure to have Linux compatibility in our next release. In the meantime, I'd recommend sticking with the conda version if that's working. Will update here once I've had a chance to test it.

We took a look at this bug again on Windows, MacOS, and Ubuntu and weren't able to replicate the issue: the pip installed version displayed the structures on all systems. Would it be possible for you to load the developer console and report any error messages there? Chrome and Firefox instructions here, respectively. Thanks in advance!

Thank you for reply @TShimko126 .
pip ver:

conda ver:

I hope these could help you.

Thanks for the screenshots, these are very helpful. I believe this is probably a permissions issue with our local assets provider. TCW needs write access to the Jupyter extension directories as well as some other files. I expect that this might not be possible if you're installing with pip globally. My thought is that conda is using a virtualenv directory with looser permissions to which TCW can write on setup.
Are you installing with pip globally or within a different vitualenv provider? Thanks!
@gilberto-md: We should add a warning if TCW doesn't have write permissions to the Jupyter target dirs on install.

These packages are installed locally in ~/.local/lib/python3.10/site-packages
pip list --user
Package                        Version
------------------------------ -----------
anyio                          3.6.1
argon2-cffi                    21.3.0
argon2-cffi-bindings           21.2.0
Babel                          2.10.3
beautifulsoup4                 4.11.1
bleach                         5.0.1
debugpy                        1.6.3
defusedxml                     0.7.1
entrypoints                    0.4
fastjsonschema                 2.16.1
ipykernel                      6.15.2
ipython-genutils               0.2.0
ipywidgets                     8.0.2
Jinja2                         3.1.2
json5                          0.9.10
jsonschema                     4.15.0
jupyter_client                 7.3.5
jupyter-core                   4.11.1
jupyter-server                 1.18.1
jupyterlab                     3.4.6
jupyterlab-code-formatter      1.5.3
jupyterlab-language-pack-zh-CN 3.4.post4
jupyterlab-pygments            0.2.2
jupyterlab_server              2.15.1
jupyterlab-widgets             3.0.3
MarkupSafe                     2.1.1
mistune                        2.0.4
nbclassic                      0.4.3
nbclient                       0.6.7
nbconvert                      7.0.0
nbformat                       5.4.0
nest-asyncio                   1.5.5
notebook                       6.4.12
notebook-shim                  0.1.0
pandocfilters                  1.5.0
prometheus-client              0.14.1
pyrsistent                     0.18.1
pyzmq                          23.2.1
rdkit                          2022.3.5
Send2Trash                     1.8.0
sniffio                        1.3.0
soupsieve                      2.3.2.post1
terminado                      0.15.0
tinycss2                       1.1.1
tornado                        6.2
trident-chemwidgets            0.2.1
webencodings                   0.5.1
websocket-client               1.4.1
widgetsnbextension             4.0.3

Hi, I am having the same issue. I did install to global pip on a virtual Linux machine. Everything works except structure drawing from selection or the tooltip in the scatter plot. Do you know if changing permissions somewhere would help here?

I also just installed in a venv on a Mac, same issue. Pip is installing version 0.2.1.

Sorry for the delay here, we've been quite busy with some other projects so maintenance on the chemwidgets package has fallen a bit behind.
@johnberroa - Is it possible for you to try with the conda installation (conda install -c conda-forge trident-chemwidgets)? We seem to have better luck getting the rdkit.js assets to the right location/permissions with conda than with pip.
@GattiMh - I don't think any of the devs have an M1 mac to test the package on. Could you provide some more information regarding your browser (and if possible screenshot the console window in your browser as @johnberroa did in his message above)?
Thanks to both of you for reporting these issues. A fix will probably take a little bit since we are busy working on other tasks at the moment, but for now I'd recommend using the conda version when possible and seeing if that fixes your issues. If not, please let me know and we can bump this higher on the priority list.

Sorry for the delay here, we've been quite busy with some other projects so maintenance on the chemwidgets package has fallen a bit behind.
@johnberroa - Is it possible for you to try with the conda installation (conda install -c conda-forge trident-chemwidgets)? We seem to have better luck getting the rdkit.js assets to the right location/permissions with conda than with pip.
@GattiMh - I don't think any of the devs have an M1 mac to test the package on. Could you provide some more information regarding your browser (and if possible screenshot the console window in your browser as @johnberroa did in his message above)?
Thanks to both of you for reporting these issues. A fix will probably take a little bit since we are busy working on other tasks at the moment, but for now I'd recommend using the conda version when possible and seeing if that fixes your issues. If not, please let me know and we can bump this higher on the priority list.

Thanks! I have sorted the problem by doing conda/mamba install nodejs
Hope that helps the others as well.
Best wishes

I have the same issue with pip installation on windows. what is going on?


Change the default highlight color

When annotating an error in the web interface, dragging the mouse over the text is highlighted in red by default.
After releasing the mouse, the color immediately changes to the actual color of the first error category, but it can still be confusing.
We should either set this default color to a neutral color, or find a way how to always set it to the color of the first error category.
https://github.com/kasnerz/factgenie/assets/8361334/c0ec876c-0258-412f-957f-e7ceed519a85

@kasnerz I think we can close it with the new GUI, right?

I don't think we've changed anything related to this yet, or have we? 🤔


Reverse history results to parse ascendingly in time

#3305  👈
main

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

Join @tommylau523 and the rest of your teammates on  Graphite


[FEATURE] Adding Sentry reporter

Is your feature request related to a problem? Please describe.
Hi Guys, i'm really need adding sentry for error reporter but i cannot get recover error data because recover already called when program had error on this file https://github.com/go-micro/plugins/blob/0682c1c82ec59cf5c67c3f859e2e25e011ee0c7a/v4/server/grpc/grpc.go#L401
Describe the solution you'd like
if posible can we add 2 lines code of sentry like this image below

Additional context

Do you want to make a PR?

This problem can be solved by multi output logger.

This problem can be solved by a muti output logger.

i have try at handlerwrapper but still cannot get error because its already recover by go micro, or can you show me your code to solve this problem, i really appreciate thank you


FEAT: Handle correctly inputs

Is your feature request related to a problem? Please describe.
Currently, our IA didn't receive inputs. I will correctly links inputs to the Neuron.

This issue is useless since it was resolve in a other one.


Can't start debugger because of certifcation confusion

I'm having the exact same problem as https://github.com/dotnet/AspNetCore.Docs/issues/14581 and have tried the suggested fixes there but nothing is working. If I run dotnet dev-certs https --clean, it seems to complete successfully:
Kay-Holtens-MBP:~ imac$ dotnet dev-certs https --clean
Cleaning HTTPS development certificates from the machine. This operation might require elevated privileges. If that is the case, a prompt for credentials will be displayed.

But then if I run dotnet dev-certs https --trust, it says there already is a certificate.
Kay-Holtens-MBP:~ imac$ dotnet dev-certs https -t
Trusting the HTTPS development certificate was requested. If the certificate is not already trusted we will run the following command:
'sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain <<certificate>>'
This command might prompt you for your password to install the certificate on the system keychain.
Password:
A valid HTTPS certificate is already present.

I am working on a Mac, trying to run a barebones C# .NET API from Visual Studio. I have already tried to delete my certification from the Keychain Access application and was told it would regenerate, but no such luck. How do I get my computer to recognize there is no certificate and make a new one?

Try https://github.com/dotnet/AspNetCore.Docs/issues/14581#issuecomment-535280484

OK, I was able to get that error resolved by following the steps under OS X - certificate not trusted. Thanks :)


TTS not working on echo show

Hi there, TTS works perfectly on all my echo dots but it does not work on my echo shows. It returns an error message instead. I can play local media through the echo dots and would like to on the shows tool
Any help would be appreciated, kind regards

Same issue here. Didn't try on echo dot, though, just on echo show and they don't work. It says to see the wiki page.
OTOH, on the service tab, it fails the tes with an unknow message.

Please use the template and try again.

which template? HA's one?
It shows this


I lost several SST files created 1 minute before crash, need a way to recover documents.

My Environment

ArangoDB Version: 3.7.3 nightly win64
Storage Engine: RocksDB
Deployment Mode: single server
Deployment Strategy: manual start
Configuration:   n/a
Infrastructure:  own
Operating System: win10 x64
Total RAM in your machine: 16G
Disks in use: SSD but with volatile write cache

Component, Query & Data
Size of your Dataset on disk: ~300MB
Problem: After power loss, one of the most recent SST files are lost due to the volatile write cache (third party, in memory) deployed.
The write cache is used mainly to solve "slow background sync" causing ArangoDB to hang from time to time (my application is write heavy).
Now if i start ArangoDB normally, it shows:
2020-10-24T00:41:51Z [13136] INFO [e52b0] ArangoDB 3.7.3-nightly [win64] 64bit, using build heads/3.7-0-gfb6feed6cd-dirty, VPack 0.1.33, RocksDB 6.8.0, ICU 64.2, V8 7.9.317, OpenSSL 1.1.1g  21 Apr 202
0
2020-10-24T00:41:51Z [13136] INFO [43396] {authentication} Jwt secret not specified, generating...
2020-10-24T00:41:51Z [13136] INFO [144fe] using storage engine 'rocksdb'
2020-10-24T00:41:51Z [13136] INFO [3bb7d] {cluster} Starting up with role SINGLE
2020-10-24T00:41:51Z [13136] INFO [6ea38] using endpoint 'http+tcp://<IP_ADDRESS>:8529' for non-encrypted requests
2020-10-24T00:41:51Z [13136] INFO [3844e] {authentication} Authentication is turned on (system only)
2020-10-24T00:41:51Z [13136] WARNING [d5c49] {engines} ignoring value for option `--rocksdb.max-write-buffer-number` because it is lower than recommended
2020-10-24T00:41:52Z [13136] FATAL [fe3df] {startup} unable to initialize RocksDB engine: IO error: No such file or directoryNewRandomAccessFile failed to Create/Open: D:\Arango37\ArangoDB3-3.7.3-nigh
tly_win64\var\lib\arangodb3\engine-rocksdb/1397852.ldb: The system cannot find the file specified.\r\n; Maybe your filesystem doesn't provide required features? (Cifs? NFS?)

the file 1397852.sst is indeed missing (but all of the older .sst files are still there). if i manually create a file named 1397852.sst, ArangoDB(Rocks) will tell me the size of the file is incorrect.
My question: is there a way to skip the missing SSTs and recover most of the older data?

to replicate the problem: force kill arangod, delete newest SST file(s), then start arangod

i compiled RocksDB 6.8.fb as per https://github.com/facebook/rocksdb/blob/6.8.fb/INSTALL.md and attempted to repair the database via ./ldb repair --db=../engine-rocksdb. the repair process did fix the missing/corrupt SST problem, however arangodb now gives me this:
2020-10-24T03:26:46Z [6528] INFO [e52b0] ArangoDB 3.7.3-nightly [win64] 64bit, using build heads/3.7-0-gfb6feed6cd-dirty, VPack 0.1.33, RocksDB 6.8.0, ICU 64.2, V8 7.9.317, OpenSSL 1.1.1g  21 Apr 2020

2020-10-24T03:26:46Z [6528] INFO [43396] {authentication} Jwt secret not specified, generating...
2020-10-24T03:26:46Z [6528] INFO [144fe] using storage engine 'rocksdb'
2020-10-24T03:26:46Z [6528] INFO [3bb7d] {cluster} Starting up with role SINGLE
2020-10-24T03:26:46Z [6528] INFO [6ea38] using endpoint 'http+tcp://<IP_ADDRESS>:8529' for non-encrypted requests
2020-10-24T03:26:46Z [6528] INFO [3844e] {authentication} Authentication is turned on (system only)
2020-10-24T03:26:46Z [6528] WARNING [d5c49] {engines} ignoring value for option `--rocksdb.max-write-buffer-number` because it is lower than recommended
2020-10-24T03:26:46Z [6528] FATAL [d9df8] {startup} column family 'PrimaryIndex' is missing in database. if you are upgrading from an earlier alpha or beta version of ArangoDB 3.2, it is required to restart with a new database directory and re-import data

per https://github.com/facebook/rocksdb/wiki/RocksDB-Repairer:

If the column family is created recently and not persisted in sst files by a flush, then it will be dropped during the repair process. With this limitation repair would might even damage a healthy db if its column families are not flushed yet.

any thoughts?

I ran the following command on original database files:
$ ./ldb --db=../engine-rocksdb list_column_families
Column families in ../engine-rocksdb:
{default, Documents, PrimaryIndex, EdgeIndex, VPackIndex, GeoIndex, FulltextIndex}

so everything is still there in MANIFEST，so it seems that all i have to do is to find a way to modify MANIFEST such that RocksDB can ignore the missing SSTs.

I wrote a python script to:

convert hex-encoded VelocyPack into JSON,
merge the documents with their column-ids (same id means documents are from the same collection)
insert the documents back to ArangoDB

import struct

def ui64(b):
    return struct.unpack('>Q',b)[0]

def b(h):
    return bytes.fromhex(f'{h:02x}')

# https://github.com/arangodb/go-velocypack/blob/master/tools/dump.go
# modify dump.go as follows and compile into dump.exe
'''
package main

import (
	"encoding/hex"
	// "flag"
	"fmt"
	"log"
	"strings"
	"os"
	"bufio"

	velocypack "github.com/arangodb/go-velocypack"
)

func main() {

	reader := bufio.NewReader(os.Stdin)
	text, _ := reader.ReadString('z')

	text2 := ""

	if text[len(text)-1] == 'z'{
		text2 = text[0:len(text)-1]
	}else{
		text2 = text
	}

	// fmt.Println(text2)

	slice, err := hex.DecodeString(strings.TrimSpace(text2))
	if err != nil {
		log.Fatalf("Failed to decode hex slice: %#v\n", err)
	}
	json, err := velocypack.Slice(slice).JSONString()
	if err != nil {
		log.Fatalf("Failed to convert slice: %#v\n", err)
	}
	fmt.Println(json)
}
'''

import subprocess as sp
def v2j(hexstr):
    cp = sp.run(['./go-velocypack/tools/dump.exe'],
        input=hexstr,
        encoding='utf-8',
        capture_output=True,
        cwd='./go-velocypack/tools/',
    )
    return cp.stdout

print(v2j('01'))

# print(b(0x00), b(0x1a))

import json, sys
sys.path.append('../')

from commons import aql, aqlc

aqlc.create_collection('recovered')
aql('for i in recovered remove i in recovered')

with open('documents.txt', 'r') as f:
    # for i in range(10):
    i = -1
    while 1:
        i+=1

        l = f.readline()

        if len(l)<=1:
            break # eof

        assert l[-1] == '\n'
        l = l[:-1] # remove trailing '\n'
        l = l.split(' ==> ')

        if len(l)!=2:
            continue # invalid

        k,v = l
        k,v = k[2:], v[2:] # remove '0x'

        # https://github.com/arangodb/arangodb/blob/5c35df5ec4ae45dbaa6c5fb8418c742bc2be81c7/arangod/RocksDBEngine/RocksDBKeyBounds.cpp#L332

        # key is 8byte collection id + 8byte doc rev id
        # big endian

        collid = ui64(bytes.fromhex(k[:16]))
        docrev = ui64(bytes.fromhex(k[16:]))

        doc = v

        j = v2j(doc)
        print(i, len(k), k, collid, docrev, doc[0:4], len(doc))

        obj = json.loads(j)
        del obj['_id']
        del obj['_rev']
        obj['key'] = obj['_key']
        del obj['_key']

        obj['collid'] = collid

        print(obj)
        aql('insert @k into recovered', k=obj, silent=True)

dirty, but works. well, that's how you recover from missing/corrupt SSTs!

unfortunately due to the way leveldb works (SSTs are combined into higher levels, then lower levels are discarded), the latest SSTs happens to contain nearly everything since the last arangorestore. losing those SSTs means all data since last arangorestore event are lost.
backup more often seems to be the only solution.

Yeah i had this happen to me too spent whole day trying to recover lost a month of real data all i did was go out for the day came back to a broke DB


WIP: Update CI configuration

Current configuration does not work as expected.
Therefore, it is not possible to release the package stably. For example, it is released on PyPI with a version different from the version specified by the tag.
Take the results of the trial in https://github.com/kitsuyui/pypi-playground .

Codecov Report
Base: 100.00% // Head: 100.00% // No change to project coverage :thumbsup:

Coverage data is based on head (867a0ff) compared to base (aa95500).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##              main        #1   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         2
  Lines           78        78
=========================================
  Hits            78        78

Flag
Coverage Δ

unittests
100.00% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


UI Freeze after move application to background state

If while sliding menu application move to background (for example, because phone receive incoming call), then after returning to foreground state user interface freeze. (isLeftOpen() or isRightOpen() methods return that the menu is opened fully)

There was such a solution!
Thanks!


[v2.8] [BUG] Inadvertent removal of SSH from rancher/machine

Backport of https://github.com/rancher/rancher/issues/45173 for 2.8.x.

New version of rancher/machine was bumped in https://github.com/rancher/rancher/pull/45195.

Ticket #45174 - Test Results - ✅

Scenario
Test Case
Result

1.
Provision a downstream RKE2 cluster
PASS

Verified with (HA Helm or Docker) on Rancher v2.8-efccfef83579dd0fdc5d3cccd954906e516e1df8-head:
Scenario 1: Provision a downstream RKE2 cluster

Provision a downstream RKE2 cluster with Centos 9 as the OS
Verify that the cluster comes up active

Results: The cluster came up active and all pods are in a stable state.


Hyper and h2 pip installs incompatible

To reproduce: use pip to install hyper and h2.
Run any program relying on hyper.
Watch as an import breaks things.

Can you provide the output of pip freeze?

$pip freeze
appdirs==1.4.3
certifi==2017.4.17
Cython==0.25.2
enum34==1.1.6
h2==3.0.1
hpack==3.0.0
hyper==0.7.0
hyperframe==3.2.0
packaging==16.8
pyparsing==2.2.0
six==1.10.0

Your version of h2 is outside the bounds of what is allowed by hyper. This is a pip problem, not a hyper one: if you just pip install hyper you'll get a compatible version.


Plotly graphs are not rendering

I'm having issues rendering Plotly graphs when nbsphinx is used. Thus, I have created a minimal project that reproduces the issue: https://github.com/aleixalcacer/sphinx-plotly
As can be seen in the html rendering, the plotly figures are not displayed.

Do you have any idea what it can be?

It looks like Plotly only supports MathJax version 2, but Sphinx and nbsphinx have switched to version 3 recently.
See https://github.com/spatialaudio/nbsphinx/issues/572#issuecomment-853389268 for how to switch back to version 2.

Thanks a lot. That has solved my issue. :)


Github releases as Jira releases

Github has a feature for making a release. When making a release you can add a description and if it is a pre-release or not.
It would be amazing if the plugin listened for the github events from this and automatically created JIRA releases in the project based on them.

+1

This would be a very useful feature

+1

+1

Any updates on this being a possibility?

+1

+1

+1

@gxueatlassian ?

+1

+1

+1

+1

+1


[installation details] CUDA_HOME environment variable is not set

Hi,
I followed the instruction in the readme but had this error during the python setup.py install
CUDA_HOME environment variable is not set. Please set it to your CUDA install root.
I solved all those problem but report them in order to propose little changes into the README
I recretated an conda environment and this time downloaded the packages with conda, with
 conda install pytorch-gpu=1.3.1 torchvision cudatoolkit=10.0 -c pytorch
Then, I have added the CUDA_HOME environment variable with  export CUDA_HOME=/usr/local/cuda-10.1
Training is running now (except that with my NVIDIA GEFORCE RTX 2060 I had to reduce the BS to 8 instead of 16)
Thanks for the great repo!

Thanks for your interest and contribution.


nil pointer deference at install (db.DefaultContext is nil)

Description
Steps to reproduce :

Clone the gitea repository
run TAGS="bindata sqlite sqlite_unlock_notify" make build && ./gitea web
connect to http://localhost:3000

Note : I tried to follow https://docs.gitea.io/en-us/logging-configuration/#debugging-problems but I don't think changing the configuration did anything, I even still had the colors. Writing random stuff in the configuration does make gitea crash though, so I think it reads it
Gitea Version
20a545
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
https://pastebin.com/7ti4Vej6
Screenshots

Git Version
2.38.0
Operating System
ArchLinux
How are you running Gitea?
I cloned the github repository and built using TAGS="bindata sqlite sqlite_unlock_notify" make build and then run with ./gitea web
Database
No response

should be fixed by #21489

I confirm it's fixed :+1: Thanks !


Group improvements

I've marked this as requiring a new major version because of the protected->private access change, but if you're feeling more pragmatic, I'm willing to bet that not a single soul will notice if it goes out in this major version.

This isn't actually a performance thing and is just a tidy-up, right? If that's correct, I'm happy to wait for a real majorVersion, since I don't expect we'll hold off too much longer anyways.

Yeah, there's no urgency on this one.


[Equalizer] act_on_hidden_el issue

Hi,
When the following code is placed
$(document).foundation({
  equalizer : {
    // Allow equalizer to resize hidden elements
    act_on_hidden_el: true
  }
});

an error is generated in the console - which is "Uncaught TypeError: We're sorry, 'object' is not a valid parameter. You must use a string representing the method you wish to invoke."
Basically, I want equalizer to watch hidden elements too.

Just wanted to add that this is being notice in Foundation 6.

Two things: that is not the correct way to pass in new default values to plugins in Foundation 6, see: Configuring Plugins,
and that isn't an option available in equalizer in Foundation 6, If the element is visibility: hidden; it will still work, but if it's display: none; it will not.
P.S. All Foundation 6 variables are camelCased now, that snake_case bugged me...


Line breaks in terminal window when changed editor-fontsize in settings.json .

VSCode Version:

Version 1.3.0-insider
Commit 7c75479a06da31ac73c8ac372acf37fc380e8091
Date 2016-06-09T02:08:47.725Z
Shell 0.37.6
Renderer 49.0.2623.75
Node 5.10.0

OS Version:
Windows 10

@leedonhyun that was fast :) this is an upstream issue with the new framework https://github.com/sourcelair/xterm.js/issues/62

This should be fixed in v1.3.0, you can verify on the Insiders build.


Cloudwatch log groups created not deleted on "terraform destroy"

Description
I created a rds instance and asked for the Cloudwatch log-groups to be created:
module "db" {
  source                 = "terraform-aws-modules/rds/aws"
  enabled_cloudwatch_logs_exports = ["alert", "audit"]
  create_cloudwatch_log_group     = true
  ...
}

It is created successfully. After running terraform destroy and rerunning terraform apply I got this error:
Error: Creating CloudWatch Log Group failed: ResourceAlreadyExistsException: The specified log group already exists:  The CloudWatch Log Group '/aws/rds/instance/el-vi-rds-oracle/audit' already exists.
  with module.db.module.db_instance.aws_cloudwatch_log_group.this["audit"],
  on .terraform/modules/db/modules/db_instance/main.tf line 138, in resource "aws_cloudwatch_log_group" "this":
  138: resource "aws_cloudwatch_log_group" "this" {

In AWS console I saw that the groups created were not deleted on terraform destroy.
Versions

Terraform v1.2.4
provider registry.terraform.io/hashicorp/aws v4.22.0
provider registry.terraform.io/hashicorp/random v3.3.2
RDS 4.7.0

Reproduction Code

Build a RDS instance like shown in the description
Run terraform destroy
Run terraform apply

Expected behavior
The Cloudwatch log groups created by the RDS module are removed on running terraform destroy.
Actual behavior
The Cloudwatch log groups created by the RDS module were not removed on running terraform destroy.

The cloudwatch log groups created by terraform are being destroyed however it looks like while the database is being deleted, it can still create and send to cloudwatch logs due to the service linked role it is using AmazonRDSServiceRolePolicy which as far as I understand is not modifiable. Here's a related issue I found in the terraform aws provider repo: https://github.com/hashicorp/terraform-provider-aws/issues/5348

That's correct - we see that on other services like EKS where tasks are still logging but Terraform removed the log group it has created

This is only about RDS. Maybe this can be solved by simply adding a depends_on = [ aws_cloudwatch_log_group.this ] to https://github.com/terraform-aws-modules/terraform-aws-rds/blob/e49273bb003d803db64690f45ff015d03b32f2ac/modules/db_instance/main.tf#L32 ?
This should ensure the groups are created before and destroyed after db_instance.

Closed in #423

Thx for the fix and also for the release 5.0.1 :+1:


UAT | Doc field for Application for Others

Do we not need a field for document upload too here?

Yes

Rename application for Others to Others

Issue is fixed, please find the reference
https://jam.dev/c/6fd1ede2-938d-4ebc-bfbc-783e382cf2dc


Image insertion don't work in shared mode in Paint activity

Image insertion don't work in shared mode.
Image move and image resize is not recorded and pen trace is display instead in other activities.
See result of image insertion below:

Fixed by https://github.com/llaske/sugarizer/commit/9eb3f4bde6a9973695323271b35ee1ccce5cf58d


Check parentheses with new lines for multiline JSX

This changes the options from a boolean to an enum with three possible
values: ignore, parens, and parens-new-line. Using ignore is like
the previous false while parens is like the previous true. The new
option (parens-new-line) will check that the parentheses around the
multiline JSX are on separate lines for better readability.
This PR attempts to address #1469.

Looks like this needs a rebase


requesting mysql_connect version

Thanks for this great work.
May I request the mysql_connect version of this calendar, I dont mind if I am to pay. Thanks

emm, if i'm not misunderstanding, this is already a mysql_connect version. you just need to create a database and then import the .sql file from author. And remember to edit the setting in bdd.php.(like password, database name etc.)

Hello,
I had tried your FullCalendar BS3 PHP MySQL and its very good in adding events, I have a problem in the display of the event on calendar,, It does not show dates correctly? An example in the database I keep "start" 2018-02-06 "end" 2018-02-08 but in the calendar it shows me "start" 2018-02-06 "end" 2018-02-07. Iam trying to resolve this from last 2 weeks, but unable to solve this. Please help me on this.
Thank you

Hi, see your question but my pc with code is not with at the moment. I'll
try to help you for this one after 21/04 if you still have it.
On 28 March 2018 at 18:07, dSaif<EMAIL_ADDRESS>wrote:

Hello,
I had tried your FullCalendar BS3 PHP MySQL and its very good in adding
events, I have a problem in the display of the event on calendar,, It does
not show dates correctly? An example in the database I keep "start"
2018-02-06 "end" 2018-02-08 but in the calendar it shows me "start"
2018-02-06 "end" 2018-02-07. Iam trying to resolve this from last 2 weeks,
but unable to solve this. Please help me on this.
Thank you
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jamelbaz/FullCalendar-BS3-PHP-MySQL/issues/3#issuecomment-376833045,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYdB5ug6iENRK4ncR9EK--WY6WxW_w3iks5ti2DJgaJpZM4KKcnP
.

@Minalinskey thank u for your response, Firstly i have one issue. when we click on a calendar date to create an event, event start date will the date which we are selecting and  by default the event end date will be taken as next date. I want it to set to event start date itslf, please let me know how can i do this.
thank you

@Minalinskey, have you found any resolution on this.

Hi, just checked my mail one hour ago.
I’ve seen your problem, maybe it’s because the default event type is set to a whole-day event. Not sure for this one but I remember we can remove the whole-day event or change the default event length in the setting.
发送自 Windows 10 版邮件应用
发件人: dSaif
发送时间: 2018年4月10日 8:54
收件人: jamelbaz/FullCalendar-BS3-PHP-MySQL
抄送: Minalinskey; Mention
主题: Re: [jamelbaz/FullCalendar-BS3-PHP-MySQL] requesting mysql_connectversion (#3)
@Minalinskey, have you found any resolution on this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

In the Js code, add one line allDaySlot: false,  as the setting of calendar, it will disable the whole day event.
发送自 Windows 10 版邮件应用
发件人: dSaif
发送时间: 2018年4月10日 8:54
收件人: jamelbaz/FullCalendar-BS3-PHP-MySQL
抄送: Minalinskey; Mention
主题: Re: [jamelbaz/FullCalendar-BS3-PHP-MySQL] requesting mysql_connectversion (#3)
@Minalinskey, have you found any resolution on this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


Update readme

Now have Elixir 2.x branch and master 3.0 branch needs more clarification and details on installing.
See https://github.com/EHLOVader/laravel-elixir-livereload/issues/5#issuecomment-129236386

Updated readme with lots of additional detail. and badges! :name_badge:


Allow FormRequest failedValidation override response

Since ValidationException accepts a second parameter for response, it'll be good to allow response override through there. This way we can do things like this without having to override the whole failedValidation method:
<?php

namespace App\Http\Requests;

use Illuminate\Contracts\Validation\Validator;
use Illuminate\Foundation\Http\FormRequest;
use Symfony\Component\HttpFoundation\Response;

class CustomFormRequestResponse extends FormRequest
{
    // ...

    /**
     * Handle a failed validation attempt.
     *
     * @param  \Illuminate\Contracts\Validation\Validator  $validator
     * @param  \Symfony\Component\HttpFoundation\Response|null  $response
     * @return void
     *
     * @throws \Illuminate\Validation\
     */
    protected function failedValidation(Validator $validator, Response $response = null)
    {
        $response = back()
            ->with('custom_data', 'My custom data here');
        parent::failedValidation($validator, $response);
    }

    // ...
}

If that's not good, I'll be happy to learn a better way to pass custom data using FormRequests. Currently it seems hard to do that with FormRequests since there's no documented way for achieving this quickly.

Would be a breaking change to change that method signature. You could probably add a setResponse to ValidationException which would not be a breaking change.

@taylorotwell oh, ok... Yes, it's possible, but $response is public there, so it's not necessary to add the method. Even so, without it, it'll still not be possible to pass flash data easily through FormRequests without overriding the failedValidation method. =S (or I'm missing something - important to mention, I'm not wanting to pass that flash data in every ValidationException scenario).

@taylorotwell or are you suggesting to add setResponse to FormRequest perhaps? That would make sense...

add the method to mutate this property here
then, the framework will keep working as it is, but with a brand new response.


fix czech translations

This commit fixes most of the mistakes in czech translation.

I think these changes should be made on the project's transifex. If you don't have access to it @RainLoop should be able to add you.

My mistake. Thanks for info.


:bug: repeated search works

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR Type

[x] Bugfix
[ ] Feature
[ ] Refactoring

Context

[x] Closes #4490
[ ] Requires deployment <>

Before submitting pull request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[x] I've posted a screenshot of demonstrated change in this PR

Optional

[x] I've tested it at </bsx/collection>
[x] I've tested PR on mobile
[ ] I've written unit tests 🧪
[ ] I've found edge cases

Had issue bounty label?

[x] Fill up your KSM address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot 📸

[x] My fix has changed something on UI; a screenshot is best to understand changes for others.

https://user-images.githubusercontent.com/73316633/207708892-9cb7b394-e088-4fef-829f-a51789820ac5.mp4

pay 40 usd

😍 Perfect, I’ve sent the payout 💵 $40 @ 26.53 USD/KSM ~ 1.508 $KSM 🧗 FNyt7T1xdbhN7dagf7yGYCRJuE3R45VmTCE3tjzy1rKxa7y 🔗 0x3971cbebc412e83140008893e6f33a6b29c11c11e6f7e796ff169eb0c536561e
🪅 Let’s grab another issue and get rewarded! 🪄 github.com/kodadot/nft-gallery/issues

this one didn't work 👀

pay 40 usd

😍 Perfect, I’ve sent the payout
💵 $40 @ 25.2 USD/KSM ~ 1.587 $KSM
🧗 FNyt7T1xdbhN7dagf7yGYCRJuE3R45VmTCE3tjzy1rKxa7y
🔗 0xa15007fb3fd7519a1132f26ad6ba4b6bddd8fceb85c5c84c0039d952eb9bd3b1
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


[SE-0365] Allow implicit self for weak self captures

This PR adds support for implicit self for weak self captures, as long as self has been unwrapped.
This implements SE-0365.
For example:
{ [weak self] in
    guard let self else { return }
    dismiss() // equivalent to `self.dismiss()`
}

@swift-ci please smoke test

@swift-ci please build toolchain Windows platform

@swift-ci please build toolchain Linux platform

@swift-ci please build toolchain macOS platform

@swift-ci please smoke test macOS platform

ping @xedin @CodaFi

@xedin, thank you very much for the helpful feedback while working through these changes! I updated this PR with the most recent changes you suggested, and made the tests even more extensive.

@xedin, I made the style updates you suggested.

@calda Would you mind if the changes were squashed before merge?

@swift-ci please test

@swift-ci please test source compatibility

Yes please! Squash and merge would be great.

Will do!

The source compat suite found a case where using #selector syntax in a weak self closure no longer compiles. I'll add a test case for this to the main test suite and push a fix.

Sounds good, thank you!

@xedin, I pushed a commit (https://github.com/apple/swift/pull/40702/commits/94ef6c4ab463ecb6f0ce3a7454d6bdb8f228bc4a) that resolves the failure in the source compatibility suite.
This issue turned out to be a bug in Swift 5.7 (first introduced in Swift 4.0), where implicit self was incorrectly being permitted for weak self captures in non-escaping closures, even before self was unwrapped. I made a thread discussing this on the evolution forums.
That is definitely not the expected behavior, but we probably can't change it until Swift 6 (since fixing it breaks source compatibility). I've made the necessary updates for this to still be permitted in Swift 5.8 (with a warning) but emit an error in Swift 6.
This required removing the changes to ASTScope::lookupUnqualified in Swift 5 mode (since we can't made that conditional on whether or not the closure is non-escaping), and updating the implicit self validation for SE-0365 to handle the case where ASTScope::lookupUnqualified still returns the incorrect self ParamDecl. We can make the ASTScope::lookupUnqualified change in Swift 6 mode, so I left that in since it seems much more "correct".

@calda, I left some questions inline in https://github.com/apple/swift/pull/40702/commits/94ef6c4ab463ecb6f0ce3a7454d6bdb8f228bc4a about warnings that I'm not quite sure I understand—sorry, seems the GitHub interface doesn't display those comments in the PR.

@xwu, thanks for the suggestion -- I addressed those false-positive warnings in https://github.com/apple/swift/pull/40702/commits/35e028e5c266b0be3e2f50e1d3bdedb6f25e3c4e.

@calda Thanks, I'll take a look asap!

@calda I looked at the changes and if I want to continue to avoid source break in Swift < 6 we need to find a way to do so without updating AST nodes. It might be reasonable to consider this situation a valid source break for code that shouldn't have worked, update the "Source Compatibility" section of SE-0365 and ask language work group to amend the proposal.

we need to find a way to do so without updating AST nodes

So I understand completely, which portion of the change are you referring to here?
Are you referring to the DeclForUsageAnalysis and EnablesImplicitSelfForWeakSelfCapture properties? If this is a problem I can look in to reorganizing things so that state is tracked in a private side-table inside the MiscDiagnostics.cpp file instead.

It might be reasonable to consider this situation a valid source break for code that shouldn't have worked, update the "Source Compatibility" section of SE-0365 and ask language work group to amend the proposal.

Agreed that we should update the proposal body to discuss this. I'll chat with Saleem / the work group to see if this requires an additional amendment review or not. Are you suggesting we make this source break in Swift 5.8 or Swift 6?

Are you referring to the DeclForUsageAnalysis and EnablesImplicitSelfForWeakSelfCapture properties?

Yes, that's the AST node modifications.

Hi @calda and @xedin,
The language workgroup discussed the current [weak self] capture behavior discussed in the linked forum thread and how to approach the issue.
We're of the opinion that the current behavior is a bug, and therefore addressing that bug would not require Evolution proposal amendment or review. However, as it is not just potentially but actually known to be source-breaking, it cannot be forbidden as an error in the current language mode; instead, the compiler should continue to preserve the present (not ideal) behavior with a warning until it can be made an error in the Swift 6 language mode. There are specific facilities in the compiler for emitting a warning until Swift 6 which may be useful for the implementation.

Thanks for confirming @xwu! I'll update the body of SE-0365 to mention this as well.

It may not really require specific mention in SE-0365, since it's been approved as-is and this would be addressing a related but pre-existing bug. A changelog entry here, maybe?

@calda FYI there is a way to downgrade error diagnostic into a warning via - warnUntilSwiftVersionIf(breakingInSwift5, 6); on the InFlightDiagnostic instance.

Unfortunately this particular error we're trying to avoid in Swift 5 language mode comes from the fact that implicit self is now typed checked as an optional type instead of a non-optional type. I don't think this is an error we can simply "suppress", since the entire type-checked result is malformed.
That's why I think the only option here is to not make changes to the implementation of ASTScope::lookupUnqualified in Swift 5 mode, since that avoids changes to how this code is type-checked.

Yes, that's good, I'm just letting you know that there is a way to downgrade errors into warnings.

Oh, thank you, always appreciate the tips!

@xedin, I removed the changes to the AST nodes in https://github.com/apple/swift/pull/40702/commits/41271845484e1cdbabfb7967852d843af89dec15

I also added a changelog entry for SE-0365, with a mention about the source compatibility implications for Swift 6.

If landing this for Swift 6 language mode only, should it be formally named as an upcoming feature so that users can adopt it in their own code early? (That may require a super-quick Evolution amendment.)

@xwu, good idea -- that makes sense to me. How does "WeakSelfImplicitSelf" sound as a feature name?
By an amendment do you mean running a full amendment review, or just modifying the proposal text to mention the upcoming feature flag? To me it seems reasonable to simply add the feature name when we update the proposal to say "Status: Implemented (Swift 6)" -- but I'll defer to the judgement of the language workgroup of course.

I will ask the larger group on both points; unless I'm mistaken on some technical point, though, I don't think this PR needs to be held up on resolving those questions since it seems like the feature flag can be enabled in a follow-up.

@swift-ci please test Linux platform

Thank you for the great contribution, @calda!

Thank you for the quick reviews and thorough feedback @xedin! Really appreciate it. This was my first non-trivial compiler change so your input was really helpful.

@calda The language workgroup discussed the problem and came to the conclusion that the compiler should:

Keep existing lookup behavior in Swift 5 (so no changes there);
Produce a tailored warning about guard let and if let statements that introduce self would be used in Swift 6 mode but isn't in Swift 5  - it has to describe the issue and avoid the fix-it to remove the statement. (We can brainstorm on the actual text).
Produce a new warning in < Swift 6 modes that detects an incorrect use of implicit self in non-escaping closures and suggests to add guard let statement if there isn't one.

Would you be interested in working on changes?

Sure! I can work on these changes

Produce a tailored warning about guard let and if let statements that introduce self would be used in Swift 6 mode but isn't in Swift 5

In what situations should this warning be emitted, and how would the warning be silenced?

In what situations should this warning be emitted, and how would the warning be silenced?

The same situations where the warning about "unused self" had to be suppressed in Swift 5 mode because it picks self from [weak self] instead of guard let/if let statements.

If we want a warning and this case:
closure { [weak self] in
  // warning: self is not unwrapped, add `guard let self else { return }`
  method()
}

and this case:
closure { [weak self] in
  // warning: guard condition is unused in Swift 5, but used in Swift 6
  guard let self else { return }
  method()
}

then how do you write a weak self closure without triggering a warning?
It seems like we'd want a way to suppress the first warning without introducing a new warning. Thoughts?

Probably the only way is to write explicit self. in this case?

Should the fix-it suggest using explicit self instead of adding a guard statement?

As far as I understand the guard/if let statements have to stay to produce self unwrap for the Swift 6 mode, so all the fix-it would do is to add self. which is going to silence the warning in Swift 5 mode and not going to break code in Swift 6 mode. Does that make sense?

Do we need a warning at all in this case, since the code is well-formed in Swift 6?
closure { [weak self] in
  guard let self else { return }
  method()
}

Allowing this without a warning may be better than having multiple warnings that needs to be suppressed in stages.

This warning should be emitted only for language modes < 6 because in 6 and on it would pickup the right self :) We just need to warn people that okay previous the behavior here wasn't ideal and we are going to change it.

Sorry, I just want to make sure any new warning we add here has an actionable fix-it that silences it.
For the warning in this example, what fixit would we use?
closure { [weak self] in
  // Warning: guard statement condition is unused in Swift 5 language mode
  guard let self else { return }
  method()
  otherMethod()
}

Would we emit the warning any time there's an implicit self reference that had its lookup behavior changed by Swift 6? e.g. would this case emit a warning? (the guard statement is not unused, but there's still an implicit self call that has its behavior changed in Swift 6)
closure { [weak self] in
  // warning?
  guard let self else { return }
  self.method()
  otherMethod() // still implicit
}

Would we emit the warning any time there's an implicit self reference that had its lookup behavior changed by Swift 6?

Yes, both method() and otherMethod() would emit a warning and ask to add explicit self.. In other later case only otherMethod() would get a warning.

We could also go in a direction where guard let self and if let self trigger a special diagnostic walker that only emits a single warning attached to the statement and a bunch of notes with fix-its per incorrect use of self, so your first example would be diagnosed something like this:
error: declaring self in guard statement has to effect on implicit self use in this closure, this behavior is an error in Swift 6
guard let self else { return }
                ^~~

note: use of weak implicit 'self'
   method()
   ^
   self.

note: use of weak implicit 'self'
   ohterMethod()
   ^
  self.

Ok, this makes sense to me -- we completely suppress the "guard statement is unused" warning, and instead emit a warning for each these implicit self calls that will have their behavior changed with a fix-it to use explicit self. Does that sound right?

Take a look at my previous comment (i might have posted it while you where writing this message), you might find that a more interesting approach which reduces number of warnings produced.

Thanks for the in-depth discussion! I think your suggestion of having a single warning with multiple notes would work really nicely here.

Absolutely! Let's try to make it happen then, if it turns out too hard there is always a fallback to multiple warnings.

Here you go: https://github.com/apple/swift/pull/61513 -- turned out to be pretty straightforward!


Does it work in other languages than english?

I am trying with a pdf in portuguese and the results are awful. I've updated the prompt, but still...

I also encountered the same problem. I am trying to use the Chinese document, but the effect is not very good

Can you describe it's behavior?
I translated the QA_PROMPT and CONDENSE_PROMPT to portuguese. Ingested some portuguese PDF and it's working as expected, answering in Portuguese.
However, it fails to connect one question to another, as if it stays stuck on the initial results and don't seem to "refresh" them.  I don't think it is related to the translation.

Well, my PDF has 200 pages. Must be a problem, right? The context (sources) are not at all related to the question. So I guess the problem is in the search for the right context to inject in the prompt

I tried hard to make it work in Portuguese, but it didn't work :/ If you manage to make it work, please let me know

@luisrock
This may be true, but this limitation should not force the template to respond in English. In my case, I am using gpt3.5-turbo as model and have provided more than 2000 pages of PDF in Portuguese.
@lucastzuka
I've just translated the prompt, as mentioned earlier.  I also provided a lot of text in Portuguese.

Again, the context injected is totally wrong. That is the main reason, I guess.

@luisrock talvez de uma olhada se os pdf que vc ta usando nao estao protegidos. pra mim deu uns problemas de contexto no chat e fazendo perguntas especificas de cada documento percebi que um dos 3 pdf que eu tinha carregado estava protegido. outra coisa que vi que pode ser tambem é quando as paginas de texto do pdf estao convertidas em imagem.
@stefansms I translated the QA_PROMPT to Portuguese and added a line saying to give the answers in Portuguese. So it worked :) even when loading only documents in English. thanks s2

Chat model not in English works incorrectly. OpenAi works with same prompt.

I think this pull request may help: https://github.com/mayooear/gpt4-pdf-chatbot-langchain/pull/77

Its not about answers from GPT, the problem is about to find related chunks


delete room requests

@gracejiang is this the branch you want me to look at? If not, can you close this PR :)


Feature: Add Preview for Office files - Word, Excel

Currently, you can only preview PDF file can we improve the preview menu to incorporate Word, Excel, TXT etc. When your click on the file you can see the preview of the file, just have the ability like the normal file explorer.

Hello, preview for .TXT files it's already implemented. If you don't see it it's a bug.

I've been looking into this, and unfortunately it would be very difficult to get a preview that is on par with Windows Explorer, as it essentially embeds the Word (or other Office) application inside of the preview pane. And, unlike PDFs, there is no built in API to render them, and all the third party ones I've found are paid.
However, since there does seem to be a lot of interest in this, I will do my best to put something together.

There's a free version of Spire.Office but I don't think it's free for uwp :/
Might try to do it from the fulltrustprocess and send the render as images to uwp? Yuk

Not sure if it's been looked into already but Quicklook has an Office plugin. Maybe something from there can be used?
https://github.com/QL-Win/QuickLook.Plugin.OfficeViewer

Not directly as that's for wpf. But I believe we could try to get the equivalent for uwp: https://www.syncfusion.com/word-framework/uwp. License for open source projects might be free.

@gave92 That looks perfect.
It looks like the library has render as image capabilities for PowerPoint, and Excel files, so we could load and display those previews the same way as the PDF preview.
Apparently Word document to image isn't support on UWP, so we would have to either show the document editor control (a bit overkill for a preview), or convert it to a PDF stream and render that instead (could be slower).
However, this all would require:
A). Acquiring a open source license
B). Taking on several new rather large dependencies
@yaichenbaum What do you think?

@winston-de Is it possible to use extensions for this or will we still need to add the dependencies?

@yaichenbaum Extensions would work, as would an optional package.

@winston-de Let's do this via an extension in order to avoid bundling an extra dependency to Files.

Hi all,
Thanks for looking into this last year. Didn't realize the complexity behind the scenes. I thought it was just a setting issue on my PC.
Any progress or updates since a year ago? This (Word/PPT/Excel) is a much needed feature to be supported. Thanks.

@pli7pli7 we're currently focusing on performance improvements but we're still planning to add support for previewing Office files.

Thanks @yaichenbaum ~ any estimated timeline? possibly this year?
(asking because this is the only major missing feature before I could use Files as a full substitute for the built-in File Explorer)

Thanks @yaichenbaum ~ any estimated timeline? possibly this year?
(asking because this is the only major missing feature before I could use Files as a full substitute for the built-in File Explorer)

@pli7pli7 we don't have a timeline since we need a contributor to work on it.

Is this an issue in the preview version? https://files.community/download/preview

Yes

I saw that there is a "Everything" program that uses Office Preview

Everything is probably using the system preview handler, we have quite a bit of work to do before we can do the same.

This feature is implemented in main and will be included in the next release.

Now if we want to preview a xlsx file, we click on "View raw" and will be redirected to view.officeapps.live.com.
However, I found that this web application will always load an earlier version of the same file regardless of whether I pushed an update to the xlsx. I tried to clean up browser cache and cookies, but it doesn't work, I re-open the repository, locate that xlsx file, click on "View raw" and I always open the same earlier version of the file.
I was wondering if this could be a bug, or just something cache related goes wrong on my end.


Problem with Adding DataBridge to Docker-Compose File

Hello,
I was trying out the examples (https://github.com/eclipse-basyx/basyx-java-server-sdk/tree/main/examples) provided before the most recent released update and was looking to add the DataBridge as an off-the-shelf component to the provided Docker-Compse file.
My goal is to retrieve the data from a datasource (HTTP endpoint) and push it via DataBridge into the SubmodelElements.
I have encountered some difficulties and am hoping you can help me with them.
"Datasource":
The datasource (value_generator) is a Python script that generates new values with each GET request.
value_generator.txt
start_value_generator.txt
"AAS Server":
docker-compose.txt
mosquitto.conf.txt
aas-env-porperties.txt
sm-registry.txt
aas-registry.txt
".AASX"
AAS.zip
"Databridge-Config.":
aasserver.txt
httpconsumer.txt
routes.txt
timerconsumer.txt
start_databridge.txt
The problem that I am encountering is as follows:
Part 1:

Part 2:

Thank you in advance.

Hello @CanAraz22 ,
Thanks for raising this issue, we will take a look at it and get back to you.

Hi @CanAraz22,
Thank you for raising an issue, we will take a look at it and get back to you.

Hello @CanAraz22,
looking at the error you get it seems like your python server can't be reached by the DataBridge. The DataBridge receives a connection-refused when accessing the server. Please check if your python program works as expected. Also make sure that if the python server runs in a container that localhost won't work. Please check if the port you are trying to use is not already occupied.

Hello @aaronzi,
thank you for the quick response. I managed to resolve my previous issue, but I am now facing a new problem. The DataBridge successfully retrieves data from the datasource and sends it to the specified endpoint. However, the data is not being processed correctly:
"the working DataBridge":

"final result":

While the value keeps changing with each new GET request, the output '{' stays the same.
I hope that you can help me further.
Thank you in advance.

Is the DataBridge configuration still the same?
It would be helpful if you could send the entire project as a .zip file containing a docker-compose.yml file. This way I can just download and execute it.

Hello @aaronzi,
thank you for the quick response.
Here is the entire project:  aas_basyx_project.zip

Hello @CanAraz22,
I am very sorry for the late reply.
The problem that you encounter is caused by the missing configuration for the data transformation.
Your webserver provides a response in json format to the databridge. This response has multiple lines and has the form of a json object. Therefore when you don't use any transformations just the first line will be used which would be the character "{".
To fix the problen you should use a jsonata transformer to extract the value that you want to write to your AAS. You can find an example for how to do this here.
Again, I am very sorry for the late reply. I hope this will help you solve the problem.


Further optimisation/cleanup.

While you guys were figuring out the Jenkins configuration, I thought I could help out by doing the coding part.

Merged most of it in the last iteration of the patch.


password to destination server failing

I got the password destination server failure any time. Need to change the password on the destination server any time if I need to run the tool. Also, computer migration does not migrate the computer object to the desired site instance on the new server. What is the fix? I'm running version 5.2.8 JAMF -migration.
Thank you in advance

What sort of messages do you see in the logs?

What sort of messages do you see in the logs?

inactive


Can' find examples/tableqa/run_model.py in tapex.large.tabfact

Hi,
After I downloaded the fine tuned model "tapex.large.tabfact", I can't find the path examples/tableqa/run_model.py in there. The only three files in "tapex.large.tabfact" are encoder.json, model.pt, vocab.bpe.

@Tizzzzy Yes it is true because you should use https://github.com/microsoft/Table-Pretraining/blob/main/examples/tableft/run_model.py for the tabfact task.


No warning when deleting objects in web app

Expected behaviour
When deleting an object in the web app, a warning about the consequences of the deletion should be displayed.
Actual behaviour
A warning is displayed, but only if there are dependencies on the object.
Steps to reproduce the behaviour

Go to any menu, e.g. Risk/Assets
Click on the '-' icon next to whatever object you want to delete.

Version of CAIRIS
1.2.10
Operating Systems / Hardware
All

Pushed fix which now provides the required confirmation when objects are deleted.


fix:the true spelling and chain call of cors

Codecov Report

Merging #36 (d4a7bbe) into main (2d626c6) will decrease coverage by 0.18%.
The diff coverage is 31.81%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@            Coverage Diff             @@
##             main      #36      +/-   ##
==========================================
- Coverage   35.22%   35.05%   -0.18%
==========================================
  Files          12       12
  Lines         775      796      +21
==========================================
+ Hits          273      279       +6
- Misses        455      470      +15
  Partials       47       47

Flag
Coverage Δ

go-1.19.x
35.05% <31.81%> (-0.18%)
:arrow_down:

macos-latest
?

ubuntu-latest
35.05% <31.81%> (-0.18%)
:arrow_down:

windows-latest
?

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

Files
Coverage Δ

internal/header/header.go
38.53% <100.00%> (+3.58%)
:arrow_up:

middleware/cors/cors.go
58.62% <6.25%> (-12.22%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Add support for new document collection API

Is your feature request related to a problem? Please describe.
It would be useful to support the new api.
Describe the solution you'd like
Add crud methods to the Project class and introduce a new DocumentCollection class.
Add crud methods to the DocumentCollection class.

Hi @nadre - I would continue with this issue. I will implement the following five endpoints:

Ready to be reviewed.


Auto delete branches after pull requests are merged.

Per discussion in working session today we are going to enable auto deletion of branches after merging pull requests on the repositories listed below. Future plan is to add this setting to all community repositories.
See Github doc for instructions.

[x] build-resources
[x] go-common
[x] go-databasing
[x] go-grpcing
[x] go-logging
[x] go-messaging
[x] go-observing
[x] go-queuing
[x] go-sdk-abstract-factory
[x] g2-sdk-go
[x] g2-sdk-go-base
[x] g2-sdk-go-grpc
[x] g2-sdk-go-mock
[x] template-go
[x] senzing-tools
[x] serve-http
[x] serve-grpc
[x] go-rest-api-service
[x] observe
[x] init-database

Closing as completed. Will create a different issue when we apply these changes to additional repositories.


Fix typo

Fix a small typo in a comment in my last PR: s/genrics/generics/

@swift-ci please smoke test and merge


Use new http protocol in extensibility documentation

What this PR does / why we need it:
We've updated our extensibility docs with a more advanced scenario.  The branch has been created http-extensibility.
If applicable:

[ ] this PR contains documentation

@DazWilkin, thank you so much for all the hard work!  This is the last step :)

@DazWilkin, thank you so much for all the hard work!  This is the last step :)

Thank you both for all your support!

This is awesome! I wonder if we should mention how if we had used the broker that exposes a gRPC interface how the Configuration would have changed -- or maybe there is already so much here. I think in general, we kind of throw people into this doc. I think we should point people to our arch doc at the beginning and ask them to read that before they get started, maybe the development doc too for proper rust version.

the Config doesn't really change if a gRPC interface is used.  really, just the broker implementation changes.
i added a link to the dev and arch doc at the top.


[docs] Add note to docs README regarding translations

[x] I have followed (at least) the PR section of the contributing guide.


[Bug]: PG running but cluster broken after restore with velero

Is there an existing issue already for this bug?

[X] I have searched for an existing issue, and could not find anything. I believe this is a new bug.

I have read the troubleshooting guide

[X] I have read the troubleshooting guide and I think this is a new bug.

I am running a supported version of CloudNativePG

[X] I have read the troubleshooting guide and I think this is a new bug.

Contact Details
i didn't realize this was posted publicly. you can contact me via github.
Version
1.23.4
What version of Kubernetes are you using?
1.29
What is your Kubernetes environment?
Other
How did you install the operator?
Helm
What happened?
A some time (weeks) ago i did a restore of a full namespace using velero.
this namespace included a postgres cluster.
After restore, the all postgres pods came backup and started working.
But, i seems like these pods where never readopted into cloudnative-pg.
So today i tried to upgrade postgres, and was told that there are no pods.
this also broke replication, so my replicas where weeks out of date by this point.
I'm not sure what the right path for cloudnative-pg is, but other operators seem to just addopt their resources after a restore
Cluster resource
---
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
  name: pg-sharkey
  namespace: daniel-sharkey
spec:
  instances: 2
  storage:
    size: 1Gi
    storageClass: ceph-rwo
  monitoring:
    enablePodMonitor: true

Relevant log output
[this is spammed continuously]
{"level":"info","ts":"2024-10-20T14:19:59Z","msg":"refusing to create the primary instance while the latest generated serial is not zero","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","Cluster":{"name":"pg-sharkey","namespace":"daniel-sharkey"},"namespace":"daniel-sharkey","name":"pg-sharkey","reconcileID":"37eb3893-d9e4-4548-be8a-7feb1bd65b46","latestGeneratedNode":2}

Code of Conduct

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

So i've tried over the last few hours to build a repro env for this, but
for now have failed as velero does not work on minikube.
But the basic step are:

create a cnpg cluster
backup that cluster using velero
delete the cluster
restore the cluster using velero

This brings back the pods in running state, but leaves them unmanged by cnpg.
I've not yet found any way to re-addopt the cluster yet, currently the
only option seem to be to create a new cluster and import the data.

Hello, thanks for opening an issue.
Currently, velero is not supported by CNPG.


Ruby 3 compatibility

This PR seems to have been closed in error on Dec 21 when @kbruccoleri added the commit for the URI escape thing.  Someone with PR reopen privileges on this repo should probably reopen this PR.

I accidentally created a PR from a fork to this, I intended to close it as there are a lot of unrelated commits as well.


questions regarding the dependencies in inputattachments example

Hi,
I have a question in the input attachments example:
dependencies[2].srcSubpass = 0;
dependencies[2].dstSubpass = VK_SUBPASS_EXTERNAL;
dependencies[2].srcStageMask = VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT;
dependencies[2].dstStageMask = VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT;
dependencies[2].srcAccessMask = VK_ACCESS_COLOR_ATTACHMENT_READ_BIT | VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT;
dependencies[2].dstAccessMask = VK_ACCESS_MEMORY_READ_BIT;
dependencies[2].dependencyFlags = VK_DEPENDENCY_BY_REGION_BIT;
Should this be depencies[2].srcSubpass = 1?
In other words, we transition the color attachment of subpass 1 from color attachment write to memory read?
If you can provide some more clarification on these dependencies that would be very helpful.
Some additional questions:
dependencies[0].dstAccessMask = VK_ACCESS_COLOR_ATTACHMENT_READ_BIT | VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT;
Do we need write and read bit or can it just be write bit?  Is that in case blending is enabled, we can read from the color attachment?
This dependency is for the intermediate color attachments used in subpass 0 (e.g. the input attachments)?
Also:
dependencies[0].dstSubpass = 0;
Should this be:
dependencies[0].dstSubpass = 1;
?
the first subpass writes to an intermediate color attachment, not the swapchain image...

Should this be depencies[2].srcSubpass = 1?
In other words, we transition the color attachment of subpass 1 from color attachment write to memory read?

No, the attachment is written in subpass 0 and read in subpass 1.


gender inclusive language

change "her" to "them"

@emberstevens : Thanks for your contribution! The author, @jeevansd, has been notified to review your proposed change.

Placeholder name "Britta Simon" isn't gender-neutral, so updated gender-neutral pronoun does not correspond. Please replace with non gender-specific placeholder.

#sign-off

@ktoliver : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Resolved merge conflict. Adjusted gender-inclusive language so that the pronoun doesn't conflict with the traditionally female-gendered name "Britta."


Gazebo crashing while training RL agent

I have been working with the WAM-V using VRX (Gazebo) along with OpenAI Gym to train a series of actions, and I came across the problem described in this PR #706. I implemented the proposed changes in my setup, but unfortunately, I am still facing the issue.
I am using the same version of Gazebo mentioned in this PR and have tested the WAM-V in the sydney_regatta world. Despite the WAM-V holding up for more training steps, I still experience the same error.
I wonder if you could consider reopening this case or provide me with additional guidance on how I might resolve this issue.
I am willing to collaborate on any further testing or in solving this problem if necessary. I greatly appreciate your help and your work on this project.
Thanks!

Yes, we can reopen the issue if it hasn't been fully resolved. Could you please provide the steps you're taking to reproduce the bug?

Closing this but feel free to reopen with instructions to reproduce the bug.


recursion . cpp

Good evening sir .
I have changed the file name . Please accept it .
On Wed, Oct 19, 2022, 8:12 PM Ayush Singh @.***> wrote:

Merged #127
https://github.com/TecHAyusH6476/DSA-Prep-HacktoberFest22/pull/127 into
main.
—
Reply to this email directly, view it on GitHub
https://github.com/TecHAyusH6476/DSA-Prep-HacktoberFest22/pull/127#event-7622369755,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3CGUXBL2EJJKC233NN22HTWEACFXANCNFSM6AAAAAARJGJYEU
.
You are receiving this because you authored the thread.Message ID:
<TecHAyusH6476/DSA-Prep-HacktoberFest22/pull/127/issue_event/7622369755@
github.com>

@NupurHardiya I have mailed the evaluators , they will include this repo in few days.
I have one friend who is moderator in HacktoberFest so dont worry we have connections in github 😆 xd.


Admin area shifts dropdown alphabetize

When we create a shift in the admin area make all dropdowns alphabetical order. dont mix available and unavailable

user dropdown should already be in alphabetical order. time period should be sorted by date

Fixed