text:
Add themes/base.theme.bash to clean files

Description
Review with ?w=1.

Add themes/base.theme.bash to clean files
Run code fomatter for themes/base.theme.bash
Fix shellcheck warnings for themes/base.theme.bash
Fix shellcheck header script to consider multiple lines

Motivation and Context
I've picked this file because it is the file with most changes (commits, at least) based on:
git log --name-only --pretty="format:" | grep -v -e "^[[:space:]]*$" | sort | uniq -c | sort

I thought about adding other files, but that would probably make it harder to review.
How Has This Been Tested?
Besides running the bats tests locally, I've manually tested that the most significant in isolation (checking they are resulting in the same effect as before).
Screenshots (if appropriate):
Types of changes

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

Checklist:

[x] My code follows the code style of this project.
[x] If my change requires a change to the documentation, I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] If I have added a new file, I also added it to clean_files.txt and formatted it using lint_clean_files.sh.
[x] I have added tests to cover my changes, and all the new and existing tests pass.

Thanks for reviewing, @NoahGorny and @davidpfarrell. I've removed the changes in dots-bash.sh.

Thanks for reviewing, @NoahGorny and @davidpfarrell. I've removed the changes in dots-bash.sh.

Thanks, @NoahGorny. So, I can invest some more time in this cleanup task, but perhaps just prioritizing files that have many changes isn't the better way to do it, right?
Are there any specific areas where you think it would be more relevant now?

Thanks, @NoahGorny. So, I can invest some more time in this cleanup task, but perhaps just prioritizing files that have many changes isn't the better way to do it, right?
Are there any specific areas where you think it would be more relevant now?

Thanks, @NoahGorny. So, I can invest some more time in this cleanup task, but perhaps just prioritizing files that have many changes isn't the better way to do it, right?
Are there any specific areas where you think it would be more relevant now?

I think that going after the core files, like the file you fixed here, is a great idea. Just make sure there is no pending PRs for the file, and lint away :smile:
For hints, I think bash_it.sh is a challenging file worth cleaning up, also the lib directory contains important files.
Thank you for doing this @marcospereira !

Thanks, @NoahGorny. So, I can invest some more time in this cleanup task, but perhaps just prioritizing files that have many changes isn't the better way to do it, right?
Are there any specific areas where you think it would be more relevant now?

I think that going after the core files, like the file you fixed here, is a great idea. Just make sure there is no pending PRs for the file, and lint away :smile:
For hints, I think bash_it.sh is a challenging file worth cleaning up, also the lib directory contains important files.
Thank you for doing this @marcospereira !

authors: NoahGorny marcospereira

repo: Bash-it/bash-it


text:
fix: adding information about delay it tokens in list and search

Description

Documenting the slight delay in tokens availability in listing and search

Testing required outside of automated testing?

[ ] Not Applicable

Screenshots (if appropriate):

[ ] Not Applicable

Rollback / Rollforward Procedure

[ ] Roll Forward
[ ] Roll Back

Reviewer Checklist

[ ] Description of Change
[ ] Description of outside testing if applicable.
[ ] Description of Roll Forward / Backward Procedure
[ ] Documentation updated for Change

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

source: gharchive/pull-request

license_type: permissive

license_source: github-api


text:
Adding Fast Quadric Mesh Simplification support

Working on implementing this really cool piece of tech:
https://github.com/sp4cerat/Fast-Quadric-Mesh-Simplification
This takes in a mesh, optimizes the vertices and faces to a reduction factor and gives you a resulting mesh.
Note that due to the way meshes are loaded into Godot multi material meshes will always have seam issues. But in combination with game optimization turning a mesh into a single material mesh with all textures baked into one this will be a powerful automatic LOD tool.
Lots of work left to be done. Need to remove duplicate vertices to solve seam issues. Have to add texture coordinates, etc.

UVs and seams work fine now, last thing to do is normals :)

OK I have normals and tangents working though tangents seem inverted somehow (or maybe they are wrong on the source object). I think it's time to merge this

repo: BastiaanOlij/gdprocmesh

license: MIT


text:
Can't export the model posterior to the anndata object

Hi,
I am running cell2fate on a M1 MBP and as you know NVIDIA GPU, CUDA with Pytorch will not work in ARM Macs. I can train the model [mod.train()], the following message appears:
GPU available: False, used: False
TPU available: False, using: 0 TPU cores
IPU available: False, using: 0 IPUs
But when I export the model posterior to the anndata object with adata = mod.export_posterior(adata), I get the following issue:
AssertionError                            Traceback (most recent call last)
Cell In[17], line 1
----> 1 adata = mod.export_posterior(adata)
File ~/opt/anaconda3/envs/cell2fate_env/lib/python3.9/site-packages/cell2fate/_cell2fate_DynamicalModel.py:290, in Cell2fate_DynamicalModel.export_posterior(self, adata, sample_kwargs, export_slot, full_velocity_posterior, normalize)
286     sample_kwargs['batch_size'] = adata.n_obs
288 # generate samples from posterior distributions for all parameters
289 # and compute mean, 5%/95% quantiles and standard deviation
--> 290 self.samples = self.sample_posterior(**sample_kwargs)
292 # export posterior distribution summary for all parameters and
293 # annotation (model, date, var, obs and cell type names) to anndata object
294 adata.uns[export_slot] = self._export2adata(self.samples)
File ~/opt/anaconda3/envs/cell2fate_env/lib/python3.9/site-packages/scvi/model/base/_pyromixin.py:483, in PyroSampleMixin.sample_posterior(self, num_samples, return_sites, use_gpu, batch_size, return_observed, return_samples, summary_fun)
436 """
437 Summarise posterior distribution.
438
(...)
480 to keep all model-specific variables in one place.
481 """
482 # sample using minibatches (if full data, data is moved to GPU only once anyway)
--> 483 samples = self._posterior_samples_minibatch(
484     use_gpu=use_gpu,
485     batch_size=batch_size,
486     num_samples=num_samples,
487     return_sites=return_sites,
488     return_observed=return_observed,
489 )
491 param_names = list(samples.keys())
492 results = dict()
File ~/opt/anaconda3/envs/cell2fate_env/lib/python3.9/site-packages/cell2fate/_cell2fate_DynamicalModel.py:796, in Cell2fate_DynamicalModel._posterior_samples_minibatch(self, use_gpu, batch_size, **sample_kwargs)
779 """
780 Temporary solution for batch sampling problem.
781
(...)
792 dictionary {variable_name: [array with samples in 0 dimension]}
793 """
794 samples = dict()
--> 796 _, device = parse_use_gpu_arg(use_gpu)
798 batch_size = batch_size if batch_size is not None else settings.batch_size
800 train_dl = AnnDataLoader(
801     self.adata_manager, shuffle=False, batch_size=batch_size
802 )
File ~/opt/anaconda3/envs/cell2fate_env/lib/python3.9/site-packages/scvi/model/_utils.py:40, in parse_use_gpu_arg(use_gpu, return_device)
38     device = torch.device("cpu")
39 elif (use_gpu is None and gpu_available) or (use_gpu is True):
---> 40     current = torch.cuda.current_device()
41     device = torch.device(current)
42     gpus = [current]
File ~/opt/anaconda3/envs/cell2fate_env/lib/python3.9/site-packages/torch/cuda/init.py:481, in current_device()
479 def current_device() -> int:
480     r"""Returns the index of a currently selected device."""
--> 481     _lazy_init()
482     return torch._C._cuda_getDevice()
File ~/opt/anaconda3/envs/cell2fate_env/lib/python3.9/site-packages/torch/cuda/init.py:210, in _lazy_init()
206     raise RuntimeError(
207         "Cannot re-initialize CUDA in forked subprocess. To use CUDA with "
208         "multiprocessing, you must use the 'spawn' start method")
209 if not hasattr(torch._C, '_cuda_getDeviceCount'):
--> 210     raise AssertionError("Torch not compiled with CUDA enabled")
211 if _cudart is None:
212     raise AssertionError(
213         "libcudart functions unavailable. It looks like you have a broken build?")
AssertionError: Torch not compiled with CUDA enabled
Looks like I could edit some of the functions to not expect the usage of CUDA, but I am not sure where that should be done. If you could please help me, I would love to be able to use this package in my data. Thanks!

Hello @joaoufrj,
Could you please try setting the use_gpu argument to False in the sample_kwargs as follows:
sample_kwarg = {"num_samples": 20, "batch_size" : 2000,
                         "use_gpu" : False, 'return_samples': True}

adata = mod.export_posterior(adata, sample_kwargs=sample_kwarg)

With this change, you should be able to export posteriors without using CUDA.

source: gharchive/issue

authors: joaoufrj sezginerr


text:
AttributeError: module 'cell2location' has no attribute 'run_cell2location'

[x] I have confirmed this bug exists on the latest version of cell2location. See https://github.com/BayraktarLab/cell2location#installation
[ ] I follow the instructions from the scvi-tools tutorial.

Note: Please read this guide detailing how to provide the necessary information for us to reproduce your bug.
Minimal code sample (that we can run without your data, using public data)
Hi，guys！
When I run the official process ( https://cell2location.readthedocs.io/en/latest/notebooks/cell2location_short_demo.html),
I meet the trouble: AttributeError: module 'cell2location' has no attribute 'run_cell2location'.
I install it according to the official website(https://github.com/BayraktarLab/cell2location).
import sys
import scanpy as sc
import anndata
import pandas as pd
import numpy as np
import os
import gc
import cell2location
import matplotlib as mpl
from matplotlib import rcParams
import matplotlib.pyplot as plt
import seaborn as sns
import warnings
warnings.filterwarnings('ignore')

#The official website process has been omitted( https://cell2location.readthedocs.io/en/latest/notebooks/cell2location_short_demo.html)

sc.settings.set_figure_params(dpi = 100, color_map = 'viridis', dpi_save = 100,
                              vector_friendly = True, format = 'pdf',
                              facecolor='white')

r = cell2location.run_cell2location(

      # Single cell reference signatures as pd.DataFrame
      # (could also be data as anndata object for estimating signatures
      #  as cluster average expression - `sc_data=adata_snrna_raw`)
      sc_data=inf_aver,
      # Spatial data as anndata object
      sp_data=adata_vis,

      # the column in sc_data.obs that gives cluster idenitity of each cell
      summ_sc_data_args={'cluster_col': "annotation_1",
                        },

      train_args={'use_raw': True, # By default uses raw slots in both of the input datasets.
                  'n_iter': 40000, # Increase the number of iterations if needed (see QC below)

                  # Whe analysing the data that contains multiple experiments,
                  # cell2location automatically enters the mode which pools information across experiments
                  'sample_name_col': 'sample'}, # Column in sp_data.obs with experiment ID (see above)

      export_args={'path': results_folder, # path where to save results
                   'run_name_suffix': '' # optinal suffix to modify the name the run
                  },

      model_kwargs={ # Prior on the number of cells, cell types and co-located groups

                    'cell_number_prior': {
                        # - N - the expected number of cells per location:
                        'cells_per_spot': 8, # < - change this
                        # - A - the expected number of cell types per location (use default):
                        'factors_per_spot': 7,
                        # - Y - the expected number of co-located cell type groups per location (use default):
                        'combs_per_spot': 7
                    },

                     # Prior beliefs on the sensitivity of spatial technology:
                    'gene_level_prior':{
                        # Prior on the mean
                        'mean': 1/2,
                        # Prior on standard deviation,
                        # a good choice of this value should be at least 2 times lower that the mean
                        'sd': 1/4
                    }
      }
)

sc.logging.print_versions()

anndata     0.8.0
scanpy      1.9.1
PIL                 9.2.0
absl                NA
asttokens           NA
attr                22.1.0
backcall            0.2.0
beta_ufunc          NA
binom_ufunc         NA
cell2location       NA
cffi                1.15.1
chex                0.1.4
colorama            0.4.5
cycler              0.10.0
cython_runtime      NA
dateutil            2.8.2
decorator           5.1.1
defusedxml          0.7.1
deprecate           0.3.2
docrep              0.3.2
entrypoints         0.4
etils               0.7.1
executing           0.10.0
flax                0.6.0
fsspec              2022.7.1
google              NA
h5py                3.7.0
hypergeom_ufunc     NA
igraph              0.9.11
ipykernel           6.15.1
ipython_genutils    0.2.0
ipywidgets          7.7.1
jax                 0.3.16
jaxlib              0.3.15
jedi                0.18.1
joblib              1.1.0
kiwisolver          1.4.4
leidenalg           0.8.10
llvmlite            0.39.0
matplotlib          3.5.3
matplotlib_inline   0.1.5
mpl_toolkits        NA
msgpack             1.0.4
mudata              0.2.0
multipledispatch    0.6.0
natsort             8.1.0
nbinom_ufunc        NA
ncf_ufunc           NA
numba               0.56.0
numpy               1.22.4
numpyro             0.10.0
opt_einsum          v3.3.0
optax               0.1.3
packaging           21.3
pandas              1.4.3
parso               0.8.3
pexpect             4.8.0
pickleshare         0.7.5
pkg_resources       NA
prompt_toolkit      3.0.30
psutil              5.9.1
ptyprocess          0.7.0
pure_eval           0.2.2
pycparser           2.21
pygments            2.13.0
pynndescent         0.5.7
pyparsing           3.0.9
pyro                1.8.1
pytorch_lightning   1.6.5
pytz                2022.2.1
rich                NA
scipy               1.9.0
scvi                0.17.1
seaborn             0.11.2
session_info        1.0.0
setuptools          65.0.1
six                 1.16.0
sklearn             1.1.2
stack_data          0.4.0
statsmodels         0.13.2
tensorboard         2.9.0
texttable           1.6.4
threadpoolctl       3.1.0
toolz               0.12.0
torch               1.12.1+cu102
torchmetrics        0.9.3
tornado             6.2
tqdm                4.64.0
traitlets           5.3.0
tree                0.1.7
typing_extensions   NA
umap                0.5.3
wcwidth             0.2.5
yaml                6.0
zipp                NA
zmq                 23.2.1
IPython             8.4.0
jupyter_client      7.3.4
jupyter_core        4.11.1
notebook            6.4.12
Python 3.9.13 | packaged by conda-forge | (main, May 27 2022, 16:58:50) [GCC 10.3.0]
Linux-3.10.0-957.el7.x86_64-x86_64-with-glibc2.17
Session information updated at 2022-09-12 17:53

##

AttributeError                            Traceback (most recent call last)
Input In [19], in <cell line: 1>()
----> 1 r = cell2location.run_cell2location(
      2
      3       # Single cell reference signatures as pd.DataFrame
      4       # (could also be data as anndata object for estimating signatures
      5       #  as cluster average expression - `sc_data=adata_snrna_raw`)
      6       sc_data=inf_aver,
      7       # Spatial data as anndata object
      8       sp_data=adata_vis,
      9
     10       # the column in sc_data.obs that gives cluster idenitity of each cell
     11       summ_sc_data_args={'cluster_col': "annotation_1",
     12                         },
     13
     14       train_args={'use_raw': True, # By default uses raw slots in both of the input datasets.
     15                   'n_iter': 40000, # Increase the number of iterations if needed (see QC below)
     16
     17                   # Whe analysing the data that contains multiple experiments,
     18                   # cell2location automatically enters the mode which pools information across experiments
     19                   'sample_name_col': 'sample'}, # Column in sp_data.obs with experiment ID (see above)
     20
     21
     22       export_args={'path': results_folder, # path where to save results
     23                    'run_name_suffix': '' # optinal suffix to modify the name the run
     24                   },
     25
     26       model_kwargs={ # Prior on the number of cells, cell types and co-located groups
     27
     28                     'cell_number_prior': {
     29                         # - N - the expected number of cells per location:
     30                         'cells_per_spot': 8, # < - change this
     31                         # - A - the expected number of cell types per location (use default):
     32                         'factors_per_spot': 7,
     33                         # - Y - the expected number of co-located cell type groups per location (use default):
     34                         'combs_per_spot': 7
     35                     },
     36
     37                      # Prior beliefs on the sensitivity of spatial technology:
     38                     'gene_level_prior':{
     39                         # Prior on the mean
     40                         'mean': 1/2,
     41                         # Prior on standard deviation,
     42                         # a good choice of this value should be at least 2 times lower that the mean
     43                         'sd': 1/4
     44                     }
     45       }
     46 )

AttributeError: module 'cell2location' has no attribute 'run_cell2location'

I am getting the same error message. Were you able to find a solution?

I am getting the same error message. Were you able to find a solution?

Sorry, I still have no idea (@_@).


text:
Fix HF section

Checkout Points

[ ] Check if renaming to PoC done

[ ] Check if changing icons(5) done

[ ] Check if adding HF to menu(in dropdown and footer) done

Suggestion

Suggest better approach

can you send a screenshot of the 2023 and 2024 roadmap to confirm changes? Ty

check this plz

screenshot please ^^

authors: Maxnflaxl messiisgreat

repo: BeamMW/beam-web


text:
Add Ma'aruf Muhammad to Before I Die

I am adding Ma'aruf Muhammad to Before I Die with images and text

I am adding Ma'aruf Muhammad to Before I Die with images and text

Hi @Rockleemode,
Thank you for taking the time to contribute and share your aspirations on what you would like to do before you pass away. I kindly request you to run your React localhost on your local server to see your contributions working. Currently, we are encountering an error with the preview deployment that is related to the React version being used. To make this process smoother, please go through your code again, ensure that you can see your code working on your development server, and then recommit. I may have to go through the code manually to avoid the error of dependencies being shown in the terminal. I will merge your code as soon as possible. However, if you could assist me by running your code on your local server and recommitting it within the next ten hours, it would be greatly appreciated as it will save me time when reviewing. Thank you, @Rockleemode, and have a great day!
Xander

Details

Yes, please go ahead @Rockleemode. Thank you for your patience, and I apologies for having to ask. I think after several pull requests we merged, it might have changed the package.json file recently from the main, and this is causing an issue when deploying from new contributors as I'm now seeing the same issue from another pull request and will need to dive further into the issue. For now, recommit and we will see if this possibly helps with the preview deployment. Thank you!

authors: Rockleemode XanderRubio

repo: BeforeIDieCode/BeforeIDieAchievements


text:
Added profile for Brian Greig

Added profile and pictures

Also, @ignoreintuition if you have a LinkedIn let me know the link so I can mention you in our next Thank You Contributors post. Thank you!

Also, @ignoreintuition if you have a LinkedIn let me know the link so I can mention you in our next Thank You Contributors post. Thank you!

Absolutely @XanderRubio it's https://www.linkedin.com/in/bgreig/

authors: XanderRubio ignoreintuition


text:
Missing step does not exit with non-zero CLI code

CLI ouput like:
Feature: Checkbox
  Scenario:                                    # tests-behat/checkbox.feature:3
    Given I am on "form-control/checkbox.php"  # Behat\MinkExtension\Context\MinkContext::visit()
    ...
    Then Toast display should contain text '...'

1 scenario (1 undefined)
8 steps (2 passed, 2 undefined, 4 skipped)
0m1.86s (12.32Mb)

 >> <snippet_undefined><snippet_keyword>main</snippet_keyword> suite has undefined steps.
Please choose the context to generate snippets:</snippet_undefined>

  [0] None
  [1] Behat\MinkExtension\Context\MinkContext
  [2] Atk4\Ui\Behat\Context

--- Behat\MinkExtension\Context\MinkContext has missing steps. Define them with these snippets:

    /**
     * @Then Toast display should contain text :arg4
     */
    public function toastDisplayShouldContainText($arg1, $arg2, $arg3, $arg4): void
    {
        throw new PendingException();
    }

silently exists with zero CLI exit code making it very hard to fail CI.

This is already partially possible in Behat. The --strict option will consider that skipped or pending scenarios should make the run use a failure exit code.
Maybe we need a third way of interpreting results which would allow skipped scenarios but reject pending ones.

Thank you very much for meantioning the --strict option - it does exactly what I want.
I personally would make it default, as CI should fail in case of undefined steps.

authors: mvorisek stof

repo: Behat/Behat

license: mit

license_source: bigquery


text:
Update syntax

all of these example got syntax error . How can I run on new version of Proverif Online ?

Did you get any code for the new version?

authors: SairamShanmuganathan ghost

repo: BenJam/proverif

license: Unlicense


text:
conditional conjugation

added conjugation for conditional tense.

Looks great, thanks so much for the work!

Happy to help!!

authors: Benedict-Carling shrutiichandra

repo: Benedict-Carling/spanish-conjugator


text:
Key duplicated on Windows

Environment

name
version

IDEA version
2021.1.2  Build #IU-211.7442.40

Luanalysis version
v1.2.3

OS
Windows 10

What are the steps to reproduce this issue?

Install Luanalysis
Restart the idea

What happens?
The idea does not start and show a critical error.
What were you expecting to happen?
Having the IDEA starting properly.
Any logs, error output, etc?
2021-06-05 15:28:08,486 [   1288]   INFO -                         STDERR - Start Failed
2021-06-05 15:28:08,486 [   1288]   INFO -                         STDERR - Internal error. Please refer to https://jb.gg/ide/critical-startup-errors
2021-06-05 15:28:08,486 [   1288]   INFO -                         STDERR -
2021-06-05 15:28:08,486 [   1288]   INFO -                         STDERR - java.util.concurrent.CompletionException: org.picocontainer.PicoRegistrationException: Key com.tang.intellij.lua.luacheck.LuaCheckSettings duplicated
2021-06-05 15:28:08,486 [   1288]   INFO -                         STDERR - 	at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314)
2021-06-05 15:28:08,486 [   1288]   INFO -                         STDERR - 	at java.base/java.util.concurrent.CompletableFuture.uniApplyNow(CompletableFuture.java:683)
2021-06-05 15:28:08,487 [   1289]   INFO -                         STDERR - 	at java.base/java.util.concurrent.CompletableFuture.uniApplyStage(CompletableFuture.java:658)
2021-06-05 15:28:08,487 [   1289]   INFO -                         STDERR - 	at java.base/java.util.concurrent.CompletableFuture.thenApply(CompletableFuture.java:2094)
2021-06-05 15:28:08,487 [   1289]   INFO -                         STDERR - 	at com.intellij.idea.ApplicationLoader.registerAppComponents(ApplicationLoader.kt:104)
2021-06-05 15:28:08,487 [   1289]   INFO -                         STDERR - 	at com.intellij.idea.ApplicationLoader.executeInitAppInEdt(ApplicationLoader.kt:63)
2021-06-05 15:28:08,487 [   1289]   INFO -                         STDERR - 	at com.intellij.idea.ApplicationLoader.access$executeInitAppInEdt(ApplicationLoader.kt:1)
2021-06-05 15:28:08,487 [   1289]   INFO -                         STDERR - 	at com.intellij.idea.ApplicationLoader$initApplication$1$1.run(ApplicationLoader.kt:363)
2021-06-05 15:28:08,487 [   1289]   INFO -                         STDERR - 	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
2021-06-05 15:28:08,487 [   1289]   INFO -                         STDERR - 	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
2021-06-05 15:28:08,487 [   1289]   INFO -                         STDERR - 	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
2021-06-05 15:28:08,487 [   1289]   INFO -                         STDERR - 	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
2021-06-05 15:28:08,487 [   1289]   INFO -                         STDERR - 	at java.base/java.security.AccessController.doPrivileged(Native Method)
2021-06-05 15:28:08,487 [   1289]   INFO -                         STDERR - 	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
2021-06-05 15:28:08,487 [   1289]   INFO -                         STDERR - 	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
2021-06-05 15:28:08,487 [   1289]   INFO -                         STDERR - 	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
2021-06-05 15:28:08,487 [   1289]   INFO -                         STDERR - 	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
2021-06-05 15:28:08,487 [   1289]   INFO -                         STDERR - 	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
2021-06-05 15:28:08,487 [   1289]   INFO -                         STDERR - 	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
2021-06-05 15:28:08,487 [   1289]   INFO -                         STDERR - 	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
2021-06-05 15:28:08,487 [   1289]   INFO -                         STDERR - 	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
2021-06-05 15:28:08,487 [   1289]   INFO -                         STDERR - Caused by: org.picocontainer.PicoRegistrationException: Key com.tang.intellij.lua.luacheck.LuaCheckSettings duplicated
2021-06-05 15:28:08,487 [   1289]   INFO -                         STDERR - 	at com.intellij.util.pico.DefaultPicoContainer.registerComponent(DefaultPicoContainer.java:119)
2021-06-05 15:28:08,487 [   1289]   INFO -                         STDERR - 	at com.intellij.serviceContainer.ComponentManagerImpl.registerServices(ComponentManagerImpl.kt:400)
2021-06-05 15:28:08,487 [   1289]   INFO -                         STDERR - 	at com.intellij.serviceContainer.ComponentManagerImpl.registerComponents(ComponentManagerImpl.kt:250)
2021-06-05 15:28:08,487 [   1289]   INFO -                         STDERR - 	at com.intellij.idea.ApplicationLoader$registerAppComponents$1.apply(ApplicationLoader.kt:106)
2021-06-05 15:28:08,487 [   1289]   INFO -                         STDERR - 	at com.intellij.idea.ApplicationLoader$registerAppComponents$1.apply(ApplicationLoader.kt)
2021-06-05 15:28:08,487 [   1289]   INFO -                         STDERR - 	at java.base/java.util.concurrent.CompletableFuture.uniApplyNow(CompletableFuture.java:680)
2021-06-05 15:28:08,487 [   1289]   INFO -                         STDERR - 	... 19 more
2021-06-05 15:28:08,487 [   1289]   INFO -                         STDERR -
2021-06-05 15:28:08,488 [   1290]   INFO -                         STDERR - -----

Getting the same problem on Debian GNU/Linux 10 (buster)

@kerwanp I believe this occurs when you have both Luanalysis and EmmyLua installed simultaneously.
Luanalysis was forked from EmmyLua. The initial goal was to contribute everything upstream, so EmmyLua's settings (and storage there-of) were left unaltered. However, since then, Luanalysis' internals have diverged quite considerably from EmmyLua. At this pointit would be wise for me to go back through and stop making use of the com.tang.intellij.lua scope, which quite rightly belongs to EmmyLua.
For now, please ensure EmmyLua is not installed alongside Luanalysis.

That was the point, closing the issue.

authors: Benjamin-Dobell kerwanp

repo: Benjamin-Dobell/IntelliJ-Luanalysis


text:
Check easily up to when histories go?

Concerning Note to Self it is the same date as on on my Linux Mint 22 Cinnamon Framework 13 that is about:
date -d @1650663424

Fri Apr 22 11:37:04 PM CEST 2022

Would help Benjamin-Loison/android/issues/46.
On computer can use Export Chat.

Download
https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1
In the installer menu, select "gcc."

authors: Benjamin-Loison esttemanb

repo: Benjamin-Loison/element-android


text:
Anti-Features seem to hide by default in F-Droid the app when search it

Related to Benjamin_Loison/fdroiddata/issues/8.

Maybe it is because Organic Maps seems to have intermediary servers in comparison with OpenStreetMap.

https://f-droid.org/en/docs/Anti-Features/#NonFreeNet
https://f-droid.org/en/docs/Anti-Features/#TetheredNet

See fdroid/fdroiddata/issues/3442.

repo: Benjamin-Loison/organicmaps


text:
Added github corner to profile

Using tholman/github-corner, added a small graphic to top right of index.html that will take users to the GitHub repo for the project

great 👍


text:
[code_text_field]

Hello,
I want to get changing value of code snippet.
Is there any way to get it?
For example, the initial code snippet is 'print("hello python")', and I add 'print("HWY")'.
Then, How can I get the value of 'print("hello python") print("HWY")'?

I figured it out.
Thanks :)


text:
How to solve the SNI setting on a client

I found that the error occurs when a client with SNI configured connects.
2024-11-02T17:03:59.352264Z  WARN rustls::msgs::handshake: Illegal SNI hostname received "xxx.xxx.xxx.xxx"
2024-11-02T17:03:59.352379Z DEBUG quinn_proto::endpoint: handshake failed: the cryptographic handshake failed: error 50: received corrupt message of type InvalidServerName

xxx.xxx.xxx.xxx: The IP address of the actual server.
If this hostname was localhost, it could be solved.
Can this problem be solved with existing options?
Thank you!

Can you please provide more details?

How client SNI is set? (E.g., how [wtransport::Endpoint::connect](https://docs.rs/wtransport/latest/wtransport/
struct.Endpoint.html#method.connect) is called?)
Are those logs from server?

repo: BiagioFesta/wtransport


text:
Add sounds

add sounds to following actions:

[ ] exploration
[ ] hex travel

[ ] Lords sound (like resources sound)
[ ]  Level UP sound

[ ] running sound

fixed in #485

repo: BibliothecaDAO/eternum


text:
Id6 Samsung s23 ultra connection issues

Hello! I am having issues connecting my phone to the car, and app. I have the connected drive subscription. Everything connected except the last options which is usb not in transfer mode. But it IS in transfer mode. I attached pictures.
I'm aware of the app protection that the s23 ultra has. I have done all the app permission settings I've seen in the other chats.

I would like to thank the creators as well.. lol first time user and I think this is the best thing that has happened to bmw. I just wish it would work for me. I paid $150 for the bmw connect to drive subscription just so I can take advantage of this app.. 😭

USB mode is flaky with MyBMW, if you want to use it you should use BMW Connected 6.4.
For Bluetooth, make sure the car shows the Apps option when pairing a new mobile device. If the Apps option is missing, then your ConnectedDrive subscription isn't active yet or maybe the functionality is under a different subscription level.

I tried downloading the apk file for the connect drive app 6.4. It does nothing

Yes that is correct. It just needs to be installed, and it will attempt any car connection in the background.
If your car supports the connection tho. Have you verified that the Apps option shows when you go to Pair a new device?

Yes that is correct. It just needs to be installed, and it will attempt any car connection in the background. If your car supports the connection tho. Have you verified that the Apps option shows when you go to Pair a new device?

https://github.com/user-attachments/assets/3595c933-2105-4214-aec0-d4b546a02155
Idk if you can upload videos here. But if you can see it.. you can see the apps option is flickering.. should I uninstall the my bmw app?
Thank you for your help, I hope I get this solved 😭

Tha flickering is what I see when MyBMW tries to run over USB. I don't know why your MyBMW is acting weird over Bluetooth, perhaps it is confused by also having USB plugged in, and you should eliminate extra variables by trying one connection at a time.

authors: Evanalfredd hufman

repo: BimmerGestalt/AAIdrive


text:
可否利用 cssClass 来给特定md文件应用 css 样式？

Obsidian 支持 cssClass，只要在 markdown 文件的 frontmatter 上加上 cssClasses信息，就不会将 css snippet 应用到整个 vault 的文件上了。也就不需要额外创建一个 vault 管理简历了。
可以参考这里： https://forum.obsidian.md/t/css-for-specific-pages/13913

感谢建议！确实是更好的处理方式

我尝试了一下在最外层套了个 .resume class，发现有一部分元素不起作用，对 css 不是很熟悉，没找到问题在哪里。

我尝试了一下在最外层套了个 .resume class，发现有一部分元素不起作用，对 css 不是很熟悉，没找到问题在哪里。

body 之外套一层类选择器是无效的，把 .resume 放到除了 body 之外的地方，也就是在 @media print { 这一行到最后的外面套上一层

我尝试了一下在最外层套了个 .resume class，发现有一部分元素不起作用，对 css 不是很熟悉，没找到问题在哪里。

body 之外套一层类选择器是无效的，把 .resume 放到除了 body 之外的地方，也就是在 @media print { 这一行到最后的外面套上一层

试了一下，确实可以了👍

使用 cssClass 来应用样式时，渲染和导出的效果会受已有的主题样式和 snippets 的影响，且使用 cssClass 导出的效果与原来有出入(#11)，因此暂时不考虑支持 cssClass，还是推荐使用独立 vault

authors: YiNNx thewangcj zhaohongxuan

repo: BingyanStudio/LapisCV


text:
Incorrect resample-image -size option help

The default is the input voxel size, not constant 1 1 1.
See https://github.com/BioMedIA/MIRTK/blob/463d90ac6145be7627bb240dae5649eddf1eebb6/Applications/src/resample-image.cc#L60.

Fixed by 9482b884c8022bbcc1fd4f85dd702a48dfad45d1.

repo: BioMedIA/MIRTK


text:
Related taxons

Q
A

Bug fix?
yes

New feature?
yes

BC breaks?
no

Deprecations?
no

Related tickets
fixes #X, partially #Y, mentioned in #Z

License
MIT

Related taxons to block
Added the feature for adding related taxons to block. This is usefull for some like if you wan't to create sliders for selected taxons on the homepage.
{% for taxon in block.taxons %}

{{ block.name }}

{{ block.content|raw }}

    {{ render(url('sylius_shop_partial_product_index_by_taxon_code', {'code': taxon.code, 'count': 16, 'template': '@SyliusShop/Product/Slider/_productSlider.html.twig'})) }}
{% endfor %}

Removed constraint for Sylius v1.4
I could not install the bitbag cms plugin for my v1.3 app anymore, and I believe there was no reason to constraint it to v1.4, as the plugin seem to work fine with my 1.3 app.
Fixed a mistake I made
I removed the parent from the repositories as it seemed to not break anything, it did tho, so I reverted it.

Hello Peteck! Do you think you might be able to provide Behat scenarios & Specs to cover these features?

Yes. I will make some :-)

I've only made specs for the reason that there only exist specs for associated products, channels and sections.

Hi there! By any chance - could you upgrade the PR?

authors: Peteck bitbager

repo: BitBagCommerce/SyliusCmsPlugin


text:
Unit test mocked for SLP txDetails route

Gabriel asked me to go back and add unit test mocking for the failing txDetails route. As laid out in Issue #415, this required a different approach to the mocks because slpjs is now a dependency-of-a-dependency and can not be mocked out using proxyquire as done before.
Here is the new code path relationship between rest, SLP-SDK, and slpjs:

The slp.ts route requires slp-sdk, which is a class.
slp-sdk is instantiated.
slp.js is a property of the instantiated slp-sdk object.
Inside the txDetails route, the slpjs.BitboxNetwork class is then instantiated as tmpbitboxNetwork (and slp-sdk class is passed to it as an instance of BITBOX class)
tmpbitboxNetwork.getTransactionDetails() is then called

That's a very complex code path, and as a result is very difficult to mock for a unit test.
Therefore, I cheated. The final call (which is where the error originates) is this line, which calls the logic in the slpjs library:
https://github.com/Bitcoin-com/rest.bitcoin.com/blob/5a66d205edba3439151ae4a3477d3657cdd1e401/src/routes/v2/slp.ts#L1327
Therefore, I wrapped that line in a new function called getSlpjsTxDetails(). By wrapping it in a function, I could then use Sinon to stub out the function and replace the returned data with mocked data. This allows the unit test (the test for the code in rest) to pass.
It does not fix the error in slpjs. I'm still not sure what is causing that error, but I know it's not in the rest code base.

Pull Request Test Coverage Report for Build 2214

0 of 0   changed or added relevant lines in 0 files are covered.
120 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.08%) to 70.227%

Files with Coverage Reduction
New Missed Lines
%

dist/routes/v2/slp.js
120
49.79%

Totals

Change from base Build 2200:
0.08%

Covered Lines:
2053

Relevant Lines:
2727

💛  - Coveralls

authors: christroutner coveralls


text:
fix issue #49

fix issue #49

Hi @SunLn ! Thanks for dropping us the PR!
It was really helpful but the diff is too much and Carthage files should not be pushed to this repo.
So we can't merge this PR, sorry!
But we'll soon fix the problem you raised!

authors: SunLn usatie

repo: BitcoinCashKit/BitcoinKit


text:
Add testing steps & info for assumeutxo

As discussed in the Bitcoin Core App today, we should provide directions to test assumeutxo. This issue is meant to track that.
Please assign it to me, so I can figure this out and open a PR to add these steps to the Snapshot page of the website.

This info could go on the Snapshot page.

authors: GBKS yashrajd

repo: BitcoinDesign/Bitcoin-Core-App


text:
fix duplicate token_ids in batch transfer bug

Batch transfers could have duplicate token_ids as part of same log. This will break the primary key constraint in database (log_index, token_id, transaction_hash). This PR fixes the bug by adding up the amounts per token_id

Thanks @andschneider who brought up this bug!

repo: BitskiCo/ethereum-etl


text:
Percent encode parenthesis in URL when creating Markdown link

URL: https://www.wikiwand.com/en/Ring_(mathematics)
"Tab link -> Markdown":
[Ring (mathematics) - Wikiwand](https://www.wikiwand.com/en/Ring_(mathematics))
which caused problem in some Markdown parser
I recommends outputting this:
[Field (mathematics) - Wikiwand](https://www.wikiwand.com/en/Field_%28mathematics%29)

Also encode space as %20

This issue is more complicated than I thought.
I found that brackets are explicitly listed as reserved characters in the URL encoding.
A Markdown parser should have the ability to distinguish between URLs and Markdown syntax,
and if it can't, then it needs to be fixed.
This extension should not change the output for this particular case.

authors: BlackGlory leesei

repo: BlackGlory/copycat


text:
PSVita Android Game Ports with two START buttons

Hey there.
Sorry for being a hassle again.
I figured I would open a new issue, seeing as this is unrelated to the enhancement we were discussing.
Today I installed This War of Mine with the DLC "Stories" and realized that it has two different START buttons (each redirecting to a different portion of the game).
By default, HexFlow Custom launches the top one and even if I press the bottom one, it has no effect in changing the game.
Is there any hidden option to enable a non-automatic-start on a per-game basis or an option to stop auto-loading when there is more than one START instance that I'm missing?
Sorry for bothering you again.
Thank you in advance.
Best regards,
Bruno.

You are no hassle! I'll check this out on the weekend-

You are no hassle! I'll check this out on the weekend-

Well, I suppose I am, seeing as this is the second thing I ask of you. lol
Thank you for checking this out.
See you soon.
Bruno.

The 2nd 'start button' is actually just a banner. I might say split the app into 2 apps, but unfortunately the game only has one binary (the .bin file inside ux0:app/TWOM00000 ). The ability for HexFlow to use banners would be really complicated and I wouldn't really know a clean way to implement it (it would get messy for Japanese games which often have sooo many banners)

The 2nd 'start button' is actually just a banner. I might say split the app into 2 apps, but unfortunately the game only has one binary (the .bin file inside ux0:app/TWOM00000 ) so it would be a lot more entailed, for example, having to mess with all Rinne's code and compile to 2 binaries.
The ability for HexFlow to use banners would be really complicated and I wouldn't really know a clean way to implement it. It might be better to post it as an issue on TWOM to say like "Hey, if I have the game 1 open and hit the banner, make it close the game and run game 2" instead of keep playing game 1 which it seems to do"
Just closing the issue for now because it seems more of an issue with TWOM (I don't know any other games that have this issue, standard procedure is to have a little in-game mini-menu inside that lets you pick the game)

I see.
That's unfortunate, but not a big issue.
I have come across more Android ports that have multiple banners, but they are all "Configurator" banners rather than other portions of the games themselves, so nothing really relevant. The only one that has another game baked into it seems to be TWOM.
Thank you for your reply, nevertheless.
Unrelated to HexFlow, do you know if there is anyway I can create a custom PSVita Bubble that sets its main banner to the content of TWOM's secondary banner, as sort of a workaround?
(Kind of like creating a clone bubble, but redirecting its shorcuts, which I believe pointed to something like "psla:stories" or something)
Is this possible or would it require editing the eboot.bin?
If not at all possible, I will probably keep TWOM's bubble visible, along with HexFlow Custom.
Thank you once more for all of your help and the time you took to reply.
Best regards,
Bruno.

Actually I know a really easy way to solve this... 1 sec

Nope... For whatever reason it seems to refuse to launch directly by a separate bubble. You can find my attempt here:
https://www.mediafire.com/file/ylga5a2om8fv0zt/TWOM_Stories_Redirector_FAILED.vpk/file
Note: The apptitle is "Wordle" because I was too lazy to change it.
I'm not super passionate about getting it fixed, if you are, please go to the This War Of Mine Github page and open an issue:
Title: LUA Direct Launch
Text something like: I was trying to make a little separate bubble that could launch straight to TWOM:Stories (so it could easily be accessed by HexFlow Launcher) using your Lua Player Plus. I tried this:
System.executeUri("psgm:play?titleid=TWOM00000&param=stories")
but it doesn't seem to work. Do you know what would be able to launch into TWOM:Stories?
Not part of the text to put in the issue, this is just me talking: I really did try that but it didn't work. For the wordle thing I just made a copy of the TWOM game, stuffed it into a Wordle VPK (since that's the only homebrew I know that primarily uses PSLA: launch. If you want to try out LUA code, just put it in HexFlow Launcher Custom right below the area that says:
elseif (Controls.check(pad, SCE_CTRL_SELECT) and not Controls.check(oldpad, SCE_CTRL_SELECT)) then

(you may have to uncomment it, ex: remove the "--" at the start of the "elseif (Contro........" since it's probably commented out in the public version.

Hey there.
First of all, thank you for your help, input and attempts at solving this issue.
I do realize it's a TWOM issue and will follow your advice and open an issue there, to see what the dev can do about it, if anything.
I have no idea on how to launch TWOM:Stories other than the psla:stories redirection, unfortunately.
I am not familiar with LUA coding, but I guess I'll dive into it a bit and see if I can come up with something.
If I am able to boot it at all, even though I'm a novice to LUA and the coding might be rough, I'll be sure to share my findings with you, should anyone have a similar issue, thus allowing HexFlow Custom to have a workaround / fix for all thes multiple-banner apps.
Once again, I cannot thank you enough for the time spent on this.
See you soon.
Best regards,
Bruno.

I opened the issue here and will keep you posted if and when an answer comes along and if my findings come to fruition.
Thank you once again.
Best regards,
Bruno.

Technically, I wasn't planning to have HexFlow be able to launch the banner, it's just I could make a whole separate vpk (as you saw in the FAILED vpk I sent you) and I could just make it like HexFlow Launcher where it takes an index.lua, but the index.lua for that would be only like 2 lines of code, the system.launch(TWOM:stories)... and system.exit to close the redirector. Ex: The redirector would run on LUA like HexFlow does so it could easily be fixed if there's any further issues... I hope that would be a good solution?

I mean, anything works, really. Your solution is perfectly reasonable and seems like a good workaround.
Hopefully Rinne replies soon enough, so that some light can be shed on the matter.

Nope... For whatever reason it seems to refuse to launch directly by a separate bubble. The only hope might be indirectly (with LUA). You can find my direct attempt here:
https://www.mediafire.com/file/ylga5a2om8fv0zt/TWOM_Stories_Redirector_FAILED.vpk/file
Note: The apptitle is "Wordle" because I was too lazy to change it. I'm not super passionate about getting it fixed, if you are, please go to the This War Of Mine Github page and open an issue:
Title: LUA Direct Launch
Text something like: I was trying to make a little separate bubble that could launch straight to TWOM:Stories (so it could easily be accessed by HexFlow Launcher) using your Lua Player Plus. I tried this:
System.executeUri("psgm:play?titleid=TWOM00000&param=psla:stories")

but it doesn't seem to work. Do you know what would be able to launch into TWOM:Stories?
Not part of the text to put in the issue, this is just me talking: I really did try that but it didn't work. For the wordle thing I just made a copy of the TWOM game, stuffed it into a Wordle VPK (since that's the only homebrew I know that primarily uses PSLA: launch. If you want to try out LUA code, just put it in HexFlow Launcher Custom right below the area that says:
elseif (Controls.check(pad, SCE_CTRL_SELECT) and not Controls.check(oldpad, SCE_CTRL_SELECT)) then

(Example usage: remove the "--" at the start of the "elseif (Contro........", since it's meant for bugtesting and is commented out in the public version of HexFlow Custom, then in the next line put the "System.executeUri("psgm:play?titleid=TW.........." and you can try editting it in some ways to find a way that might work?)
Closing the issue for now as it has more to do with the weird way TWOM launches and would be more of an issue for their GitHub. If they say anything back, I'll see what I can do

Hey there again.
So, I am away from home right now, so I can't really check in my PSVita.
I just noted something in the VPK you compiled, while trying to come up with a solution or workaround.
Under settings.cfg, the enable_dlc is set to 0, rather than 1.
As far as I can tell, Stories is a DLC itself.
I know that in my "normal" installation, I did change enable_dlc to 1 and while have the TWOM bubble, both banners launched each version of the game.
Could it be possible that this is the issue?
(I have no way of testing now, only in about 15 hours, once I get home).

You definitely aren't being a bother, I have probably spent like an hour max total working on the issue, it's just I was mostly waiting on Rinne to say how to make it work. I tried enabling DLC's, but it still says "Error could not load ux0:data/twom/libAndroidGame.so"
I think it might be related that kubridge does special actions based on the app's ID and this app ID is not the same as TWOM's.
Waiting on Rinne to reply back because I tested all I could think to try


text:
How to remove left column?

How do I remove the left column and just have the dashboard and header?  I've pretty much strippedout all the code but it's still there.

I copied the "blank.html" from pages and removed the left side bar nav code.
https://gist.github.com/sinfuljosh/0d1e6436a8504598bd30aa9ec17a0e66
Have not made any changes to css or js. Its to show you the section of html that is generating the the side bar.

Thanks @sinfuljosh
Looks like the 'page-wrapper' div is the one with the css to modify.  Removing it took care of things, thanks!

authors: ochompsky sinfuljosh


text:
Pagination are not displayed when there is no data

already fixed


text:
CodeSniffer not showing any results

The codesniffer table always seems to be empty no matter if the plugin fails or succeeds. If I run phpcs manually against the same code base I'm getting errors.
Is this a bug on just the view? or could it be that PHPCS is failing and never properly running? How can I verify that ?

Fixed with #540 so I close this one

authors: amacgregor tvbeek


text:
Create Feedback_Visualization_For__Mentors_Sample.ipynb

Description
This is a notebook that shows some visualizations for Mentor feedback by Mentees.
Fixes # BL-136, BL-393
Type of change
Notebook addition
Please delete options that are not relevant.

[x] New feature

Checklist:

[x] My code follows PEP8 style guide
[x] I have removed unnecessary print statements from my code
[x] I have made corresponding changes to the documentation if necessary
[x] My changes generate no errors
[x] No commented-out code
[x] Size of pull request kept to a minimum
[x] Pull request description clearly describes changes made & motivations for said changes

Loom
https://www.loom.com/share/25bd4421e8d344658b9c2a19b6445f5f

Great work on the visualization you made it really easy to understand and follow along in the video.

This flexible visualization tool provides admins with the ability to get a quick overview, a detailed look at individual mentors' feedback outcome and vader score, and even look at sentiment changes over certain time ranges. Nice addition!

@ErinNC, I figured out those changes and did some more fine detail work. It looks better than before. Thanks for your input.

authors: jsgersing miguelaledesma sspradling78

repo: BloomTech-Labs/underdog-devs-ds-a


text:
Copy Path menu item in hierarchy

I had the need for a Copy Path in the hierarchy context menu, the following code adapted a bit from https://forum.unity.com/threads/please-include-a-copy-path-when-right-clicking-a-game-object.429480/#post-2777071 do works:
public static class CopyPathMenuItem
{
    [MenuItem("GameObject/Copy Path")]
    private static void CopyPath()
    {
        var go = Selection.activeGameObject;

        if (go == null)
        {
            return;
        }

        var path = go.name;

        while (go.transform.parent != null)
        {
            go = go.transform.parent.gameObject;
            path = string.Format("{0}/{1}", go.name, path);
        }

        EditorGUIUtility.systemCopyBuffer = path;
    }

    [MenuItem("GameObject/Copy Path", true)]
    private static bool CopyPathValidation()
    {
        // We can only copy the path in case 1 object is selected
        return Selection.gameObjects.Length == 1;
    }
}

I have put it right before L113 in BluHierarchy.cs.
I think it could be useful to add, and maybe check for a VRCDescriptor to get the path under the "Avatar name in hierarchy" like "Armature/Foo/Bar" instead of "My Cute Avatar/Armature/Foo/Bar"

I can see the usefulness of this.
I'm not sure how I can check for a VRC Avatar Descriptor to get the path under the avatar, but I'll look into it. Thanks for the suggestion!


text:
completed upload picture and personal info

-upload picture with cloudinary without backend integration
-complete personal info section without backend integration
-need to send out updated .env after merge
-lint error occurred in some files

This pull request includes several changes aimed at adding new features and improving existing functionalities. The key updates include enabling auto-save in VSCode settings, adding Cloudinary API integration, and enhancing the ProfilePage component to support profile picture uploads and editing user details.
New Features:

Profile Page Enhancements:

Added image upload functionality using Cloudinary API. (client/src/pages/ProfilePage.jsx)
Enabled editing of profile details such as name, username, country, phone number, gender, and email. (client/src/pages/ProfilePage.jsx)

Environment Configuration:

Added CLOUDINARY_API_LINK to environment variables to support Cloudinary integration. (client/config/env.js, client/example.env) [1] [2]

Configuration Updates:

VSCode Settings:

Enabled auto-save on focus change to improve developer workflow. (.vscode/settings.json)

Minor Changes:

Code Cleanup:

Added blank lines for better readability in route files. (server/src/routes/deck.routes.js, server/src/routes/user.routes.js) [1] [2]


text:
Sending Gallery of Images Does not Work

When Uploading multiple photos, instead of bunching them up into a gallery, it sends each one one at a time. This might be a server issue based on how it sends, but this feature is super useful, and for a while was supported by Beeper Mini.
Here is an image of what it looks like on iPhone.

This is not supported by the app at the moment, but should be supported by the API. It will be a matter of implementing the functionality client side

authors: SoRadGaming zlshames

repo: BlueBubblesApp/bluebubbles-app


text:
"Accounts managed by Family Link are not allowed to sign in here." error when trying to sync google contacts with a supervised account

Hi team,
I've configure a BB server for my daughter on Android (i'm supervising her google account via Google Family Link).
Receiving/sending messages work fine.
The only issue at this moment is synching contacts.
I'm running the BB server on a mac mini - on that mac mini in iMessage i can see that the name of each recipient is properly displayed, as it's coming from the contact app (there are contacts from icloud and contacts from google [aka 'internet account'].
But in the BB client on Android all recipients shows as their phone numbers and not their names.
I've been trying to restart the BB server, played around with the BB server 'refresh contact' options - no progress.
Then I saw that BB server offers to signin using google to sync the google contacts directly to make them available to the BB clients. I tried to signin with my daughter's account, got prompted to sign in using the app's web view but I got the error "Accounts managed by Family Link are not allowed to sign in here.". Note that I dont get that error when I signin in Chrome on the same device. It looks like something is off with the app's webview. Question - could u update the app so it doesn't show a web view and instead prompt to signin in Chrome directly? (like Slack does)
Thanks in advance!
PS - awesome work building BB!!!

The BB client doesn't get contacts from the server. It should show contact names provided you've granted the contacts permission to the android app and the contacts exist on the phone.

Hi Joel, thank you for the super quick response! I just manually granted the BB client access to the contact app and it immediately solved the problem, thanks a lot!!

authors: jjoelj nicotriballier

repo: BlueBubblesApp/bluebubbles-server


text:
The focused filter will have the most visual real-estate

Tests

#404

Test Steps

Using Weevil, open a log file.
Click on the Inclusive filter TextBox

The Inclusive filter width should expand to take up more visual real-estate than the Exclude filter.

It is not worth the investment in time to automate this test.

repo: BlueDotBrigade/weevil


text:
🛑 hosted-PalmettoGBA is down

In aba67bc, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in a6af2d8.


text:
🛑 hosted-PalmettoGBA is down

In 16b230e, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in fa8f8e5 after 9 minutes.


text:
バーコードからISBNを読み取る機能を実装する

スマホ版でのみ本のバーコードをカメラで読み取り、ISBNを読み取れるようにする。

https://serratus.github.io/quaggaJS/

https://github.com/ericblade/quagga2

repo: BlueSchnauzer/BookLogger


text:
BW-DR03驱动盒应该使用哪个分支下的驱动

目前的ros功能包驱动在BW-DR02下可以正常工作，但换了新的BW-DR03驱动盒则不能正常前进后退，请问是什么

I just bought a BW-DR03 driver. Do you have a wiring diagram for a pair of hub motors in English? Do I need to calibrate motors before using the ROS package to manage it?

02和03协议是一样的。先用mtools工具验证一下03是否能正常工作。以及里面的参数是不是和02一致

authors: haquebd randoms zhAlpha


text:
utils/xz-utils: Provide a dev package

Upgrade to 5.2.5 whilst we're at it.

This probably needs some fixes in the example repos. I'll provide those if this MR is considered fine for inclusion.

LGTM. I still need to update the example repos to the new split layout... :see_no_evil:

I still need to update the example repos to the new split layout... :see_no_evil:

I'll do this too.

I'll do this too.

I'll postpone the update of the examples until BobBuildTool/basement-gnu-linux#1 is merged.

I just want to follow up on this: is there anything I've missed? AFAICS, when https://github.com/BobBuildTool/basement-gnu-linux/pull/1 is merged, this and #134 can be merged, too. Afterwards, I'll update the example repos to use the latest basement including the split.

I just want to follow up on this: is there anything I've missed?

No. I just have been lazy... :see_no_evil:

authors: Ferruck jkloetzke

repo: BobBuildTool/basement


text:
issue#4 | @rebeccahongsf | update ordering to work on multiple browsers

Summary

update to ascending order which works on multiple browsers

Issue ticket number and link

#4

Checklist before requesting a review

[x] I have performed a self-review of my code

Screenshots (if applicable)
Firefox:

Chrome:

@jwu910


text:
Multi user deployment changes

@gaoning777 Here are our deployment changes.

Thanks Yuan

Superseded by https://github.com/Bobgy/manifests/pull/2

repo: Bobgy/manifests


text:
CLI ETA?

Hey,
Thanks for this one!
I'd like to test on a React Native using CLI.
Is there an ETA?
Pasting in a code editor didn't work :(

@j2l , hi, thanks.
Can you please show which code doesn't work? Or what error are you getting in dev-tools. Thanks.

Thanks for replying quickly!
First I tried to paste some react native code in a online editor (from Under the hood ReactJS) and svg wasn't produced, no error seen.
Then I tried CLI: npm i -g js2flowchart installed it but jsflowchart is a unknown command.

Hey, it wasn’t implemented yet, that’s why it didn’t work like global install. I pushed a CLI feature yesterday, please update js2flowchart from npm and try again. Thanks. Let me know if still have issues.

Cool!
But it doesn't like some react native:
js2flowchart App.js
Error at parseCodeToAST: Unexpected token (51:8)
C:\Users\pm\AppData\Roaming\npm\node_modules\js2flowchart\dist\js2flowchart.js:18131
        throw e;
        ^

SyntaxError: Unexpected token (51:8)
    at Parser.pp$5.raise (C:\Users\pm\AppData\Roaming\npm\node_modules\js2flowchart\dist\js2flowchart.js:13702:13)
    at Parser.pp.unexpected (C:\Users\pm\AppData\Roaming\npm\node_modules\js2flowchart\dist\js2flowchart.js:11009:8)
    at Parser.pp$1.parseClassProperty (C:\Users\pm\AppData\Roaming\npm\node_modules\js2flowchart\dist\js2flowchart.js:11819:50)
    at Parser.pp$1.parseClassBody (C:\Users\pm\AppData\Roaming\npm\node_modules\js2flowchart\dist\js2flowchart.js:11764:34)
    at Parser.pp$1.parseClass (C:\Users\pm\AppData\Roaming\npm\node_modules\js2flowchart\dist\js2flowchart.js:11654:8)
    at Parser.pp$1.parseExport (C:\Users\pm\AppData\Roaming\npm\node_modules\js2flowchart\dist\js2flowchart.js:11890:19)
    at Parser.pp$1.parseStatement (C:\Users\pm\AppData\Roaming\npm\node_modules\js2flowchart\dist\js2flowchart.js:11132:74)
    at Parser.pp$1.parseBlockBody (C:\Users\pm\AppData\Roaming\npm\node_modules\js2flowchart\dist\js2flowchart.js:11516:21)
    at Parser.pp$1.parseTopLevel (C:\Users\pm\AppData\Roaming\npm\node_modules\js2flowchart\dist\js2flowchart.js:11026:8)
    at Parser.parse (C:\Users\pm\AppData\Roaming\npm\node_modules\js2flowchart\dist\js2flowchart.js:10921:17)

@j2l, there is a code
state = {
    appIsReady: false
  };

inside of class definition. It's not like es6 way of doing that and I use es6-only parser which doesn't like it  (it's not valid actually from that point of view), so it breaks there. So if you remove that 3 lines and try without it, you'll see it works fine.

Indeed :)
Fixed for me.
Cheers!


text:
Not Working

This is not working for me giving  results as matching for all the faces

This lib is build on top of OpenFace  ML.

I can't improve it for now and in nearest feature.

repo: BohdanNikoletti/SFaceCompare


text:
Install BookStack on Synology NAS

Attempted Debugging

[X] I have read the debugging page

Searched GitHub Issues

[X] I have searched GitHub for the issue.

Describe the Scenario
Hi
I am trying to create a backup install of my main BookStack install on a Synology DS414j NAS. I have two real questions:

How to install BookStack on the NAS

How to 'mirror' my server install to the NAS so they are synchronised

Question 1: I have updated the NAS to the latest allowed DSM version (DSM 7.1.1-42962 Update 5), and updated Web Station. I have also installed PHP 8.0. However, all the tutorials I have found say to install Docker or Portainer to get a working BookStack install.
My problem is that neither package are available (as far as I can see), so I can't even set up a container to install BookStack to! Has anyone recently managed to create a BookStack install on this NAS?
Question 2: Regardless of whether I get the NAs install working, what is the best way of synchronising two installs? Cani I rsync the install from one device to another? Can I restore an sql dump and restore the images, etc? I am mindful of the fact that the .env settings for the db may be different. I am no expert on this stuff, so would welcome some pointers.
Mark
Exact BookStack Version
Latest version
Log Content
No response
PHP Version
8.x
Hosting Environment
Server - Ubuntu 22.04LTS
NAS....?

Hi @techauthoruk

My problem is that neither package are available (as far as I can see), so I can't even set up a container to install BookStack to!

Yeah, the lower value range of Synology boxes (Which I think are those with j at the end of the model name) won't have certain packages due to system limitations.

Has anyone recently managed to create a BookStack install on this NAS?

It likely is possible to get it running, but it might be messy to do outside of docker due to the requirements needed. It's not really what a Synology NAS is suited for tbh.

Regardless of whether I get the NAs install working, what is the best way of synchronising two installs? Cani I rsync the install from one device to another?

What is your actual goal in this? There are methods but no easy way for a bi-directional sync.
For a single-direction sync you can indeed dump the database and copy the files over.
Our backup and restore docs detail the mechanics of this.
As an easier potential option, The latest release includes a system CLI that allows potentially easier backup/restore. It's in early alpha and can still be subject to bugs/issues, but it automates and standardises a lot of the process in the docs linked above.
I'm not confident it'd run without some pains on a Synology system though.

Personally, through experience I've found it's more hassle than it's worth to stretch the use-case of something like a Synology box, which ideally you'd want to remain reliable in it's primary purpose. You'd be going against the grain and there'd be little existing guidance/docs/experience to help when you run into issues (as you're finding now).
I have a separate little intel NUC box to run apps, running proxmox to separate/compartmentalise things via VMs or LXC containers. I have a little overview of my setup here.
If you just need to have a backup of your system though, you could maybe just look to use the new BookStack system CLI to create backups then store the resulting ZIP on your NAS like any other file.

@ssddanbrown thank you for all your comments.
I have abandoned the idea of using the Synology now - there is just no reliable way to get Docker installed. My goal was actually to have a replica of my main bookstack instance installed elsewhere for reference. The sync would only ever be one way (main instance to backup).
The reason behind this - I keep all my notes and instructions for the management of my software apps in bookstack. My server went down a few days ago, and of course I couldn't access my notes to do reinstalls, etc! I wanted a backup on another machine/device so that I could see my notes while I sorted the issues. I do routinely back up the bookstack instance in line with the comments on your site, so it's not a problem restoring bookstack if needed.
I tried this morning restoring the sql backup from my main instance into a bookstack install on another machine, but this didn't work - I get a 419 error when trying to log in. I'm going to play around a little more to see if I can find out why.
Thank you again for your comments.

OK, so resolved now.
My 419 issues seemed to be due to an incorrect database pasword. Changed the password, and everything is working as it should, so closing this.

authors: ssddanbrown techauthoruk

repo: BookStackApp/BookStack


text:
403 error only when inserting specific code block in editor

Describe the Bug
I've found an odd bug that occurs specifically with one piece of code within my instance. Narrowing this down took quite a bit. The page I'm using is a reference page where I have approx 15 different SQL queries for reference.
When inserting the following text as a code block in any page, "sp__dbutilisation tempdb;" the save button leads immediately to a 403 error page. My bookstack instance immediately slows down for the next few minutes.
When I remove this code block, the page saves fine. I'm assuming that that the db command is getting executed on save? I updated to the latest instance and see the same issue. DB is MySQL
Steps to Reproduce

Create new page named "Queries" or anything else
Create a code block with the following code (code block, not in-line code)
sp__dbutilisation tempdb;
Try saving page
Immediately see 403 error

Expected Behaviour
Page saving without 403 error
Screenshots or Additional Context
No response
Browser Details
Chrome
Exact BookStack Version
2023.10.1

Searched a bit more. Met me try #555 and #1792 and will update here if the issue persists.
Can not recreate the issue on the demo site.

Solved by disabling apache mod_security m


text:
Internally Hosted Draw.IO is not usable, "This content is blocked. Contact the site owner to fix the issue."

Describe the Bug
Similar to #2285 , I am getting a gray page in Chrome that says "This content is blocked. Contact the site owner to fix the issue."
I have the following environment variables set for the container:
DRAWIO=http://172.31.1.167:8080/?embed=1&proto=json&spin=1&configure=1&stealth=1
I have also attempted to modify this environment variable:
ALLOWED_IFRAME_SOURCES=
I've tried:

http://172.31.1.167:8080
https://172.31.1.167:8443
http://172.31.1.167*

The only one that "works" is if I make it ALLOWED_IFRAME_SOURCES="*", which seems like a security vulnerability even if I'm running this on a LAN.
Note: I can access the plain old Draw.IO interface just fine: http://172.31.1.167:8080, and it loads.
Steps to Reproduce
Edit a page, click the icon to work on a Draw.io image.
Expected Behaviour
I expect to load into a Draw.IO instance.
Screenshots or Additional Context
No response
Browser Details
Chrome and Edge on Windows 11
Exact BookStack Version
v24.05.2

Hi @thickconfusion,
You shouldn't need to adjust the iframe sources since BookStack will look to automatically add any custom drawio URL, where set, to the CSP rules. Maybe our custom handling is tripping up any additional rules you're adding.
It does look though like we are not currently handling scenarios where non-protocol-standard ports are used.
I've marked this to be tested for next patch, against a custom-ported drawio instance.
Dev reference
https://github.com/BookStackApp/BookStack/blob/78ebcb6f38ee7a984b26cd56dff882ae9d7e9f95/app/Util/CspService.php#L144

Sure, I was just saying that we attempt to handle this so you shouldn't have to set the iframe sources, but we currently don't handle custom defined ports.
I've now fixed port handling via 897bb338f956245e2c86bda6cd5c6a67711f9448, with testing to cover, which will be part of the next patch release so I'll therefore close this off.
Not sure why your custom ALLOWED_IFRAME_SOURCES additions did not work, since I could work around this on my dev instance via this method, but could be down to browser specifics or configuration changes not take place when expected.
If you still have issues after the next patch release feel free to still comment here for further investigation.

authors: ssddanbrown thickconfusion


text:
[UI] Token input (add missing part)

The bottom part of this is still missing.

This is kind of unnecessary, so it won't be implemented.

repo: BootNodeDev/dAppBoosterLandingPage


text:
FR: short script to (auto)test wordforms?

A script should be created to (possibly auto-) test a wordform file.

this script should be extensible
need to run it on all existing wordform files

Common error: consecutive colons (":") in a line. Possibly due to errors when converting from hunspell
For example forms_TR.txt:18516

Script is at 3c019616510f585dff69e00dbcab23bce6df1274
Fix is at 0f9abb57b65d2e05e518fa0df75344105fd49e1a

The script is created, all errors are fixed (PL - with #1).
Warning possibly could be fixed with #4

repo: BorisNA/wordforms


text:
Links are not working on mobile devices

Hi Naufal, thanks for magnificent component!
I experienced little bug recently, links are not clickable inside of <ReactScrollbar /> on mobile devices
Example: https://spreecode.github.io/react-scrollbar/
Safari iOS 9.3.5: Not working
Safari iOS 10.2: Not working
Opera Mini: Not working
Mobile Chrome: Tricky (sometimes working)
Mobile Firefox: Not working

I think the problem is here, when you comment out these lines then links are clickable. Obviously when commented out the scrolling behavior is not working as expected.

repo: BosNaufal/react-scrollbar


text:
Binary Sensor to send notification in advance of operation.

Describe the feature
Send a notification when new rates published of when a binary sensor will start/stop.
Use case:  dishwasher on/off is momentary switch but start can be delayed by the user.  This advanced/ 'heads-up' notification message would allow recipients to know the correct time to set delay to get lowest overnight price for the dishwasher cycle.
Expected behavior

Trigger: Tomorrow's rates published
binary 'notification' sensor run time calculated
notification sent via mobile app containing start/stop times that meet the conditions of the sensor, or a use configurable message with these times as values that can be added to the message with whatever formatting the user chooses.

Hello. If I understand your scenario correctly, a new sensor isn't needed as you can do this with existing HA functionality. The times for when the sensor is due can be found as attributes on the sensor.
I for instance have a template sensor which extracts this time out
vacuum_time:
      friendly_name: Vacuum time
      icon_template: mdi:clock
      value_template: >-
        {{ as_local(state_attr("binary_sensor.octopus_energy_target_vacuum", "next_time")).strftime('%H:%M')  }}

and then I have an automation that sends an alert at a specific time to tell me when my vacuum is due on
- alias: Cleaning - Clean house notice
  trigger:
  - platform: event
    event_type: morning_reminder
  condition:
    - condition: state
      entity_id: input_boolean.is_cleaning_scheduled
      state: 'on'
  action:
  - event: notify_channels
    event_data_template:
      mode: speaker
      title: Cleaning occurring
      message: >
          {{ [
            "I'm due to clean today at " + states("sensor.vacuum_time") + ". If you don't want this, ask me to 'turn off cleaning'.",
            "I'll be cleaning today at " + states("sensor.vacuum_time") + ". If it's not convenient, ask me to 'turn off cleaning'.",
          ] | random }}

If you're wanting to send an alert x minutes before then I have a template sensor which stores the datetime the notification should go off
vacuum_warning_one:
      friendly_name: "Vacuum warning one"
      device_class : timestamp
      value_template: >-
        {% set date = state_attr("binary_sensor.octopus_energy_target_vacuum_working_hours", "next_time") %}
        {% if date != None %}
        {{ date - timedelta( minutes = 30 ) }}
        {% else %}
        {{ as_datetime("2021-01-01T00:00Z") }}
        {% endif %}

and then an automation looks like
- alias: Cleaning - Clean house warning
  trigger:
  - platform: time
    at: sensor.vacuum_warning_one
  condition:
    - condition: state
      entity_id: input_boolean.is_cleaning_scheduled
      state: 'on'
  action:
  - event: notify_channels
    event_data_template:
      mode: speaker
      title: Cleaning occurring
      message: >
        {% set target_time = as_local(state_attr("binary_sensor.octopus_energy_target_vacuum", "next_time")) %}

        {% set minutes = ((as_timestamp(target_time) - as_timestamp(now())) / 60) | round(0) %}
        {{ [
          "I'm planning to clean the house in " + minutes|string + " minutes. If you don't want this, ask me to 'turn off cleaning'.",
          "I'll be cleaning the house in " + minutes|string + " minutes. If it's not convenient, ask me to 'turn off cleaning'.",
          ] | random }}

As you can see I use an input boolean to determine if the vacuum should go on or not, which I use as a condition for an automation when triggering the vacuum
- alias: Cleaning - Start Automatic While Everyone Out (Non Work Day)
  id: 5418B9B8-3B54-49A2-8DCA-C9846B67F751
  trigger:
  - platform: state
    entity_id: binary_sensor.octopus_energy_target_vacuum
    to: 'on'
  condition:
    - condition: state
      entity_id: input_boolean.is_cleaning_scheduled
      state: 'on'
  action:
  - event: start_cleaning

Let me know if I've misunderstood your scenario.

Thank you, this looks exactly what I am looking for... and more !
Much appreciated 👍

Excellent. I'll close this feature request then :)


text:
TypeError: session.reply is not a function

I was following the docs in order to setup the bot and suddenly I've encountered this error.
$ bottr-cli start
Mon, 10 Oct 2016 16:42:13 GMT body-parser deprecated undefined extended: provide extended option at node_modules\bottr\lib\bot.js:36:30
new websocket connection
new websocket connection
message_received event triggered
Missing error handler on `socket`.
TypeError: session.reply is not a function
    at Event.<anonymous> (C:\wamp\www\bottr\index.js:13:11)
    at Event.next (C:\wamp\www\bottr\node_modules\bottr\lib\event.js:16:14)
    at Event.triggerNext (C:\wamp\www\bottr\node_modules\bottr\lib\event.js:10:12)
    at Event.<anonymous> (C:\wamp\www\bottr\node_modules\bottr\lib\bot.js:22:5)
    at Event.next (C:\wamp\www\bottr\node_modules\bottr\lib\event.js:16:14)
    at EventEmitter.emit (C:\wamp\www\bottr\node_modules\bottr\lib\event-emitter.js:28:9)
    at Bot.trigger (C:\wamp\www\bottr\node_modules\bottr\lib\bot.js:49:26)
    at WebsocketClient.<anonymous> (C:\wamp\www\bottr\node_modules\bottr\lib\websocket-client.js:24:14)
    at emitOne (events.js:78:13)
    at Socket.emit (events.js:170:7)
    at Socket.onevent (C:\wamp\www\bottr\node_modules\socket.io\lib\socket.js:348:8)
    at Socket.onpacket (C:\wamp\www\bottr\node_modules\socket.io\lib\socket.js:308:12)
    at Client.ondecoded (C:\wamp\www\bottr\node_modules\socket.io\lib\client.js:194:14)
    at Decoder.Emitter.emit (C:\wamp\www\bottr\node_modules\component-emitter\index.js:134:20)
    at Decoder.add (C:\wamp\www\bottr\node_modules\socket.io-parser\index.js:247:12)
    at Client.ondata (C:\wamp\www\bottr\node_modules\socket.io\lib\client.js:176:18)

Looks like the old example code needs to be updated to be send, session keeps track of the conversation now.

@ummahusla I've pushed a new version of bottr-cli let me know if bottr-cli init generates something that works.

@jcampbell05 Will do it in the evening 👍

repo: Bottr-js/Bottr


text:
Incorrect gateway used?

Even if i am giving valid twilio credentials , the message "your token is 1234 " is diplaying.
TWO_FACTOR_CALL_GATEWAY = 'two_factor.gateways.twilio.gateway.Twilio'
TWO_FACTOR_SMS_GATEWAY 	= 'two_factor.gateways.twilio.gateway.Twilio'
TWILIO_ACCOUNT_SID 		= 'AC86a1663acf************affba5d3'
TWILIO_AUTH_TOKEN 		= '029be37d7**********1c0257c9b'
TWILIO_CALLER_ID 		        = '+919781539134'                #verified caller ID

It appears as if you're using the example project, as it would be the only explanation for that message appearing on your screen. Please follow the installation/configuration instructions, somewhere it tells you to set the correct TWO_FACTOR_CALL_GATEWAY and TWO_FACTOR_SMS_GATEWAY.

authors: Bouke vikram-lapenatech

repo: Bouke/django-two-factor-auth


text:
Chatbot ?

Hola cómo están 👍, alguien a usado brain.js? estoy programando un chatbot pero la manera en que lo hago no me gusta mucho, a si que quería saber si alguien que lo a ya hecho antes me puede dar un ejemplo de código con brain.js para enseña al bot a escribir y a responder al texto del usuario de una manera coherente  luego solo faltaria clasificar algunas palabras para ejecutar comandos, ví este ejemplo usando redes neuronales recurrentes:
const trainingData = [
'Jane saw Doug.',
'Spot saw himself.',
'Doug saw Jane.' ];
const lstm = new brain.recurrent.LSTM(); const result = lstm.train(
trainingData, { iterations: 1000 }
);
const run1 = lstm.run('Jane');
const run2 = lstm.run('Spot');
const run3 = lstm.run('Doug'); console.log('run 1: Jane' + run1); console.log('run 2: Spot' + run2); console.log('run 3: Doug' + run3);
Se supone que esto le enseña a la red a crear fraces lo probé y le agregue mis propios datos de entrenamiento pero tengo como resultado puras cosas sin sentido, no quiero usar servicios externos, quiero crear mi propio chatbot, alguien ha usado brain.js y hecho esto? Pero de una manera que no se tenga que clasificar el texto? Quiero que la IA aprenda a escribir primero español pasándole un archivo grande lleno de texto, luego como la red ya sabe escribir quiero procesar el texto del usuario input y como salida output solo una sugerencia de como debería responder la red para que la conversación se sienta natural y he evitarme tener que clasificar a mano un montón de texto

Hola IvanJRCH, escribo la respuesta en inglés para mantener una cohesión lingüística en el repositorio:
I understand that you want to train your AI, please see the training reference.
You'll need to work out the training before the chatbot answers make sense at all, I suggest you to define the use-cases, make sure your intents are distinct and that each intent contains many utterances.
Also note that your job isn’t done after your chatbot has been deployed. Continuous improvement is important for a successful result and identifying situations where your chatbot needs more training will give you important insights about it.
I don't spot any bug or problem related with Brain.js here so I'd recommend to close this issue.

hello, thank you very much for your answer, I have created a chatbot, but the chatbot only responds with predefined responses that are already in training, what I would like is for the AI to learn to write, and to respond to the user with consistency only by passing examples of a normal conversation that I will take from a plain txt file, but that the AI does not respond with predefined text but creates its own dialog, then I plan to use another neural network to classify the intention of the text of the AI not of the user, in order to execute commands, I saw the example of using recursive.LSTM(); but notice that it only repeats what is already in the training, how can I make the AI create its own conversations but not with predefined texts, is using LSTM the right way? Could you give me an example? I don't understand how to put that in the code. Also, I don't understand the neural network well either. Thank you very much for answering.

Hi IvanJRCH, I'm not an expert on ML, just reached this project as a way to learn more in my free time.
Also got this resource that may help (didn't read it yet) https://www.deeplearningbook.org/
I suggest you to interact with the community through other sites more prone to the conversation such stackoverflow, dev.to or any other forum that's specific to have conversations around the niche of ML. This way we don't convert this issue tracker into something else.
Have a great day and hope you find the way to solve your issue :)

Thank you very much, I'll take a look at the link.

authors: IvanJRCH JoelBonetR


text:
rename to SQ_ASSD

instance_ASSD should be renamed to SQ_ASSD to be consistent with the other metrics. same goes for the respective SD.

should we also introduce PQ_ASSD?

repo: BrainLesion/panoptica


text:
🛑 Drank jowile is down

In 47f1eb5, Drank jowile (https://drank.jowile.be) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Drank jowile is back up in 8072680 after 7 minutes.


text:
Ensuring backward compatibility in case using a deprecated BUO method for latest SDK

BUO# addContentMetadata() is deprecated and new integration should use BUO#setContentMetadata().
This fix ensure backward compatibility in case the app is still using the deprecated  methods
@aaustin @EvangelosG @derrickstaten

👍

authors: EvangelosG sojanpr


text:
url input ,1080p video much slower

as title,when test,i found that problem。Looking forward to your reply

I'm not sure this is enough information to go by, could you please provide:
Description:
Describe what the bug or issue is (e.g. crashes when setting X) and how it can be reproduced.
Command:
Place a full copy of the command line options you are using here, for example:
scenedetect -i some_video.mp4 -s some_video.stats.csv -o outdir detect-content --threshold 28 list-scenes save-images
Output:
Copy the output of running the application here. Where possible, generate a debug log by adding -v debug -l BUG_REPORT.txt to the beginning of your command, and attach BUG_REPORT.txt to your issue.
Environment:
The operating system and how you installed PySceneDetect may be relevant to the issue. Please run scenedetect version --all and copy the output here, or provide other details on how PySceneDetect was installed.
Media/Files:
Attach or link to any files relevant to the issue, including videos (or YouTube links), scene files, stats files, and log output.

这是来自QQ邮箱的假期自动回复邮件。您好，我最近正在休假中，无法亲自回复您的邮件。我将在假期结束后，尽快给您回复。

https://drive.google.com/file/d/1h5tztZkpV6ziJzgtVieJqcnhF4Bo82f_/view?usp=sharing
=================This is the url

=================This is a speed comparison. The URL input is very slow, but the same video is downloaded locally as input and the strips are split very quickly.
from scenedetect import open_video, SceneManager, split_video_ffmpeg
from scenedetect.detectors import ContentDetector
from scenedetect.video_splitter import split_video_ffmpeg
video_path = '1080pvdieo.mp4'
threshold=27.0
Open our video, create a scene manager, and add a detector.
video = open_video(video_path)
scene_manager = SceneManager()
scene_manager.add_detector(
ContentDetector(threshold=threshold))
scene_manager.detect_scenes(video, show_progress=True)
scene_list = scene_manager.get_scene_list()
================= this is code

URL input is handled by OpenCV if you don't change anything, have you tried using a different backend?  https://www.scenedetect.com/docs/0.6.2/api/backends.html

Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\test.py", line 9, in
video = open_video(video_path, backend='pyav')
File "D:\ProgramData\miniconda3\envs\py39pt1121\lib\site-packages\scenedetect_init_.py", line 143, in open_video
return backend_type(path, framerate, **kwargs)
File "D:\ProgramData\miniconda3\envs\py39pt1121\lib\site-packages\scenedetect\backends\pyav.py", line 107, in init
self._io = open(path_or_io, 'rb')
OSError: [Errno 22] Invalid argument

When I use pyav as backends, I get an error directly.

cv2.VideoCapture   When reading a URL, if the video resolution corresponding to the URL is very high and the data rate is very high, it will be very slow.

Thank you for following up on this, I appreciate it.  If you suspect this is due to OpenCV and isn't just an issue with using ffmpeg (or which ever backend OpenCV itself is using to process the stream), you might want to reach out in their repo.
Best regards!

authors: Breakthrough babyta

repo: Breakthrough/PySceneDetect


text:
RexRay doesn't work on Docker latest (19)

https://github.com/BretFisher/dogvscat/blob/master/stack-rexray.yml
Using docker stack deploy -c stack-rexray.yml rexray gives back the following error:
network "bridge" is declared as external, but it is not in the right scope: "local" instead of "swarm"

Would love to see what those TODO notes resolve into as well as this has been very useful for my swarm.

Did that work for you?

authors: BretFisher syntaqx

repo: BretFisher/dogvscat


text:
US81659 - Update lang terms

Replace English default terms in non English locales with the proper translated term
Add NL locale

Tested and looks fine:
Test cases:
Cycle through all lms languages in chrome and ensure no exceptions are thrown in the console
Ensure new lang terms are reflected in the app by setting updates on, and setting courses into inactive, inactive started, inactive ended, starting later, already ended.


text:
QE-147 Include error message with failed (flaky?) tests

Would help understand test failure reason trends, and we can focus de-flaking efforts on areas of higher impact.
EG: This run failed with Error: locator.fill: Target page, context or browser has been closed; which is clearly not something we can resolve directly, but if we notice an uptick post-Playwright update, we can complain to them about it
OTOH, if we notice alot of tests failing to find locators or whatever, maybe we need better training on how to pick good ones
Not sure if we can get it for flaky tests (ie: the first run of a retried set) too, but if we can that'd be even better

Duplicate of https://github.com/Brightspace/test-reporting-node/issues/87.

Gonna try and send error message, file, line and column values for each test when an error occurs. For retired tests I'm just gonna send the last error for now. If we find we need all error information or something else we can explore that separately.

Moved to Jira

repo: Brightspace/test-reporting-node


text:
Ability to hold down one button throughout runtime of NXBT macro

It seems that the NXBT macro scripting "language" only supports subsequent inputs, and not continuous inputs that may continue to be sent simultaneously alongside other inputs.

^ also looking for this feature

Hi, idk your exact usecase but checkout this: https://github.com/Brikwerk/nxbt/issues/151#issuecomment-2124226564

@BlameFelix Thanks! I'll look into it soon and report the results here after.

authors: BlameFelix TaylorT52 syndiate

repo: Brikwerk/nxbt


text:
Picking video or image externally crashes app

After having added Video preview support, the observer does not correctly take in account videos when reordering the collection, when a picture/video is taken or deleted outside of the app and app is brought into foreground again.

Fixed in https://github.com/BruelAndKjaer/Chafu/commit/b291db7a3330f2afc3069428a49fb0a708f38df9
Using ObservableCollection instead and updating indexes using CollectionChangedEvent

repo: BruelAndKjaer/Chafu


text:
res.getAckMessage() is not defined

In the example the code uses getAckMessage() but that method is not defined for sendResponse.
const messageRes = res.getAckMessage()

I will review tonight and have a fix out maybe by the end of the week.

This is an error just in my documentation. The "sender" handler:
 const listener = server.createInbound({port: 3000}, async (req, res) => {
        const messageReq = req.getMessage()
        expect(messageReq.get('MSH.12').toString()).toBe('2.7')
        await res.sendResponse('AA') //Here, we are sending back to the client the Ack or Failure. This is where the AA or AF message gets generated.

      })

and in the client:
const outbound = client.createConnection({ port: 3000 }, async (res) => {
        const messageRes = res.getMessage()
        expect(messageRes.get('MSA.1').toString()).toBe('AA') // this is where we are confirming the message response sent by the server.
        dfd.resolve()
      })

So I can include:
  getAckMessage(): Message | undefined {
    return this._ack
  }

...but it might be undefined if called before sending the AA or AF.

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

npm package (@develop dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@develop dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


text:
[1|Topic Detail Page] Breadboard

 🍰 Appetite 🍰

Property
Value

Points
3 points

Difficulty rating
★★☆☆☆

Maximum Assignees
2 person

🤔 Problem Statement
Make a breadboard for each screen in the fat-marker sketch. Every place and affordance should be accounted for, but don't focus on making it look pretty. This should be essentially a bare HTML file, with no JS, and only CSS if required for basic layouts. Implement fake navigation and interactions using normal <a> tags. This purely for getting an interactive "skeleton" up, and seeing in real life whether this design would work, or has any major problems.
Please see this page for more info on what your breadboard should be like (and, if you want understand the fat-marker sketch and places affordances drawing better, please see this page).
🧪 Required Tests
None (but the Code Wizard will review whether or not your code warrants some tests! Review the Code & Testing Guidelines for more info)
⚠ Careful about:

Don't make a separate desktop design. There should be one design, that works both in landscape and portrait orientations.

🤖 Technologies focused on in this feature

React
Tailwind
Shadcn

I can work on this one @puma

@Sahib4 it's yours! You're now assigned.

I can work on this as well @puma

@khnatiuk I added in @namanparashar123 , but he is talking with @Sahib4 right now.

@namanparashar123 @Sahib4 can you come see me? There are folks ready to work on Phase 2 but we're unsure whether you have completed Phase 1 yet.

@ViniOkamoto please let a PuMA know if you want to be added to this issue.

On it already! @khnatiuk

Please add me to it @puma

Yay!


text:
Feature/pnpm

Description
to fix changesets publishing

Closing as there are way too many "@babel/" conflicts to sift through

repo: BuilderIO/mitosis


text:
[📖] Unclear instructions when it comes to testing/running your SSG'd site

Suggestion

node server/entry.ssr.js just returns instantly (verified I ran yarn build.server before), so it's not clear if this is old documentation for an older version

I think you'd need something like npx http-server dist/ after running build, but that's npm specific.
What's the cool kid way to run a simple http server locally these days?

repo: BuilderIO/qwik


text:
Missing linux-build from latest release and hashes

The latest release (0.8.11) does not contain a 'linux-unpacked.tar.gz' file or anything similiar.
Since I'm currently trying to maintain the Arch AUR package it would be nice if we could make sure this file exists in coming updates in an expectable filename.
And if it's not too much of a hassle, it might be nice if the build-process creates SHA-hashes for the generated distributables (since it's somewhat bank/privacy-related). Of course I could generate hashes myself, but 'original' ones are probably trustworthier.

I'll check why the unpacked file is suddenly no longer uploaded since 0.8.11, it might have to do with the hotfix I ran a while.
For the hashes you can always check the build for that specific release. At the bottom of every travis build a list of hashes are created. I'll reply here for the correct ones for the current build when I fix it 👍

Added the download file and the checksum for it is 8f36b98ea79b1323ffe3968c2105a099073700c536ed005868f6c702de5cb68c. I'll make a habit out of adding a link to the travis build as well so you can find the hashes more easily next time and to keep things a bit more transparent.
Thanks for reporting this btw, I completely missed it 👍

repo: BunqCommunity/bunqDesktop


text:
Refresh button still not working in 2.7.0

I have 2.7.0 installed via the marketplace, running the organizr docker container with :latest tag.
Clicking the refresh button on a card opens opens the info instead of refreshing the cover:

I am currently using "Organizr V2 On-top of Burry" from https://github.com/Archmonger/Blackberry-Flat, but the issue persists even with that turned off. I have also tried clearing cache in my browser and in CloudFlare.

Fixed in 2.8.0

Will test when update is available through the marketplace.

Confirmed that it now works :D thank you!

authors: Burry JohanSF


text:
POST /event/{eventID}/participate: 이벤트 참가 신청

https://busandevelopers.github.io/BGM-Event-Calendar-API-Documentation/#operation/addEventTicket
새로운 이벤트 참가 신청: 참가자 이름, 연락처 (전화번호 및 이메일) 입력. 추가 의견은 선택적으로 입력
만약 이름 + 이메일의 쌍이 같은 경우, 중복된 참여 요청으로 간주하여 잘못된 요청 (Bad Request)를 반환함

[x] 데이터베이스 쿼리
[x] 웹서버 로직
[x] 테스트 코드

전화번호 양식 지정 (하이픈 없이 요청 전송)

repo: BusanDevelopers/BGM-Event-Calendar-API