Recipe configuration and cron scheduling through front end

Through this feature request, I am proposing a user interface to configure recipes and metadata ingestion sources. A cron scheduling interface can also be provided for pull-type integrations.

Hi @cl8790! We have this work in-flight; you can subscribe to this feature request to stay up to date with progress!


ModuleNotFoundError

Hi there,
Thanks for the great package.
Sorry I am new to Python and trying to pick up. Please see my issue below.
I am seeing there an error everytime I run the command
from pydqc import infer_schema, data_summary, data_compare, data_consist
ModuleNotFoundError: No module named 'dqc_utils'
If I make the anaconda3\Lib\site-packages\pydqc-0.1-py3.6.egg\pydqc as my working directory, then I am able run without error. But when I am in a different working directory I get this error.
My Path variable is set to anaconda3\Lib\site-packages.
I am able to load other packages like numpy, pandas, scipy etc.
Also, I notice that init.py file is blank for PyDQC package. Is that supposed to be the case?
Sorry again if this is a beginner's problem.

hi @prakashtewari,
I think I've fixed the problem for python3. And you can now use pip install pydqc


[ADP-3237] Github workflow that tags "rc" commits

This first PR is just adding a new scheduled workflow that tracks the potential next "release candidate" every night so that our secondary CI (E2E and benchmarks) will be able to select it as a shared commit to run their checks against.
The PR is separated to let the workflow appear in the UI (thread on this) so we can test it. Next PRs will move scheduled checks to be triggered by this tag
ADP-3237

@Unisay suggested to use a tag of the following form:

RC-20231206

If we adopt a date-based naming scheme, then can we use some kind of delimiter (such as -) beween the different components of the date? 🙏🏻
For example, I find 2023-12-06 much easier to read than 20231206.

For example, I find 2023-12-06 much easier to read than 20231206.

Used alone I find it easier to read too.
Personally I'd prefer to not use - to separate both: tag parts (RC and 20231206) as well as date parts (2023, 12, 06).
If it was really important for me to make the timestamp part human readable, I'd better use conventional dots to separate date parts: RC-2023.12.06
FYI:
Docker hub uses tags in the following manner:

This way you never delete a tag, which is undesirable, as people might refer to it and their reference is either changed or even unresolved.
[…]
I can imagine a system that has both: mutable tag like RC-latest as well as immutable, timestamped one.

The purpose of the rc-* tags is to inform our secondary CI about which commit it should run on — they are a means to communicate with secondary CI, not with users. For this purpose, I think it's fair to have them mutable.

A single tag rc-latest which is changed as per this schedule.
A tag rc-latest as above, but also a brief history of rc-YYYY.MM.DD tags, say 30 days, for the better usability when picking one of the rc-latest tags for release.


GPy-devel Py3 install and pip install --upgrade in latest commit

One step forward and two steps back....
With this latest commit, GPy-devel does not install successfully with python 3 (anaconda3 2.4.1 and python 3.5 now standard). It was ok previously and it is ok in python 2.7.
The following error arises
ImportError                               Traceback (most recent call last)
 in ()
8 #import matplotlib;matplotlib.rcParams['font.family'] = 'serif'
9 import numpy as np
---> 10 import GPy
11 np.random.seed(1)
C:\Users\Denis\Anaconda3\lib\site-packages\GPy_init_.py in ()
4 warnings.filterwarnings("ignore", category=DeprecationWarning)
5
----> 6 from . import core
7 from . import models
8 from . import mappings
C:\Users\Denis\Anaconda3\lib\site-packages\GPy\core_init_.py in ()
2 # Licensed under the BSD 3-clause license (see LICENSE.txt)
3
----> 4 from GPy.core.model import Model
5 from .parameterization import Param, Parameterized
6 from . import parameterization
C:\Users\Denis\Anaconda3\lib\site-packages\GPy\core\model.py in ()
1 # Copyright (c) 2012-2014, GPy authors (see AUTHORS.txt).
2 # Licensed under the BSD 3-clause license (see LICENSE.txt)
----> 3 from .parameterization.priorizable import Priorizable
4 from paramz import Model as ParamzModel
5
C:\Users\Denis\Anaconda3\lib\site-packages\GPy\core\parameterization_init_.py in ()
2 # Licensed under the BSD 3-clause license (see LICENSE.txt)
3
----> 4 from .param import Param
5 from .parameterized import Parameterized
6 from paramz import transformations
C:\Users\Denis\Anaconda3\lib\site-packages\GPy\core\parameterization\param.py in ()
2 # Licensed under the BSD 3-clause license (see LICENSE.txt)
3
----> 4 from paramz import Param
5 from .priorizable import Priorizable
6 from paramz.transformations import fixed
C:\Users\Denis\Anaconda3\lib\site-packages\paramz_init_.py in ()
31 #===============================================================================
32
---> 33 from .model import Model
34 from .parameterized import Parameterized
35 from .param import Param
C:\Users\Denis\Anaconda3\lib\site-packages\paramz\model.py in ()
36 from numpy.linalg.linalg import LinAlgError
37
---> 38 from . import optimization
39 from .parameterized import Parameterized
40 from .optimization.verbose_optimization import VerboseOptimization
C:\Users\Denis\Anaconda3\lib\site-packages\paramz\optimization_init_.py in ()
31 #===============================================================================
32
---> 33 from .optimization import *
34 from . import verbose_optimization, stochastics
C:\Users\Denis\Anaconda3\lib\site-packages\paramz\optimization\optimization.py in ()
3
4 import datetime as dt
----> 5 from scipy import optimize
6 from warnings import warn
7
C:\Users\Denis\Anaconda3\lib\site-packages\scipy\optimize_init_.py in ()
219 from future import division, print_function, absolute_import
220
--> 221 from .optimize import *
222 from ._minimize import *
223 from ._root import *
C:\Users\Denis\Anaconda3\lib\site-packages\scipy\optimize\optimize.py in ()
35                    vectorize, asarray, sqrt, Inf, asfarray, isinf)
36 import numpy as np
---> 37 from .linesearch import (line_search_wolfe1, line_search_wolfe2,
38                          line_search_wolfe2 as line_search,
39                          LineSearchWarning)
C:\Users\Denis\Anaconda3\lib\site-packages\scipy\optimize\linesearch.py in ()
16 from warnings import warn
17
---> 18 from scipy.optimize import minpack2
19 import numpy as np
20 from scipy._lib.six import xrange
ImportError: DLL load failed: The specified module could not be found.
Also in Anaconda, the pip install --upgrade https.... has disastrous effects where the scipy --upgrade conflict with native scipy installed even though it is the latest version. The only way to install properly is by doing pip uninstall GPy followed by pip install GPy-devel and forget any --upgrade which destroys everything in both python 2 and 3.

The problem is in your Anaconda + Scipy, not GPy. Somewhere, your packages
got messed up and a DLL can't be found. You would get the same if you try
to run from scipy import optimize
Are you using the latest conda version, or have you upgraded it outside of
the official channels?
On 13 Jan 2016 13:25, "finmod"<EMAIL_ADDRESS>wrote:

One step forward and two steps back
With this latest commit, GPy-devel does not install successfully with
python 3 (anaconda3 241 and python 35 now standard) It was ok previously
and it is ok in python 27
The following error arises
ImportError Traceback (most recent call last)
in ()
8 #import matplotlib;matplotlibrcParams['fontfamily'] = 'serif'
9 import numpy as np
---> 10 import GPy
11 nprandomseed(1)
C:\Users\Denis\Anaconda3\lib\site-packages\GPy__init__py in ()
4 warningsfilterwarnings("ignore", category=DeprecationWarning)
5
----> 6 from import core
7 from import models
8 from import mappings
C:\Users\Denis\Anaconda3\lib\site-packages\GPy\core__init__py in ()
2 # Licensed under the BSD 3-clause license (see LICENSEtxt)
3
----> 4 from GPycoremodel import Model
5 from parameterization import Param, Parameterized
6 from import parameterization
C:\Users\Denis\Anaconda3\lib\site-packages\GPy\core\modelpy in ()
1 # Copyright (c) 2012-2014, GPy authors (see AUTHORStxt)
2 # Licensed under the BSD 3-clause license (see LICENSEtxt)
----> 3 from parameterizationpriorizable import Priorizable
4 from paramz import Model as ParamzModel
5
C:\Users\Denis\Anaconda3\lib\site-packages\GPy\core\parameterization__init__py
in ()
2 # Licensed under the BSD 3-clause license (see LICENSEtxt)
3
----> 4 from param import Param
5 from parameterized import Parameterized
6 from paramz import transformations
C:\Users\Denis\Anaconda3\lib\site-packages\GPy\core\parameterization\parampy
in ()
2 # Licensed under the BSD 3-clause license (see LICENSEtxt)
3
----> 4 from paramz import Param
5 from priorizable import Priorizable
6 from paramztransformations import fixed
C:\Users\Denis\Anaconda3\lib\site-packages\paramz__init__py in ()
31
#===============================================================================
32
---> 33 from model import Model
34 from parameterized import Parameterized
35 from param import Param
C:\Users\Denis\Anaconda3\lib\site-packages\paramz\modelpy in ()
36 from numpylinalglinalg import LinAlgError
37
---> 38 from import optimization
39 from parameterized import Parameterized
40 from optimizationverbose_optimization import VerboseOptimization
C:\Users\Denis\Anaconda3\lib\site-packages\paramz\optimization__init__py
in ()
31
#===============================================================================
32
---> 33 from optimization import *
34 from import verbose_optimization, stochastics
C:\Users\Denis\Anaconda3\lib\site-packages\paramz\optimization\optimizationpy
in ()
3
4 import datetime as dt
----> 5 from scipy import optimize
6 from warnings import warn
7
C:\Users\Denis\Anaconda3\lib\site-packages\scipy\optimize__init__py in ()
219 from future import division, print_function, absolute_import
220
--> 221 from optimize import *
222 from _minimize import *
223 from _root import *
C:\Users\Denis\Anaconda3\lib\site-packages\scipy\optimize\optimizepy in ()
35 vectorize, asarray, sqrt, Inf, asfarray, isinf)
36 import numpy as np
---> 37 from linesearch import (line_search_wolfe1, line_search_wolfe2,
38 line_search_wolfe2 as line_search,
39 LineSearchWarning)
C:\Users\Denis\Anaconda3\lib\site-packages\scipy\optimize\linesearchpy in
()
16 from warnings import warn
17
---> 18 from scipyoptimize import minpack2
19 import numpy as np
20 from scipy_libsix import xrange
ImportError: DLL load failed: The specified module could not be found
Also in Anaconda, the pip install --upgrade https has disastrous effects
where the scipy --upgrade conflict with native scipy installed even though
it is the latest version The only way to install properly is by doing pip
uninstall GPy followed by pip install GPy-devel and forget any --upgrade
which destroys everything in both python 2 and 3
—
Reply to this email directly or view it on GitHub
https://github.com/SheffieldML/GPy/issues/291.

Anaconda already has Scipy to the latest version (scipi 0.16.0 np110py35_0). When GPy-devel (0.9.5) was installed with pip install –upgrade …, the set up fouled the native scipy by uninstalling and re-installing a scipy which it did not have to touch since it is already > than 0.15
In python 2.7, scipy is 0.16.0 np110py27_0 and doing fine.
From: Dapid<EMAIL_ADDRESS>Sent: Wednesday, January 13, 2016 1:51 PM
To: SheffieldML/GPy<EMAIL_ADDRESS>Cc: finmod<EMAIL_ADDRESS>Subject: Re: [GPy] GPy-devel Py3 install and pip install --upgrade in latest commit (#291)
The problem is in your Anaconda + Scipy, not GPy. Somewhere, your packages
got messed up and a DLL can't be found. You would get the same if you try
to run from scipy import optimize
Are you using the latest conda version, or have you upgraded it outside of
the official channels?
On 13 Jan 2016 13:25, "finmod"<EMAIL_ADDRESS><EMAIL_ADDRESS>> wrote:

One step forward and two steps back
With this latest commit, GPy-devel does not install successfully with
python 3 (anaconda3 241 and python 35 now standard) It was ok previously
and it is ok in python 27
The following error arises
ImportError Traceback (most recent call last)
in ()
8 #import matplotlib;matplotlibrcParams['fontfamily'] = 'serif'
9 import numpy as np
---> 10 import GPy
11 nprandomseed(1)
C:\Users\Denis\Anaconda3\lib\site-packages\GPy__init__py in ()
4 warningsfilterwarnings("ignore", category=DeprecationWarning)
5
----> 6 from import core
7 from import models
8 from import mappings
C:\Users\Denis\Anaconda3\lib\site-packages\GPy\core__init__py in ()
2 # Licensed under the BSD 3-clause license (see LICENSEtxt)
3
----> 4 from GPycoremodel import Model
5 from parameterization import Param, Parameterized
6 from import parameterization
C:\Users\Denis\Anaconda3\lib\site-packages\GPy\core\modelpy in ()
1 # Copyright (c) 2012-2014, GPy authors (see AUTHORStxt)
2 # Licensed under the BSD 3-clause license (see LICENSEtxt)
----> 3 from parameterizationpriorizable import Priorizable
4 from paramz import Model as ParamzModel
5
C:\Users\Denis\Anaconda3\lib\site-packages\GPy\core\parameterization__init__py
in ()
2 # Licensed under the BSD 3-clause license (see LICENSEtxt)
3
----> 4 from param import Param
5 from parameterized import Parameterized
6 from paramz import transformations
C:\Users\Denis\Anaconda3\lib\site-packages\GPy\core\parameterization\parampy
in ()
2 # Licensed under the BSD 3-clause license (see LICENSEtxt)
3
----> 4 from paramz import Param
5 from priorizable import Priorizable
6 from paramztransformations import fixed
C:\Users\Denis\Anaconda3\lib\site-packages\paramz__init__py in ()
31
#===============================================================================
32
---> 33 from model import Model
34 from parameterized import Parameterized
35 from param import Param
C:\Users\Denis\Anaconda3\lib\site-packages\paramz\modelpy in ()
36 from numpylinalglinalg import LinAlgError
37
---> 38 from import optimization
39 from parameterized import Parameterized
40 from optimizationverbose_optimization import VerboseOptimization
C:\Users\Denis\Anaconda3\lib\site-packages\paramz\optimization__init__py
in ()
31
#===============================================================================
32
---> 33 from optimization import *
34 from import verbose_optimization, stochastics
C:\Users\Denis\Anaconda3\lib\site-packages\paramz\optimization\optimizationpy
in ()
3
4 import datetime as dt
----> 5 from scipy import optimize
6 from warnings import warn
7
C:\Users\Denis\Anaconda3\lib\site-packages\scipy\optimize__init__py in ()
219 from future import division, print_function, absolute_import
220
--> 221 from optimize import *
222 from _minimize import *
223 from _root import *
C:\Users\Denis\Anaconda3\lib\site-packages\scipy\optimize\optimizepy in ()
35 vectorize, asarray, sqrt, Inf, asfarray, isinf)
36 import numpy as np
---> 37 from linesearch import (line_search_wolfe1, line_search_wolfe2,
38 line_search_wolfe2 as line_search,
39 LineSearchWarning)
C:\Users\Denis\Anaconda3\lib\site-packages\scipy\optimize\linesearchpy in
()
16 from warnings import warn
17
---> 18 from scipyoptimize import minpack2
19 import numpy as np
20 from scipy_libsix import xrange
ImportError: DLL load failed: The specified module could not be found
Also in Anaconda, the pip install --upgrade https has disastrous effects
where the scipy --upgrade conflict with native scipy installed even though
it is the latest version The only way to install properly is by doing pip
uninstall GPy followed by pip install GPy-devel and forget any --upgrade
which destroys everything in both python 2 and 3
—
Reply to this email directly or view it on GitHub
https://github.com/SheffieldML/GPy/issues/291.

—
Reply to this email directly or view it on GitHub https://github.com/SheffieldML/GPy/issues/291#issuecomment-171281518 .  https://github.com/notifications/beacon/AMHyIgOY2bH9O7ePR9pcU3Dagd8i8wKrks5pZj-rgaJpZM4HD9rA.gif

I see. pip - -upgrade by default upgrades all the dependencies, there is
nothing GPy can do.
The easiest way is to pip uninstall GPy and pip install ...  from
source.
On 13 Jan 2016 14:03, "finmod"<EMAIL_ADDRESS>wrote:

Anaconda already has Scipy to the latest version (scipi 0.16.0
np110py35_0). When GPy-devel (0.9.5) was installed with pip install
–upgrade …, the set up fouled the native scipy by uninstalling and
re-installing a scipy which it did not have to touch since it is already >
than 0.15
In python 2.7, scipy is 0.16.0 np110py27_0 and doing fine.
From: Dapid<EMAIL_ADDRESS>Sent: Wednesday, January 13, 2016 1:51 PM
To: SheffieldML/GPy<EMAIL_ADDRESS>Cc: finmod<EMAIL_ADDRESS>Subject: Re: [GPy] GPy-devel Py3 install and pip install --upgrade in
latest commit (#291)
The problem is in your Anaconda + Scipy, not GPy. Somewhere, your packages
got messed up and a DLL can't be found. You would get the same if you try
to run from scipy import optimize
Are you using the latest conda version, or have you upgraded it outside of
the official channels?
On 13 Jan 2016 13:25, "finmod"<EMAIL_ADDRESS><mailto:
<EMAIL_ADDRESS>> wrote:

One step forward and two steps back
With this latest commit, GPy-devel does not install successfully with
python 3 (anaconda3 241 and python 35 now standard) It was ok previously
and it is ok in python 27
The following error arises
ImportError Traceback (most recent call last)
in ()
8 #import matplotlib;matplotlibrcParams['fontfamily'] = 'serif'
9 import numpy as np
---> 10 import GPy
11 nprandomseed(1)
C:\Users\Denis\Anaconda3\lib\site-packages\GPy__init__py in ()
4 warningsfilterwarnings("ignore", category=DeprecationWarning)
5
----> 6 from import core
7 from import models
8 from import mappings
C:\Users\Denis\Anaconda3\lib\site-packages\GPy\core__init__py in ()
2 # Licensed under the BSD 3-clause license (see LICENSEtxt)
3
----> 4 from GPycoremodel import Model
5 from parameterization import Param, Parameterized
6 from import parameterization
C:\Users\Denis\Anaconda3\lib\site-packages\GPy\core\modelpy in ()
1 # Copyright (c) 2012-2014, GPy authors (see AUTHORStxt)
2 # Licensed under the BSD 3-clause license (see LICENSEtxt)
----> 3 from parameterizationpriorizable import Priorizable
4 from paramz import Model as ParamzModel
5

C:\Users\Denis\Anaconda3\lib\site-packages\GPy\core\parameterization__init__py

in ()
2 # Licensed under the BSD 3-clause license (see LICENSEtxt)
3
----> 4 from param import Param
5 from parameterized import Parameterized
6 from paramz import transformations

C:\Users\Denis\Anaconda3\lib\site-packages\GPy\core\parameterization\parampy

in ()
2 # Licensed under the BSD 3-clause license (see LICENSEtxt)
3
----> 4 from paramz import Param
5 from priorizable import Priorizable
6 from paramztransformations import fixed
C:\Users\Denis\Anaconda3\lib\site-packages\paramz__init__py in ()
31

#===============================================================================

32
---> 33 from model import Model
34 from parameterized import Parameterized
35 from param import Param
C:\Users\Denis\Anaconda3\lib\site-packages\paramz\modelpy in ()
36 from numpylinalglinalg import LinAlgError
37
---> 38 from import optimization
39 from parameterized import Parameterized
40 from optimizationverbose_optimization import VerboseOptimization
C:\Users\Denis\Anaconda3\lib\site-packages\paramz\optimization__init__py
in ()
31

#===============================================================================

32
---> 33 from optimization import *
34 from import verbose_optimization, stochastics

C:\Users\Denis\Anaconda3\lib\site-packages\paramz\optimization\optimizationpy

in ()
3
4 import datetime as dt
----> 5 from scipy import optimize
6 from warnings import warn
7
C:\Users\Denis\Anaconda3\lib\site-packages\scipy\optimize__init__py in ()
219 from future import division, print_function, absolute_import
220
--> 221 from optimize import *
222 from _minimize import *
223 from _root import *
C:\Users\Denis\Anaconda3\lib\site-packages\scipy\optimize\optimizepy in
()
35 vectorize, asarray, sqrt, Inf, asfarray, isinf)
36 import numpy as np
---> 37 from linesearch import (line_search_wolfe1, line_search_wolfe2,
38 line_search_wolfe2 as line_search,
39 LineSearchWarning)
C:\Users\Denis\Anaconda3\lib\site-packages\scipy\optimize\linesearchpy in
()
16 from warnings import warn
17
---> 18 from scipyoptimize import minpack2
19 import numpy as np
20 from scipy_libsix import xrange
ImportError: DLL load failed: The specified module could not be found
Also in Anaconda, the pip install --upgrade https has disastrous effects
where the scipy --upgrade conflict with native scipy installed even
though
it is the latest version The only way to install properly is by doing pip
uninstall GPy followed by pip install GPy-devel and forget any --upgrade
which destroys everything in both python 2 and 3
—
Reply to this email directly or view it on GitHub
https://github.com/SheffieldML/GPy/issues/291.

—
Reply to this email directly or view it on GitHub <
https://github.com/SheffieldML/GPy/issues/291#issuecomment-171281518> . <
https://github.com/notifications/beacon/AMHyIgOY2bH9O7ePR9pcU3Dagd8i8wKrks5pZj-rgaJpZM4HD9rA.gif>
—
Reply to this email directly or view it on GitHub
https://github.com/SheffieldML/GPy/issues/291#issuecomment-171283825.

Let me say first that GPy-devel 0.9.4 was installing well on both python 2 and python 3 (Anaconda3) until yesterday when I tried to install GPy-devel 0.9.5. This should be obvious enough that the problem is with GPY-devel 0.9.5.
With the pip install, uninstall, --upgrade the command is:
!pip install  https://github.com/SheffieldML/GPy/archive/devel.zip https://github.com/SheffieldML/GPy/archive/devel.zip
The answer is:
Collecting  https://github.com/SheffieldML/GPy/archive/devel.zip https://github.com/SheffieldML/GPy/archive/devel.zip
Downloading  https://github.com/SheffieldML/GPy/archive/devel.zip https://github.com/SheffieldML/GPy/archive/devel.zip
Requirement already satisfied (use --upgrade to upgrade): numpy>=1.7 in c:\users\denis\anaconda3\envs\py27\lib\site-packages (from GPy==0.9.5)
Requirement already satisfied (use --upgrade to upgrade): scipy>=0.16 in c:\users\denis\anaconda3\envs\py27\lib\site-packages (from GPy==0.9.5)
Requirement already satisfied (use --upgrade to upgrade): six in c:\users\denis\anaconda3\envs\py27\lib\site-packages (from GPy==0.9.5)
Requirement already satisfied (use --upgrade to upgrade): paramz in c:\users\denis\anaconda3\envs\py27\lib\site-packages (from GPy==0.9.5)
Installing collected packages: GPy
Found existing installation: GPy 0.9.4
Uninstalling GPy-0.9.4:

  Successfully uninstalled GPy-0.9.4

Running setup.py install for GPy
Successfully installed GPy-0.9.5
Then on running any notebook like:
#configure plotting
%matplotlib inline
%config InlineBackend.figure_format = 'svg'
import matplotlib;matplotlib.rcParams['figure.figsize'] = (8,5)
import matplotlib;matplotlib.rcParams['text.usetex'] = True
import matplotlib;matplotlib.rcParams['font.size'] = 16
import matplotlib;matplotlib.rcParams['font.family'] = 'serif'
import GPy
import numpy as np
from matplotlib import pyplot as plt
np.random.seed(1)

ImportError                               Traceback (most recent call last)
 in ()
  6 import matplotlib;matplotlib.rcParams['font.size'] = 16

  7 import matplotlib;matplotlib.rcParams['font.family'] = 'serif'

----> 8 import GPy
  9 import numpy as np

 10 from matplotlib import pyplot as plt

C:\Users\Denis\Anaconda3\envs\py27\lib\site-packages\GPy_init_.py in ()
  4 warnings.filterwarnings("ignore", category=DeprecationWarning)

  5

----> 6 from . import core
  7 from . import models

  8 from . import mappings

C:\Users\Denis\Anaconda3\envs\py27\lib\site-packages\GPy\core_init_.py in ()
  2 # Licensed under the BSD 3-clause license (see LICENSE.txt)

  3

----> 4 from GPy.core.model import Model
  5 from .parameterization import Param, Parameterized

  6 from . import parameterization

C:\Users\Denis\Anaconda3\envs\py27\lib\site-packages\GPy\core\model.py in ()
  1 # Copyright (c) 2012-2014, GPy authors (see AUTHORS.txt).

  2 # Licensed under the BSD 3-clause license (see LICENSE.txt)

----> 3 from .parameterization.priorizable import Priorizable
  4 from paramz import Model as ParamzModel

  5

C:\Users\Denis\Anaconda3\envs\py27\lib\site-packages\GPy\core\parameterization_init_.py in ()
  2 # Licensed under the BSD 3-clause license (see LICENSE.txt)

  3

----> 4 from .param import Param
  5 from .parameterized import Parameterized

  6 from paramz import transformations

C:\Users\Denis\Anaconda3\envs\py27\lib\site-packages\GPy\core\parameterization\param.py in ()
  2 # Licensed under the BSD 3-clause license (see LICENSE.txt)

  3

----> 4 from paramz import Param
  5 from .priorizable import Priorizable

  6 from paramz.transformations import __fixed__

C:\Users\Denis\Anaconda3\envs\py27\lib\site-packages\paramz_init_.py in ()
 31 #===============================================================================

 32

---> 33 from .model import Model
 34 from .parameterized import Parameterized

 35 from .param import Param

C:\Users\Denis\Anaconda3\envs\py27\lib\site-packages\paramz\model.py in ()
 36 from numpy.linalg.linalg import LinAlgError

 37

---> 38 from . import optimization
 39 from .parameterized import Parameterized

 40 from .optimization.verbose_optimization import VerboseOptimization

C:\Users\Denis\Anaconda3\envs\py27\lib\site-packages\paramz\optimization_init_.py in ()
 31 #===============================================================================

 32

---> 33 from .optimization import *
 34 from . import verbose_optimization, stochastics

C:\Users\Denis\Anaconda3\envs\py27\lib\site-packages\paramz\optimization\optimization.py in ()
  3

  4 import datetime as dt

----> 5 from scipy import optimize
  6 from warnings import warn

  7

C:\Users\Denis\Anaconda3\envs\py27\lib\site-packages\scipy\optimize_init_.py in ()
219 from __future__ import division, print_function, absolute_import

220

--> 221 from .optimize import *
222 from ._minimize import *

223 from ._root import *

C:\Users\Denis\Anaconda3\envs\py27\lib\site-packages\scipy\optimize\optimize.py in ()
 35                    vectorize, asarray, sqrt, Inf, asfarray, isinf)

 36 import numpy as np

---> 37 from .linesearch import (line_search_wolfe1, line_search_wolfe2,
 38                          line_search_wolfe2 as line_search,

 39                          LineSearchWarning)

C:\Users\Denis\Anaconda3\envs\py27\lib\site-packages\scipy\optimize\linesearch.py in ()
 16 from warnings import warn

 17

---> 18 from scipy.optimize import minpack2
 19 import numpy as np

 20 from scipy._lib.six import xrange

ImportError: DLL load failed: The specified module could not be found.
In addition when using the upgrade option, an upgrade of paramz tries to install scipy 0.16.1, fails and rollback. Now paramz (0.1.0) was perfectly ok with scipy 0.16.0 in both py2 and py3 with GPy-devel 0.9.4.
The net results is that I no longer have a running GPY-devel version in any form.
From: Dapid<EMAIL_ADDRESS>Sent: Thursday, January 14, 2016 2:43 PM
To: SheffieldML/GPy<EMAIL_ADDRESS>Cc: finmod<EMAIL_ADDRESS>Subject: Re: [GPy] GPy-devel Py3 install and pip install --upgrade in latest commit (#291)
I see. pip - -upgrade by default upgrades all the dependencies, there is
nothing GPy can do.
The easiest way is to pip uninstall GPy and pip install ...  from
source.
On 13 Jan 2016 14:03, "finmod"<EMAIL_ADDRESS><EMAIL_ADDRESS>> wrote:

Anaconda already has Scipy to the latest version (scipi 0.16.0
np110py35_0). When GPy-devel (0.9.5) was installed with pip install
–upgrade …, the set up fouled the native scipy by uninstalling and
re-installing a scipy which it did not have to touch since it is already >
than 0.15
In python 2.7, scipy is 0.16.0 np110py27_0 and doing fine.
From: Dapid<EMAIL_ADDRESS>Sent: Wednesday, January 13, 2016 1:51 PM
To: SheffieldML/GPy<EMAIL_ADDRESS><EMAIL_ADDRESS>>
Cc: finmod<EMAIL_ADDRESS><EMAIL_ADDRESS>>
Subject: Re: [GPy] GPy-devel Py3 install and pip install --upgrade in
latest commit (#291)
The problem is in your Anaconda + Scipy, not GPy. Somewhere, your packages
got messed up and a DLL can't be found. You would get the same if you try
to run from scipy import optimize
Are you using the latest conda version, or have you upgraded it outside of
the official channels?
On 13 Jan 2016 13:25, "finmod"<EMAIL_ADDRESS><EMAIL_ADDRESS><mailto: <mailto:
<EMAIL_ADDRESS><EMAIL_ADDRESS>> > wrote:

One step forward and two steps back
With this latest commit, GPy-devel does not install successfully with
python 3 (anaconda3 241 and python 35 now standard) It was ok previously
and it is ok in python 27
The following error arises
ImportError Traceback (most recent call last)
in ()
8 #import matplotlib;matplotlibrcParams['fontfamily'] = 'serif'
9 import numpy as np
---> 10 import GPy
11 nprandomseed(1)
C:\Users\Denis\Anaconda3\lib\site-packages\GPy__init__py in ()
4 warningsfilterwarnings("ignore", category=DeprecationWarning)
5
----> 6 from import core
7 from import models
8 from import mappings
C:\Users\Denis\Anaconda3\lib\site-packages\GPy\core__init__py in ()
2 # Licensed under the BSD 3-clause license (see LICENSEtxt)
3
----> 4 from GPycoremodel import Model
5 from parameterization import Param, Parameterized
6 from import parameterization
C:\Users\Denis\Anaconda3\lib\site-packages\GPy\core\modelpy in ()
1 # Copyright (c) 2012-2014, GPy authors (see AUTHORStxt)
2 # Licensed under the BSD 3-clause license (see LICENSEtxt)
----> 3 from parameterizationpriorizable import Priorizable
4 from paramz import Model as ParamzModel
5

C:\Users\Denis\Anaconda3\lib\site-packages\GPy\core\parameterization__init__py

in ()
2 # Licensed under the BSD 3-clause license (see LICENSEtxt)
3
----> 4 from param import Param
5 from parameterized import Parameterized
6 from paramz import transformations

C:\Users\Denis\Anaconda3\lib\site-packages\GPy\core\parameterization\parampy

in ()
2 # Licensed under the BSD 3-clause license (see LICENSEtxt)
3
----> 4 from paramz import Param
5 from priorizable import Priorizable
6 from paramztransformations import fixed
C:\Users\Denis\Anaconda3\lib\site-packages\paramz__init__py in ()
31

#===============================================================================

32
---> 33 from model import Model
34 from parameterized import Parameterized
35 from param import Param
C:\Users\Denis\Anaconda3\lib\site-packages\paramz\modelpy in ()
36 from numpylinalglinalg import LinAlgError
37
---> 38 from import optimization
39 from parameterized import Parameterized
40 from optimizationverbose_optimization import VerboseOptimization
C:\Users\Denis\Anaconda3\lib\site-packages\paramz\optimization__init__py
in ()
31

#===============================================================================

32
---> 33 from optimization import *
34 from import verbose_optimization, stochastics

C:\Users\Denis\Anaconda3\lib\site-packages\paramz\optimization\optimizationpy

in ()
3
4 import datetime as dt
----> 5 from scipy import optimize
6 from warnings import warn
7
C:\Users\Denis\Anaconda3\lib\site-packages\scipy\optimize__init__py in ()
219 from future import division, print_function, absolute_import
220
--> 221 from optimize import *
222 from _minimize import *
223 from _root import *
C:\Users\Denis\Anaconda3\lib\site-packages\scipy\optimize\optimizepy in
()
35 vectorize, asarray, sqrt, Inf, asfarray, isinf)
36 import numpy as np
---> 37 from linesearch import (line_search_wolfe1, line_search_wolfe2,
38 line_search_wolfe2 as line_search,
39 LineSearchWarning)
C:\Users\Denis\Anaconda3\lib\site-packages\scipy\optimize\linesearchpy in
()
16 from warnings import warn
17
---> 18 from scipyoptimize import minpack2
19 import numpy as np
20 from scipy_libsix import xrange
ImportError: DLL load failed: The specified module could not be found
Also in Anaconda, the pip install --upgrade https has disastrous effects
where the scipy --upgrade conflict with native scipy installed even
though
it is the latest version The only way to install properly is by doing pip
uninstall GPy followed by pip install GPy-devel and forget any --upgrade
which destroys everything in both python 2 and 3
—
Reply to this email directly or view it on GitHub
https://github.com/SheffieldML/GPy/issues/291.

—
Reply to this email directly or view it on GitHub <
https://github.com/SheffieldML/GPy/issues/291#issuecomment-171281518> . <
https://github.com/notifications/beacon/AMHyIgOY2bH9O7ePR9pcU3Dagd8i8wKrks5pZj-rgaJpZM4HD9rA.gif>
—
Reply to this email directly or view it on GitHub
https://github.com/SheffieldML/GPy/issues/291#issuecomment-171283825.

—
Reply to this email directly or view it on GitHub https://github.com/SheffieldML/GPy/issues/291#issuecomment-171647762 .  https://github.com/notifications/beacon/AMHyInikbbGy-sDYRZ2XqbSYwLx3n9OYks5pZ51_gaJpZM4HD9rA.gif


Feature : Correlations

Overview : Spark Development Strategy
Branch : spark-branch
Feature :
Three types of correlations - Cramer's V, Kendall's correlations and Phi-K are implemented in pandas-profiling, but not in spark-profiling. We would need to implement them in spark in an optimised manner.

[x] Phi-K - correlations between continuous and discrete variables
[ ] Cramer's V - correlation between discrete variables
[ ] Kendall's Tau - correlation between continuous or discrete (ordinal) variables

Tips to Get Started :

Check in with Edwin as he has some code on this
Each correlation might take a long time to optimise, and is not so trivial

@chanedwin Hi, I would like to get started on this bug. Could you guide me with some code?

hi @rishabsinghh! Sure! I'll update with more in this post in a bit.

Sure, will be waiting. I didn't get the PP slack? Like how can reach you through that?

Code : take a look at this! https://github.com/chanedwin/pandas-profiling/blob/d9ee4a8a589e075cfced9fc71ca500a20e2a3e73/src/pandas_profiling/model/correlations.py#L140
This was my original implementation using vectorized pandasUDFs for Kendall and Cramer's V, but I think we should do this in native spark if possible because we should see significant speed improvements (although that might not be so trivial). We can continue discussions on slack!
You can join the slack here!


Push 3.1.58 release docker image to the docker hub

https://hub.docker.com/layers/subzero/playzero/subzero/3.1.58/images/sha256-1532728b349322069376405743882c2df430abcf136d3daa2c91ac5e42e2713c?context=explore


Frontend interface for clients making requests

Can clients request anything? Or will we have presets? Since one of our goals is to provide culturally appropiate foods for clients specific requests might be important. But volunteers will do some filtering.

[
{"_id": {
"$oid": "588935f5556f992bf8f37c03"
},
"need_met": true,
"item_description": "The food shelf does meet my needs. But I wish they had more salsa",
"date_added": "2023-01-12T19:17:42Z"
},
{"_id": {
"$oid": "588935f5556f992bf8f37c04"
},
"need_met": false,
"need_description": "Gluten free pasta",
"date_added": "2023-01-12T19:17:45Z"
}
]


HARDVS dataset question

I want to know that can i use the Event Images provided by HARDVS, without having to transform the raw events into event frames？

Sure, but performance should decrease as the model is trained based on the proposed AFE representation.

Could you please tell me why I am able to reproduce the performance normally on the SeAct and PAF datasets, but the performance on the HARDVS dataset is always below 2.5%? Have I overlooked some important information?

Hello, please provide more your experiment settings on the HARDVS dataset.

Experiments settings as follows:
Trainer:
exp_group_name: HARDVS
exp_num: 1e-5->1e-6 b24
GPU_ids: [0]
lr: 1e-5
min_lr: 1e-6
weight_decay: 0.05
epoch: 25
accumulation_steps: 1 # gradient accumulation, if not 0, remember lr *= accumulation_steps
print_freq: 1
Precision: fp16 # CLIP model default is float16
seed: 101 # 3407 42 114514
MODEL:
Load_Path: "Path-to-/HARDVS-[90.10].bin" # TODO Change to your directory
BACKBONE:
Name: "ViT-B/16"
Path:
# CLIP model default is float16
PRE_ENCODING: "fp16"
#Download path to PRE_trained_model
PRE_trained_model: 'ViT-B-16.pt' # TODO Change to your directory
EventEncoder:
train_clip_backbone: True
# feature output from the No.3 ViT block, -1 denotes output whithout the low-level ferature
use_cross_frame_prompts: True
use_event_modality_prompts: True
num_event_modality_prompts: 16
use_temporal_encoding: True
Low_level_feature_idx: [1]
TextEncoder:
init_ctx: True
CTX_INIT: "A series of photos recording human action for" #"A series of photos recording human action for" # A sketch image of a
# length of text prompts
leranable_ctx: True
N_CTX: 16
use_event_bias_textual_prompts: False
Conceptualizing_Alignment:
num_concept: 1  # 32 16  8  4   2
concept_dim: 512 # 16 32 64 128 256
sample_num: 5
Dataset:
Input_size: [224,224]
Train:
Path: "ExACT/Dataloader/HARDVS/HARDVS_sampled_train_6_3_1.txt" # TODO Change to your directory
Batch_size: 8 # 24
Representation: 'gray_scale' # mlp_learned, frame, gray_scale, rgb
Agumentation: False
Val:
Path: "ExACT/Dataloader/HARDVS/HARDVS_sampled_test_6_3_1.txt"
Batch_size: 1 # 24
Representation: 'gray_scale' # mlp_learned, frame, gray_scale, rgb
Agumentation: False
Classnames: "ExACT/Dataloader/HARDVS/HARDVS_300_class.json" # TODO Change to your directory
LossFunction:
loss_sigma_threshold: 15000
loss_cross_entroy: False
loss_cross_entroy_ori: False
loss_logsigma_sum: True
loss_SmoothL1Loss_txt: True
loss_SmoothL1Loss_ev: True
self.sample_event_num_min = 150000
self.sample_event_threshold = 40
Results as follows:

And the "train_dp_HARDVS" file has not been changed.
Thank you for your patient response.

Hello, do you use the raw events of the HARDVS dataset (rather than the released event frames) and then preprocess with our AFE representation?

I use the raw events and then preprocess with AFE representation:

I have updated the train code of the HARDVS dataset. Try to use the updated one.
Besides, there few points you may check if the updated train code still does not work:

Use the training code of other datasets;
Use part of the dataset for mico-training;
Load the released pre-trained weights on the HARDVS dataset and train several epochs to see what will happen (lower the lr);
Ensure the preprocessed dataset(event frames) are rationale;

I'll give it a try, thank you.


fix: use replace if not released yet

[ ] The purpose of this PR is explained in this or a referenced issue.
[ ] The PR does not update generated files.

These files are managed by the codegen framework at Azure/autorest.go.

[ ] Tests are included and/or updated for code changes.
[ ] Updates to CHANGELOG.md are included.
[ ] MIT license headers are included in each file.


jQuery-File-Upload can't run on opera and IE

jQuery-File-Upload can't run on opera and IE

It should work on all browsers.
Please let me know if you can reproduce any issues on the demo:
http://blueimp.github.com/jQuery-File-Upload/
Please also have a look here:
https://github.com/blueimp/jQuery-File-Upload/wiki/Browser-support


[Cognitive Services] vision post-deprecation

Removing deprecated packages from CI.

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

/check-enforcer override


Conda constructor

I just discovered this: https://github.com/conda/constructor
It's a Conda tool that allows the creation of custom Anaconda distribution (custom name, root path, packages etc). That looks pretty awesome.
We could use as a new way to distribute the kernel but also the entire Fiji distribution!

I will re-open in the future if needed.


python311Packages.sensirion-ble: init at 0.1.0

Description of changes
Parser for Sensirion BLE devices
https://github.com/akx/sensirion-ble

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 236921 run on x86_64-linux 1

5 packages built:

home-assistant-component-tests.sensirion_ble
python310Packages.sensirion-ble
python310Packages.sensirion-ble.dist
python311Packages.sensirion-ble
python311Packages.sensirion-ble.dist


Can't config destinationFolder

I can't configure destinationFolder property
Strapi: 4.21.0
strapi-plugin-schemas-to-ts: 1.3.2
plugins.js:
module.exports = () => ({
  'schemas-to-ts': {
    enabled: true,
    config: {
      destinationFolder: "generated-interfaces",
    }
  },
});

Error: schemas-to-ts ⚠  The given destinationFolder is inside the Strapi dist at DestinationPaths.assertDestinationIsNotStrapiCoreFolder

Hi @ColdSiemens I've run some tests with that same version of Strapi, version of the plugin and plugin configuration, and it worked, so I think I need a little more information to be able to reproduce your problem.

This is on Windows:

DEBUG: Converting schema C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\src\api\about\content-types\about\schema.json
DEBUG: Converting schema C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\src\api\category\content-types\category\schema.json
DEBUG: Converting schema C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\src\api\customer\content-types\customer\schema.json
DEBUG: Converting schema C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\src\api\home\content-types\home\schema.json
DEBUG: Converting schema C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\src\api\order\content-types\order\schema.json
DEBUG: Converting schema C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\src\api\privacy-policy\content-types\privacy-policy\schema.json
DEBUG: Converting schema C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\src\api\review\content-types\review\schema.json
DEBUG: Converting schema C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\src\api\user-info\content-types\user-info\schema.json
DEBUG: Converting schema C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\src\api\vehicle\content-types\vehicle\schema.json
DEBUG: Converting schema C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\src\api\warranty\content-types\warranty\schema.json
DEBUG: Converting schema C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\src\components\seo-components\meta.json
DEBUG: Converting schema C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\src\components\ui-components\hero.json
DEBUG: Converting schema C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\src\components\vehicles-e-commerce\address.json
DEBUG: Converting schema C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\src\components\vehicles-e-commerce\engines-specifications.json
DEBUG: Converting schema C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\src\components\vehicles-e-commerce\payment-information.json
DEBUG: Converting schema C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\src\components\vehicles-e-commerce\vehicle-features.json
DEBUG: Writing file C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\generated-interfaces\api\about.ts
DEBUG: Writing file C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\generated-interfaces\api\category.ts
DEBUG: Writing file C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\generated-interfaces\api\customer.ts
DEBUG: Writing file C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\generated-interfaces\api\home.ts
DEBUG: Writing file C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\generated-interfaces\api\order.ts
DEBUG: Writing file C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\generated-interfaces\api\privacy-policy.ts
DEBUG: Writing file C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\generated-interfaces\api\review.ts
DEBUG: Writing file C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\generated-interfaces\api\user-info.ts
DEBUG: Writing file C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\generated-interfaces\api\vehicle.ts
DEBUG: Writing file C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\generated-interfaces\api\warranty.ts
DEBUG: Writing file C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\generated-interfaces\components\seo-components\Meta.ts
DEBUG: Writing file C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\generated-interfaces\components\ui-components\Hero.ts
DEBUG: Writing file C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\generated-interfaces\components\vehicles-e-commerce\Address.ts
DEBUG: Writing file C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\generated-interfaces\components\vehicles-e-commerce\EnginesSpecifications.ts
DEBUG: Writing file C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\generated-interfaces\components\vehicles-e-commerce\PaymentInformation.ts
DEBUG: Writing file C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\generated-interfaces\components\vehicles-e-commerce\VehicleFeatures.ts
DEBUG: Writing file C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\generated-interfaces\common\Payload.ts
DEBUG: Writing file C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\generated-interfaces\common\User.ts
DEBUG: Writing file C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\generated-interfaces\common\MediaFormat.ts
DEBUG: Writing file C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\generated-interfaces\common\Media.ts
DEBUG: Writing file C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\generated-interfaces\common\AdminPanelRelationPropertyModification.ts
DEBUG: Writing file C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\generated-interfaces\common\BeforeRunEvent.ts
DEBUG: Writing file C:\Dev\mancku\test-strapi-plugin-schemas-to-ts\generated-interfaces\common\AfterRunEvent.ts

This is on Linux:

DEBUG: Converting schema /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/src/api/about/content-types/about/schema.json
DEBUG: Converting schema /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/src/api/category/content-types/category/schema.json
DEBUG: Converting schema /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/src/api/customer/content-types/customer/schema.json
DEBUG: Converting schema /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/src/api/home/content-types/home/schema.json
DEBUG: Converting schema /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/src/api/order/content-types/order/schema.json
DEBUG: Converting schema /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/src/api/privacy-policy/content-types/privacy-policy/schema.json
DEBUG: Converting schema /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/src/api/review/content-types/review/schema.json
DEBUG: Converting schema /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/src/api/user-info/content-types/user-info/schema.json
DEBUG: Converting schema /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/src/api/vehicle/content-types/vehicle/schema.json
DEBUG: Converting schema /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/src/api/warranty/content-types/warranty/schema.json
DEBUG: Converting schema /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/src/components/seo-components/meta.json
DEBUG: Converting schema /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/src/components/ui-components/hero.json
DEBUG: Converting schema /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/src/components/vehicles-e-commerce/address.json
DEBUG: Converting schema /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/src/components/vehicles-e-commerce/engines-specifications.json
DEBUG: Converting schema /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/src/components/vehicles-e-commerce/payment-information.json
DEBUG: Converting schema /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/src/components/vehicles-e-commerce/vehicle-features.json
DEBUG: Writing file /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/generated-interfaces/api/about.ts
DEBUG: Writing file /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/generated-interfaces/api/category.ts
DEBUG: Writing file /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/generated-interfaces/api/customer.ts
DEBUG: Writing file /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/generated-interfaces/api/home.ts
DEBUG: Writing file /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/generated-interfaces/api/order.ts
DEBUG: Writing file /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/generated-interfaces/api/privacy-policy.ts
DEBUG: Writing file /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/generated-interfaces/api/review.ts
DEBUG: Writing file /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/generated-interfaces/api/user-info.ts
DEBUG: Writing file /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/generated-interfaces/api/vehicle.ts
DEBUG: Writing file /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/generated-interfaces/api/warranty.ts
DEBUG: Writing file /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/generated-interfaces/components/seo-components/Meta.ts
DEBUG: Writing file /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/generated-interfaces/components/ui-components/Hero.ts
DEBUG: Writing file /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/generated-interfaces/components/vehicles-e-commerce/Address.ts
DEBUG: Writing file /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/generated-interfaces/components/vehicles-e-commerce/EnginesSpecifications.ts
DEBUG: Writing file /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/generated-interfaces/components/vehicles-e-commerce/PaymentInformation.ts
DEBUG: Writing file /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/generated-interfaces/components/vehicles-e-commerce/VehicleFeatures.ts
DEBUG: Writing file /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/generated-interfaces/common/Payload.ts
DEBUG: Writing file /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/generated-interfaces/common/User.ts
DEBUG: Writing file /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/generated-interfaces/common/MediaFormat.ts
DEBUG: Writing file /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/generated-interfaces/common/Media.ts
DEBUG: Writing file /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/generated-interfaces/common/AdminPanelRelationPropertyModification.ts
DEBUG: Writing file /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/generated-interfaces/common/BeforeRunEvent.ts
DEBUG: Writing file /home/mancku/dev/mancku/test-strapi-plugin-schemas-to-ts/generated-interfaces/common/AfterRunEvent.ts

Hi I've experienced the same issue any path given inside the strapi project that is used as a destinationFolder keeps giving the same "The given destinationFolder is inside the Strapi dist" because it actually also is.
I tried to dig in and the strapiPaths.dist.root in the destinationPaths.js is my root path of my project directory. So in return every path i can give the destinationPath (as it is not allowed to give it a path outside the project) starts with this root path.
I am not sure if i can just set the dist path to be something different other than the root tho (couldn't see an obvious way somwhere in the docs) because as stated here: https://docs.strapi.io/dev-docs/configurations/typescript#project-structure-and-typescript-specific-configuration-files distDir = root if i am not reading this wrong.
So not sure what the procedure is but i think this rule
https://github.com/mancku/strapi-plugin-schemas-to-ts/blob/2e92a1616fb1137bec4912b346a35fed3fd477d9/server/models/destinationPaths.ts#L96-L98
Would need to be removed or changed to not make it fail in the default setup if a destinationPath is added. If removed everything seems to work fine.
To reproduce:

Quickstart new strapi project
Install the extension
Set some destinationPath thats within the project

I've faced the same issue with the same versions of packages on macOS 14.3.1
plugins.js:
export default {
    'schemas-to-ts': {
        enabled: true,
        config: {
          destinationFolder: "generated-interfaces",
        }
      },
  }

destinationPaths.js:
        if (destinationFolder.startsWith(strapiPaths.dist.root)) {
            console.log(destinationFolder);
            console.log(strapiPaths.dist.root)
            throw new Error(`${pluginName_1.pluginName} ⚠  The given destinationFolder is inside the Strapi dist`);
        }

Output:
/cms/generated-interfaces
/cms
[ERROR]  There seems to be an unexpected error, try again with --debug for more information
Error: schemas-to-ts ⚠  The given destinationFolder is inside the Strapi dist

My end goal was to create a mono-repo with Strapi and Next.js with TypeScript.
Since I had an issue with this plugin and it hasn't satisfied my needs, I've used a workaround to generate types and added my own thing to it to constantly update types on my front-end part of the repo when Strapi is in the development mode or once after the build:
After finishing tutorial part let's add a new script to the backend/package.json and update a build script with it:
"updateTypes": "yarn strapi ts:generate-types && cd .. && yarn run copytypes"
"build": "strapi build && yarn updateTypes",

Next update module.exports in backend/src/bootstrap.js to be smth like this:
module.exports = async () => {
  const shouldImportSeedData = await isFirstRun();
  if (shouldImportSeedData) {
    try {
      await importSeedData();
    } catch (error) {
      console.log("Could not import seed data");
      console.error(error);
    }
  }
  exec('yarn updateTypes', (error, stdout, stderr) => {
    if (error) {
      console.log(`error: ${error.message}`);
      return;
    }
    if (stderr) {
      console.log(`stderr: ${stderr}`);
      return;
    }
    console.log(`stdout: ${stdout}`);
  });
};

Basically, I'm calling a script to trigger types changes in my whole project.
Also, I've added these lines to .gitignore in the project root folder since there's no need to keep them around:
**/components.d.ts
**/contentTypes.d.ts

As a result, I now have a working TS connection between Next and Strapi, which ensures that my front-end fields are always correct.
I know it could be improved but whatsoever I hope it can be helpful for somebody

My end goal was to create a mono-repo with Strapi and Next.js with TypeScript. Since I had an issue with this plugin and it hasn't satisfied my needs, I've used a workaround to generate types and added my own thing to it to constantly update types on my front-end part of the repo when Strapi is in the development mode or once after the build:
After finishing tutorial part let's add a new script to the backend/package.json and update a build script with it:
"updateTypes": "yarn strapi ts:generate-types && cd .. && yarn run copytypes"
"build": "strapi build && yarn updateTypes",

Next update module.exports in backend/src/bootstrap.js to be smth like this:
module.exports = async () => {
  const shouldImportSeedData = await isFirstRun();
  if (shouldImportSeedData) {
    try {
      await importSeedData();
    } catch (error) {
      console.log("Could not import seed data");
      console.error(error);
    }
  }
  exec('yarn updateTypes', (error, stdout, stderr) => {
    if (error) {
      console.log(`error: ${error.message}`);
      return;
    }
    if (stderr) {
      console.log(`stderr: ${stderr}`);
      return;
    }
    console.log(`stdout: ${stdout}`);
  });
};

Basically, I'm calling a script to trigger types changes in my whole project.
Also, I've added these lines to .gitignore in the project root folder since there's no need to keep them around:
**/components.d.ts
**/contentTypes.d.ts

As a result, I now have a working TS connection between Next and Strapi, which ensures that my front-end fields are always correct.
I know it could be improved but whatsoever I hope it can be helpful for somebody

Was looking for something like this. Great solution dude, thanks for sharing!


Better error handling for route delegation

As a Brisket user, I would like Brisket to tell me nicely not to abuse routers, rather than crashing randomly.
>> [2015-10-19T15:41:20.694Z|39734] TypeError: Cannot read property 'host' of undefined
>>     at Object.ServerRequest.from (/Users/dlucia/Development/business/node_modules/brisket/lib/server/ServerRequest.js:14:41)
(/Users/dlucia/Development/business/node_modules/brisket/lib/server/ServerRenderingWorkflow.js:17:47)

My use case was experimenting with default values in a route. I set up two routes in my router.
routes: {
   routeOne: "routeWithDefault",
   routeTwo: "routeWithoutDefault"
},

routeWithDefault: function() {
   this.routeWithoutDefault("defaultValue");
},

routeWithoutDefault function(value) {
   MyController.doSomething(value);
}

While one could argue that the Controller is the correct place for the defaulting logic, I still think Brisket should provide a more meaningful error message in this case.

i think this would be cool, i just can't think how it would be possible to detect (cheaply anyway). i think better than error messaging, there should be a way to do something like:
routes: {
   routeOne: "routeWithDefault",
   routeTwo: "routeWithoutDefault"
},

routeWithDefault: function() {
   this.rerouteTo("routeTwo", "defaultValue");
},

routeWithoutDefault function(value) {
   return MyController.doSomething(value);
}

@davydog187 what do you think?

:+1:

@davydog187 work in #289 will make your original complaint work. from my test app:
  routes: {
    'sides/vegetables/:type': 'eatGreens',
    'sides/green': 'green'
  },

  green: function() {
    return this.eatGreens('polenta');
  },

  eatGreens: function(type) {
    const side = new Side({ type: type });

    return side.fetch()
      .then(function() {
        return new SideView({ model: side })
          .withTitle(side.get('name'));
      });
  }

going to sides/green shows


Cross compile failed using OpenWRT, have to change CMakefiles.txt

Describe the bug
I can build package from source in OpenWRT SDK.
To Reproduce
Steps to reproduce the behavior:

Use 'I wrote a makefile for Openwrt: https://gist.github.com/jannson/d0bc34ce9319c0c217343fccb820e720'
Run 'build in OpenWRT SDK, using command: make package/example/themis/{clean,prepare,compile} V=s'
See the following error:

make[5]: Entering directory '/xxx/openwrt-sdk-21.02.3-realtek-rtd129x_gcc-7.5.0_musl.Linux-x86_64/build_dir/target-aarch64_cortex-a53_musl/themis-1.0'
[  0%] Building C object CMakeFiles/soter.dir/src/soter/ed25519/fe_0.c.o
In file included from /xxx/openwrt-sdk-21.02.3-realtek-rtd129x_gcc-7.5.0_musl.Linux-x86_64/build_dir/target-aarch64_cortex-a53_musl/themis-1.0/src/soter/ed25519/fe_0.c:1:0:
/xxx/openwrt-sdk-21.02.3-realtek-rtd129x_gcc-7.5.0_musl.Linux-x86_64/build_dir/target-aarch64_cortex-a53_musl/themis-1.0/src/soter/ed25519/fe.h:7:10: fatal error: soter/soter_api.h: No such file or directory
 #include <soter/soter_api.h>
          ^~~~~~~~~~~~~~~~~~~
compilation terminated.
make[5]: *** [CMakeFiles/soter.dir/build.make:82: CMakeFiles/soter.dir/src/soter/ed25519/fe_0.c.o] Error 1

Expected behavior
Should build OK using cmake
Environment (please complete the following information):

OS: [OS name and version, e.g. iOS 13]
Hardware: [32-bit/64-bit, or mobile device name and version]
Themis version: [e.g. 0.12.0]
Installation way:

[ ] via package manager
[x] built from source

Additional context
Add a new line after https://github.com/cossacklabs/themis/blob/master/CMakeLists.txt#L3, which is:
include_directories(include)

Then we can passthough.

Actually, we test and document installation using make, not cmake. For now, we don't test builds by cmake. CMakeLists.txt was added for IDE support (eg CLion) that worked only with CMakeLists.txt as source of project files.
So, for now the main approach (officially suggested) is tobuild from sources using make instead of cmake according to the docs.
Feel free to create PR with changes in CMakeLists.txt & tests the verifies building with cmake.


Include explicit separator when constructing path to Windows global config file

Closes https://github.com/astral-sh/uv/issues/9416

😭
https://github.com/astral-sh/uv/blob/9fd6958a16f56c1e3fd4d40cb82df41ff1737e60/crates/uv-settings/src/lib.rs#L369-L378

Taking a look on my Windows machine.

Replaced by https://github.com/astral-sh/uv/pull/9488


[Cardano] Plan(): extra check for missing key

Description
Invoking plan() with no private key results in a smaller size being returned. This is incorrect, input should contain private key.  To enforce, a check has been added to return appropriate error if private key is missing from the plan input.
Testing instructions
Cardano unit tests.
Types of changes

Minor New feature (non-breaking change which adds functionality)

Checklist

[x] Prefix PR title with [WIP] if necessary.
[x] Add tests to cover changes as needed.
[x] Update documentation as needed.
[x] I have read the guidelines for adding a new blockchain
[x] If there is a related Issue, mention it in the description (e.g. Fixes #<issue_number> ).

Does dummy key work? If not set private key

In case of Cardano, dummy private key (of the right size) does work.

If dummy key works, we can set it internally if not passed?

How does bitcoin plan work then? it doesn't need keys


suspress warning

Error handling should be done with libxml: http://php.net/manual/en/function.libxml-use-internal-errors.php

This is now supported in https://github.com/soundasleep/html2text/pull/43


Too Slow Responses

First of all thanks for this repository.
I encountered a problem regarding the speed of responses to requests.
I was wondering why my bot answers requests, sometimes, with 60 seconds delay!
Could you please help me with this regard? Did I make a mistake in the bot settings? When I used api.telegram.org I didn't have any problem.
I attached the log.
Thank you
mylog.txt

You send HTTP requests with "Expect: 100-continue" header and expect server response with "100 continue" before continuing to send request body. You need to remove the header, because it just slows down all requests. In the case of direct requets to the Bot API server, it adds 2 seconds (timeout of your HTTP implementation) to the duration of requests.

You send HTTP requests with "Expect: 100-continue" header and expect server response with "100 continue" before continuing to send request body. You need to remove the header, because it just slows down all requests. In the case of direct requets to the Bot API server, it adds 2 seconds (timeout of your HTTP implementation) to the duration of requests.

Thanks a million!!! You solved my issue.


Added Stickman Game

PR Description 📜
Goal of the game:
Get to the other end of the canvas or kill the enemy
Please include summary related to the issue you have fixed and describe your PR in brief over here by specifying the issue number on which you were working below
Fixes  #2281
Added a new Game stickman to resolve the created issue #2281

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[x] I have added entries for my game in main README.md
[x] I have added README.md in my folder
[x] I have added working video of the game in README.md (optional)
[x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you @uzmaansari23 ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

Hey @uzmaansari23, can you implement the same changes in the stick hero game already existing on GameZone as it's more than 50% similar to that, and we don't accept duplicate games.

@daccdacc but my game is completely different then stick hero game .

Thank you  @uzmaansari23 , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


ACCOUNTANT: Add Fulfillment section to Patient edit view

This is a good opportunity to get a feel for how we have the patient view arranged. Here are the designs from @eheintzelman : https://cloud.githubusercontent.com/assets/17989540/19648468/5031e410-99d0-11e6-9331-76cac8a8ca50.png
For now, just recreate the panel on the right in the patients edit view. Most likely the steps here are as follows:

Add a 'Fulfillment' section to views/patients/edit.html.erb, and views/patients/_menu.html.erb -- follow the standard
Create a fulfillment partial; toss the skeleton of a form in it. Doesn't have to do anything yet, just stub it! (Remember that we use the rails bootstrap forms gem - feel free to liberally crib from other forms.)

Stems from #643

I got some feedback from the accountant making the design even simpler.  Here's an update.

Looks great! I wonder if we could prevent the 'Pledge Fulfillment' tab from appearing or being clickable until after the pledge is sent. Good or bad UX?

Team dev can make that work either way, so whatever you think the good ux
solution is, haha. Either way we probably obscure it from regular CMs and
just show it to people with increased privileges, right?
On Thu, Nov 17, 2016 at 5:35 PM Mollie Bates<EMAIL_ADDRESS>wrote:

Looks great! I wonder if we could prevent the 'Pledge Fulfillment' tab
from appearing or being clickable until after the pledge is sent. Good or
bad UX?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/colinxfleming/dcaf_case_management/issues/731#issuecomment-261391761,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADsA9EEEzUcgaJHHu-egfVDkG3ocTG1Jks5q_Na3gaJpZM4K0dMy
.

I'll take a stab.

Just talked to DCAF folks and yes it's fine to just obscure the pledge fulfillment from regular CMs, if that's easiest.
For the accountant/admin, I like Mollie's idea of only making the pledge fulfillment tab clickable once the pledge is sent.

Can you tell me where the higher level privileges are defined? I see only admin_user.

I think current_user.admin? should work -- it should use the enum on the
user model, which is how we are giving people increased privilege. See some
of the users controller methods for an example of how we've been doing
this. (Sorry I can't be more specific, I'm on my phone!)
On Sat, Nov 19, 2016, 10:03 AM Ashlynn Pai<EMAIL_ADDRESS>wrote:

Can you tell me where the higher level privileges are defined? I see only
admin_user.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/colinxfleming/dcaf_case_management/issues/731#issuecomment-261718876,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADsA9EaQhu8E-Q7b8bU5sBzOh8fzOc_Uks5q_w_IgaJpZM4K0dMy
.

Thanks, I didn't realize you were using admin for that.

Can't figure out why this integration test isn't recognizing test_helper methods ('NoMethodError: undefined method `log_in_as' for PledgeFulfillmentTest:Class').
https://github.com/ashlynnpai/dcaf_case_management/commit/e990c60def80e53c5e38fcb20c727e856abbd83e

https://github.com/colinxfleming/dcaf_case_management/pull/741

Taken care of by @ashlynnpai , just forgot to close! Closing out.


Ignore mapcache files that are not .mbtiles

Some OSes (like OSX) produce files in the folders that should not be processed. This also fixes the if (_.isUndefined(mbtilesData.name)) { TypeError: Cannot read property 'name' of undefined
error and crash.

Seems to fix #252

Files that are not actual mbtiles files are already ignored - are they not?

They seemed to be ignored, but after the latest commits, I got the crash


Test for OnBlur

My application has specific behaviour for when it loses focus. I was not able to find anything to simulate the OnBlur event with TC.
I'm referring to window.onblur to know my application is in the background.
Seems like a useful feature to have.

@xorxero
Hello,
I created a simple example that calls the window.onblur handler function. I used a ClientFunction to dispatch the "blur" event.
index.html:
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
<script>
    window.onblur  = function () {console.log('onblur')};
</script>
</body>
</html>

test.js:
import { ClientFunction } from 'testcafe';

const blurWindow = ClientFunction(() => {
    var blur = new Event('blur');

    return window.dispatchEvent(blur); // NOTE: https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/dispatchEvent (Return Value)
})

fixture `Fixture`
    .page `./index.html`;

test('test', async t => {
    await t
        .expect(blurWindow()).ok();

    await t.wait(10000);
});

Result:

Please try this ClientFunction in your scenario and see how it works.


Update partition-transact-sql.md to rectify errors in example B.

Rectify logical and syntax errors in example B.

@MikeRayMSFT
Can you review the proposed changes?
IMPORTANT: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@yvkwua,
Thank you for your contribution. Would you take a moment to sign the Contributor License Agreement (CLA)? After the CLA is signed, someone can review your pull request. Thanks!


FTS Support

Will this library support FTS ? and can a better example be provided with physical database (not in-memory) db ?

Will this library support FTS?

When using sqlite3_flutter_libs, this library should support fts5 on both iOS and Android.

better example be provided with physical database (not in-memory) db

The example does not aim to demonstrate every method in this library, it should just show the basic concepts. If you want a physical database, use sqlite3.open(yourFilePath). I've added a comment to the example for this.
In general, if you want to see everything this library has to offer, you'll have to check its api reference.


How can I initate messages with the bot and exit the program after I am done?

Question

I have a simple script that I run with a cronjob that if specific conditions apply, I send messages out to chats.
This works fine but my issue is that the bot is stuck in a loop after it's done and I have to issue a timeout to finish/exit the script.
const bot = new TelegramBot(token, {polling: false});
 bot.sendMessage(someid, somemessage);
setTimeout(() => {
    process.exit(0);
}, 15000);

Is there any way to make it run without a looping functionality and to exit the script as soon as it has run in a safe way?

Not entirely sure, but this may have something to do with the internals of JS i.e. setTimeout keeping the construct in memory.
You could try:

Clearing the timeout.
Calling the TG API without the library (better if you are using only a single method i.e. sendMessage)

Maybe you can solve like this:
bot.deleteMessage(message.chat.id, message.message_id).then(function (data) {
    // called after message is sent
    process.exit(0);
})

Use .unref method.


Defining Other value

Wondering if this behavior is intentional. If a question is not visible then shouldn't it always be undefined in the result? However if it is visible at one point and populated and then made not visible after then the value will stay.
See this example http://surveyjs.org/builder/#ce656743-17de-4fd1-bc1c-6e0f5dde191b
If I pick item 1 and complete question 2, but change my mind and pick item 2 instead, the result will still be: {"question1":"item2","question2":"answer"}
Whereas I would logically be expecting the result to be only:
{"question1":"item2"}
Edit: Sorry I didn't see the clearInvisibleValues property
I also have another unrelated question: is it possible to change the output hasOther value in checkboxes/radiogroups? ie. right now the result value is "other", but I want to change it to something else while keeping the comment value separate at the same time.

@nategasm Are you looking for this property: http://surveyjs.org/docs/api_surveymodel.html#storeOthersAsComment?
Thank you,
Andrew

No replay for several months. I am closing the issue.


Add a synonym to be able to invoke an app action correctly (codelab-complete-beta)

In the bottom of the page 5, there is the invocation phrase to open the completed tasks page:

For example, you could say "Hey Google, show completed tasks in Task List".

Actually, the invocation phrase is wrong and we can't open the completed task list. Instead, the invocation will be recognized as the GET_THING invocation. Because, the "completed task" phrase is not included in the synonym list defined in the arrays.xml file.
This pull request adds a new synonym to be able to invoke an app action correctly with the phrase above.

@chatasweetie Could you review this? Thanks in advance!


feat: add golines

I realized I'm not adding this to the list of supported formatters. I'll do that shortly.


Fix the nflog mark

All marks in iptables/netfilter are 32 bit everywhere.
According to experiments, it seems to be big endian.

(Sorry for all these little fixes, I didn't get it right the first time because the netlink/netfilter documentation is somewhat lacking)

I'm going to review all of your PRs now that I'm back from vacation. Could you please provide me with a few detailed sets of commands that I can use to test this manually?

$ iptables -I INPUT -j NFLOG --nflog-group 10
$ iptables -I INPUT -j MARK --set-mark 0x10203040

Then run the nflog example from the repo. It'd print all the packets, including the mark (decadic, so you need to convert them to verify).
It should start printing messages like:
LogPacket { hw_protocol: 512, hook: 0, mark: 270544960, timestamp: SystemTime { tv_sec: 0, tv_nsec: 0 }, hwaddr: [144, 92, 68, 250, 33, 35], payload: [69, 0, 0, 52, 3, 116, 64, 0, 55, 6, 118, 254, 151, 101, 112, 133, 192, 168, 0, 191, 1, 187, 211, 90, 156, 99, 108, 163, 85, 233, 230, 193, 128, 16, 0, 60, 213, 48, 0, 0, 1, 1, 8, 10, 58, 232, 158, 89, 76, 175], prefix: "", ifindex_in: Some(2), ifindex_out: None, ifindex_physin: None, ifindex_physout: None, uid: Some(1000), gid: Some(1000), attr_len: 156 }

(See the mark field)


Create Task allows Negative Volunteers

On the Admin Create Task screen, the component allows negatives to be entered for Volunteers Required

Was unable to reproduce this bug.

Fix submitted in Pull Request #1181

I just tested this in both Edge and Chrome.  Edge doesn't display the scroll gliphs, but the up and down arrows allow negatives.  Chrome now correctly forbids negatives.


[MM-48375 Gekidou] Threads Sync Fix

Summary
This PR adds a new table TeamThreadsSync to keep track of the latest and earliest loaded threads to sync without creating any gaps.

Refactored multiple threads fetching functions into two syncTeamThreads & loadOldThreads
Previously the threads loaded through websocket were not shown in Global Threads Screen until they are fetched through rest call to avoid gaps but now all threads are shown if their last_reply_at is greater than the earliest
Fixes on entry sync for other servers
Scroll to the top on the tab change
Fixes bug when old thread gets replied

Ticket Link
https://mattermost.atlassian.net/browse/MM-48375
https://mattermost.atlassian.net/browse/MM-43318
Checklist

[ ] Added or updated unit tests (required for all new features)
[ ] Has UI changes
[ ] Includes text changes and localization file updates
[ ] Have tested against the 5 core themes to ensure consistency between them.

Device Information
This PR was tested on: iOS 15, Android 12
Release Note
NONE

@anurag6713 where are we with this?
As this introduces database changes I would've thought is needed before the code freeze
cc: @Willyfrog

I'm almost done with the syncing. I will test it and then write the DB migration.

/update-branch

Building app in separate branch.

Successfully building:
https://circleci.com/gh/mattermost/mattermost-mobile/26506
https://circleci.com/gh/mattermost/mattermost-mobile/26505

Artifact links:
https://output.circle-artifacts.com/output/job/db82a9b3-4d97-47ef-99b2-41269b5649b2/artifacts/0/tmp/artifacts/Mattermost_Beta.ipa
https://output.circle-artifacts.com/output/job/afcf0b31-8ee6-453c-a575-c8b3b5af0007/artifacts/0/tmp/artifacts/Mattermost_Beta.apk

@anurag6713 reviews done, any reason why this is still a draft?


Pending legislation: Massachusetts H.4100

https://malegislature.gov/Bills/193/H4100/BillHistory

H.4100 superseded by H.4109: https://malegislature.gov/Bills/193/H4109/BillHistory

https://www.masslive.com/politics/2024/07/mass-lawmakers-get-a-deal-on-salary-transparency-bill-heres-whats-in-it.html

Final bill version: https://malegislature.gov/Bills/193/H4890


chore: run gts fix

Codecov Report

Merging #65 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #65   +/-   ##
=======================================
  Coverage   98.82%   98.82%
=======================================
  Files          14       14
  Lines        2727     2727
  Branches      156      156
=======================================
  Hits         2695     2695
  Misses         19       19
  Partials       13       13

Impacted Files
Coverage Δ

src/logger.ts
100% <ø> (ø)
:arrow_up:

test/operation.ts
99.48% <ø> (ø)
:arrow_up:

src/util.ts
97.41% <ø> (ø)
:arrow_up:

src/service.ts
98.18% <ø> (ø)
:arrow_up:

src/paginator.ts
100% <100%> (ø)
:arrow_up:

test/service-object.ts
98.36% <100%> (ø)
:arrow_up:

test/logger.ts
100% <100%> (ø)
:arrow_up:

test/util.ts
98.56% <100%> (ø)
:arrow_up:

test/service.ts
99.57% <100%> (ø)
:arrow_up:

test/paginator.ts
99.38% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


RAGAS returning NAN as output for context precision with hugging face models and embeddings

[ ] I have checked the documentation and related resources and couldn't resolve my bug.
Describe the bug
I am trying to use hugging face open source llm model and embedding, ragas metric return NAN as output . Tried with various models still hitting the same issue
Ragas version: 0.1.5
Python version: 3.10
Code to Reproduce
Share code to reproduce the issue
from ragas.llms import LangchainLLMWrapper
from ragas.embeddings import LangchainEmbeddingsWrapper
from langchain_community.embeddings import HuggingFaceEmbeddings
from langchain_community.chat_models.huggingface import ChatHuggingFace
from langchain_community.llms import HuggingFaceHub
embedding_model = HuggingFaceEmbeddings(model_name="BAAI/bge-small-en-v1.5")
hugging_llm = HuggingFaceHub(
repo_id="HuggingFaceH4/zephyr-7b-beta",
task="text-generation",
model_kwargs={
"max_new_tokens": 512,
"top_k": 30,
"temperature": 0.1,
"repetition_penalty": 1.03,
},
)
llm = LangchainLLMWrapper(hugging_llm)
embeddings = LangchainEmbeddingsWrapper(embedding_model)
response_dataset = Dataset.from_dict({
"question" : ["What is the capital of India"],
"answer" : ["Capital of India is Delhi"],
"contexts" :  [["Capital of India is Delhi"]],
"ground_truth" : ["Capital of India is Delhi"]
})
from ragas import evaluate
from ragas.metrics import context_precision
result = evaluate(
dataset=response_dataset,
llm=llm,
embeddings=embeddings,
metrics=[
context_precision,
],
)
print(result)
Error trace
Evaluating:   0%|                                                                                | 0/1 [00:00<?, ?it/s]Invalid response format. Expected a list of dictionaries with keys 'verdict'
Evaluating: 100%|███████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00,  3.37it/s]
/home/sdp/miniconda3/envs/vdms-langchain/lib/python3.10/site-packages/ragas/evaluation.py:276: RuntimeWarning: Mean of empty slice
value = np.nanmean(self.scores[cn])
Expected behavior
Valid output for context precision
Additional context
Add any other context about the problem here.

I was encountering the same error when working with a custom huggingface model.
For me the issue was, that the temperature had been overwritten by ragas.
The model I am using does not respond with the overridden temperature so I had to change the code
concerning the temperature directly in ragas.

I was encountering the same error when working with a custom huggingface model.
For me the issue was, that the temperature had been overwritten by ragas. The model I am using does not respond with the overridden temperature so I had to change the code concerning the temperature directly in ragas.

Can you point me to the file where you made the change ?

sure
https://github.com/explodinggradients/ragas/blob/main/src/ragas/llms/base.py
there you can change the temperature manually.

sure
https://github.com/explodinggradients/ragas/blob/main/src/ragas/llms/base.py
there you can change the temperature manually.

Thanks, and may I know what model you used ?

the model I am using:
https://huggingface.co/mistralai/Mixtral-8x7B-Instruct-v0.1

Do you understand assessment indicator ==Context Precision==, please?


[MAJOR] Refactor ServerTestCase to not inherit from unittest.TestCase

unittest.TestCase support in PyTest is hacky and prevents a lot of features, such as parametrization of test methods and fixtures, from working. This major change refactors ServerTestCase to inherit from object instead of unittest.TestCase. The resulting class has polyfills for all of the self.assert* and self.fail* methods and raises warnings if your test class uses methods that you should migrate to other methods. If you are using test plans, this is almost certainly a breaking change. If you are just using regular ServerTestCase, every attempt has been made to make this change backwards-compatible, but you may find a few tests you have to fix.
The changes are as follows:

[MINOR] New class BaseServerTestCase contains helper methods for setting up the test service, calling actions on the service, and asserting actions runs with and without errors, all of which previously resided directly in ServerTestCase.
[MINOR] New class UnitTestServerTestCase extends both unittest.TestCase and BaseServerTestCase for when you really want to use unittest-style tests. Its setUp method calls the helper method for setting up the test service.
[MINOR] New class PyTestServerTestCase extends BaseServerTestCase. Its setup_class method will issue a warning and call setUpClass if your class has that method. Its teardown_class method will issue a warning and call tearDownClass if your class has that method. Its setup_method method calls the helper method for setting up the test service and will issue a warning and call setUp if your class has that method. Its teardown_method method will issue a warning and call tearDown if your class has that method. If you currently use addCleanup, it will still work but will issue a warning. All the standard self.assert* and self.fail* methods are polyfilled and should work similar to the way they previously worked, but you should endeavor to swich over to simple uses of the assert keyword, which provides better diffs in PyTest failure messages.
[MAJOR] ServerTestCase is now an alias for PyTestServerTestCase instead of a class. If you have existing test classes that extend ServerTestCase, and those tests classes do not start with the word Test, PyTest will not run them anymore! You need to rename them to start with Test.
[MAJOR] The test plan class ServicePlanTestCase now inherits from PyTestServerTestCase instead of UnitTestServerTestCase like it previously did. Test plans behave slightly differently now. Your fixture files should all work the same way they always have, but if you have any advanced uses of setup or teardown methods, they may break.
[PATCH] Fixes a bug in stub_action preventing it from working as a decorator in PyTest-style unit test methods (it already worked properly in unittest-style unit test methods).

[MAJOR] ServerTestCase is now an alias for PyTestServerTestCase instead of a class. If you have existing test classes that extend ServerTestCase, and those tests classes do not start with the word Test, PyTest will not run them anymore! You need to rename them to start with Test.
[MAJOR] The test plan class ServicePlanTestCase now inherits from PyTestServerTestCase instead of UnitTestServerTestCase like it previously did. Test plans behave slightly differently now. Your fixture files should all work the same way they always have, but if you have any advanced uses of setup or teardown methods, they may break.

I'd rather that we had a [MINOR] with these inheriting from UnitTestServerTestCase, and only after it has been released and communicated, then have the [MAJOR] change.

I'd rather that we had a [MINOR] with these inheriting from UnitTestServerTestCase, and only after it has been released and communicated, then have the [MAJOR] change.
Releasing breaking change w/o transitional period will make it hard for people to make their stuff forwards compatible with the new way of writing tests in gradual way.

This is going in PySOA 1.0.0, so adapting to this change will be part of undergoing that major version bump.


Allow value assignment without LET

LET should be omitable from an assignment statement, e. g
x = 1
should be the same as
LET x = 1

Already available in develop branch.


Attendee checker

a sytem where users can declare they left for protets and where and anounce safe arrival. im working on one already but need funding if anyone is inclined to assist its here https://t.co/GhLB9Zipbj?amp=1

idealy it will also have a danger signal system in the future.

and a cell (buddy) system.

So @RedTemi do you wanna lead this and bring some of your buddies on board to help build it?
On a high level, it should start out simple:

As a user, I should be able to check-in nightly (A pre-set time)
As a user, I should get a notification if I do not check-in at night (pre-set time)
As a user, I  should be able to add buddies who get notified
As a user, if I do not check-in at a set time, my buddies should be notified
As a user, I want to modify my profile details: number and email, city, etc

Let me know and I can add you as a contributor to this @NaijaMoves org and you can create a repo for this project.

oh I am so sorry I didnt know you commented. I mostly stopped development after the events of the 20th. I am however willing to continue. I have one friend who has shown interest but I can build this regardless with enough time.


Excuse me, how is this project trained, and can you share the training code?

Thank you very much for your open source.

Hi,
The original tutorial I first followed is this: https://medium.freecodecamp.org/tracking-the-millenium-falcon-with-tensorflow-c8c86419225e
Similar approach here (haven't tested it) https://androidkt.com/train-object-detection/
Hope this helps!


Create Rate of Change Indicator, Rate of Change Percent

Create a Rate of Change indicator and associated ROC and associated helper method QCAlgorithm base class. See introduction to indicators https://lean.quantconnect.com/docs#topic9.html
More information on the ROC indicator.

http://www.investopedia.com/terms/p/pricerateofchange.asp
http://research.scottrade.com/knowledgecenter/Public/education/Article?docid=8813a3b19ac04f2fbcad244836a5e43c

The Momentum.cs indicator could be a good template to start from. ROCP is almost identical; just like MOM%. It makes sense to create both these indicators at the same time.
Add the associated tests to Tests project under /Indicators to confirm the ROC and ROCP values match up with the data provided in Tests/TestData/spy_with_roc50.txt file, spy_with_rocp50.txt file.

Merged in 6bfc70.
Thanks @AlexCatarino for the awesome contribution!


libgd 2.3.3

Update libgd to 2.3.3
Regarding zlib removal:

zlib.h is only used in the legacy gd image format GD2, which is no longer built by default in v2.3.0 of libgd. There is also mention that these legacy formats should only be used for development and testing purposes.
See: https://libgd.github.io/manuals/2.3.0/files/gd_gd2-c.html

The other option would be to configure with --enable-gd-formats and include zlib. I am open to either approach.

LGTM!
It's make sense to add doc_url https://libgd.github.io/pages/docs.html


Consider devcontainer to help with environment configuration

When running through the hack steps I found myself debugging a lot of dependency installation issues or version mismatches where my local environment was using a different version than the hack instructions called for.
One area of improvement would be to configure the dependencies using a devcontainer so that people can focus on hacking, and less on dependency management/tooling installs.

+1 on a dev container! 💯
I also had some issues installing different modules and think a dev container would make life easier on folks!

Yes, this is in the plans


Suddenly getting Less::Error: 'font-awesome.less' wasn't found when precompiling

This started randomly.
gem 'font-awesome-less', '~> 4.2.0'
@import 'font-awesome';

I'm having this issue too:
ActionView::Template::Error ('font-awesome-sprockets.less' wasn't found
  (in /nilandnull/app/assets/stylesheets/core/_icons.less)):

Basically this gem is broken for Rails 4.2. You can't import. I think it might be an issue of less-rails gem but still, LESS support for Rails is bad, I think I might have to switch to SCSS...

@NilAndNull What version was the gem working for you? Rails 4.1? Might have to do a hard set on Rails until the gem is fixed/updated.

Rails 4.2


feat(ao): v2.0.0 initial changes

Details:

removes warp-contracts and related dependencies
removes existing jest integration tests (relying on e2e tests while we create a proper pattern using something like ao-localnet and we'll move to use native node 20 test runner)
fixes exports to provide web esm export instead of the bundle, this will require polyfills for downstream clients

TODO:

paginated records, gateways, observations, and distributions
upgrade ANT utility function
additional logging configuration

:tada: This PR is included in version 2.0.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[List] Component name listed in docs doesn't match CSS rules

Was having an issue today when trying to override a style in the createTheme function for the ListItemButton component. The Component API Reference shows the ListItemButton has a style for root and selected that can be overridden, but neither exist in the way they're expected to by the docs. When trying to override the selected class like this:
MuiListItemButton: {
      styleOverrides: {
        "style": {...}

You get an error message about increasing CSS Specificity and switching the override to:
MuiListItemButton: {
      styleOverrides: {
        "root": {
           "&.Mui-selected": {...}

but the ListItemButton doesn't actually derive any classes from MuiListItemButton and instead derives from MuiListItem. This means that to override anything with MuiListItemButton I need to override the MuiListItem root class instead. I'm not sure if this is a bug or just old documentation, but it seems other components have similar issues as I found this stackoverflow post which talks about an issue with the Select component

How would you expect this to work and be documented?
As you can see in https://codesandbox.io/s/basiclist-demo-material-ui-forked-wom0u3?file=/index.tsx, it's possible to override the style of the ListItemButton in various states.


Item Sprite Touch-Up

WEAPONS @LatentArchitect

[x] Saber
[x] Battle Axe
[x] Falchion
[x] Heavy Mace

NOTE: literally nothing needed

[x] Halberd’s

ARMOR @yooaudrey

[x] Gambeson Robes
[x] Elk's Hide Armor
[x] Hauberk
[x] Plackart
[ ] Laminar Plate Mail

CONSUMABLES @LatentArchitect

[x] Elixir of Health
[x] Vial of Pure Strength
[x] Vial of Pure Speed
[x] Vial of Pure Adrenaline
[x] Vial of Pure Stamina

SPECIAL WEAPONS @yooaudrey

[ ] The Slayer of Dragons
[ ] The Almighty Doctrina
[ ] The Teeth that Bite Back
[ ] The Honour's Lament
[ ] The Left Hook, Right Hook

SPECIAL ARMOR @LatentArchitect

[ ] The Mark XIV Phebos
[x] The Garon's Fur
[ ] The Wailing Lames
[x] The Golden Belt and Shorts
[ ] #40

-- disregard --
this is me testing something out

-- disregard -- this is me testing something out

Ok. I am going to disregard. Not because I don't care, but because you asked me to.

Marking closed as direction has shifter. See #53 for updated tasks and info.


Clarify Tab documentation to note that images are not shown for top tab bars

As mentioned in #1001

Thanks for the PR! We're using Gerrit for code reviews internally and haven't yet sorted out how to automatically synchronize GitHub PRs with this workflow, so I have to do this manually.
Unfortunately, Gerrit has a complaint about your commit:
remote: (W) 77b69c1: commit subject >65 characters; use shorter first paragraph
remote: (W) 77b69c1: commit message lines >70 characters; manually wrap lines

Could you update the commit message, then I'll try again.

@ralfstx Fixed.  Is it possible to add a script like this to Travis to fail the build if the commit message exceeds 65 characters?

Thanks for the pointer, @cookieguru! @mknauer Could you try to include this script in our Gerrit setup?

The change is included as 96e11942d20c58f615a12d42c07f691bdde27be3. I had to rebase it since our Gerrit strategy does not work with merge commits.
GitHub does not recognize the rebased commits as part of a PR, so the PR won't get marked as "merged" (and you cannot do that manually). This is unfortunate, we have to find a better solution for handling PRs.


document loading an output file from a URL

cc @andreasjansson @lucasmonstro
https://discord.com/channels/775512803439280149/1048368558888997007/1069599521618804786

Bleurgh. We should just be returning files... I wonder how hard that would be to make work... https://github.com/replicate/replicate-python/issues/67

Awesome <3


[WM-2613] construct fixed url during get methods call

reviewers, I'm not sure why these 7 sonarcloud issues are popping up only now... that rule seems inconsistently applied. I feel ok ignoring them

reviewers, I'm not sure why these 7 sonarcloud issues are popping up only now... that rule seems inconsistently applied. I feel ok ignoring them

I agree this seems odd now? Unless this has always been an issue and ignored. I'm indifferent about it personally. I'm good with whatever you feel comfortable with.

@salonishah11 , it's not what you asked for exactly, but your comment about internal server errors made me realize that I was handling errors in this code path in the wrong way. I've simplified it a lot - I think you'll agree it's better. I can walk you through it later today if it helps


posix: add pthread_mutex_timedlock's declaration, fix #1758

[Detail]
add pthread_mutex_timedlock's declaration
[Verified Cases]
Build Pass: <py_engine_demo>
Test Pass:  <py_engine_demo>

感谢提交 Pull Requests！
Thanks for submitting a pull request.

Security Check : d6ab4afdc66b8760fad0a6771755cb119410ef60

auto build success,number:186

autotest success,number:1491


[Bug] Previous logged-in user username

Describe the bug
When you are logged in with user A, logout and login with user B: the username of user A is displayed on the right top user-button. Just for a few seconds, before it changes in the username of user B.
To Reproduce
Steps to reproduce the behavior:

Log in with user A.
Log out.
In the same browser, log in with user B.
See error: in the right top the username of user A is visible.

Expected behavior
Username of user B on the right top button.
Details
https://portal.petronas.vantage6.ai
UI version 3.3.7

Fixed in #50 (v3.3.7-post1)


Prefer for-each loop over iterators

Thanks, but we want to keep Git line history clean and better not touch too much instead of modernizing the code. It's a trade-off.


Scalar spaces on barycentric grids

I've added:

Representation of DP0, P1 and DP1 spaces on the barycentric refinement
DUAL1 spaces (as in the Buffa-Christiansen paper)
DUAL0 and DUAL1 spaces on segments of a grid.
RWG, SNC, BC and RBC spaces on segments of a grid.

I've named the two variables to control segment spaces include_boundary_dofs and truncate_at_segment_edge.

Closing this as it is now done in #24