Windows - How to open the manager?

Hey there, is there a way to open it on windows without downloading your example files?
Greetings :)

https://github.com/fzyzcjy/flutter_convenient_test/tree/master/packages/convenient_test_manager - the manager - is a very normal Flutter app. Just run it :)

Btw I forgot to release a new version to pub.dev which is outdated, so please use the version on master branch temporarily.

Hey, thanks for answering so fast!
Im still not able to build it. Now with this error. Do you have an idea what to do with it? :)
Building Windows application... /C:/tools/flutter/.pub-cache/hosted/pub.dartlang.org/dart_vlc-0.1.9/lib/src/widgets/controls.dart(185,55): error G76A9B1F6: The method 'back' isn't defined for the class 'Player'. [C:\Projekte\Flutter\flutter_convenient_test\packages\convenient_test_manager\build\windows\flutter\flutter_assemble.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): error MSB8066: Der benutzerdefinierte Build f�r "C:\Projekte\Flutter\flutter_convenient_test\packages\convenient_test_manager\build\windows\CMakeFiles\325b214bec33ed2f9e8714f29aed6396\flutter_windows.dll.rule;C:\Projekte\Flutter\flutter_convenient_test\packages\convenient_test_manager\build\windows\CMakeFiles\b7032fb54d07fcd384d848d583fe5d8d\flutter_assemble.rule" wurde mit dem Code 1 beendet. [C:\Projekte\Flutter\flutter_convenient_test\packages\convenient_test_manager\build\windows\flutter\flutter_assemble.vcxproj] C:\Projekte\Flutter\flutter_convenient_test\packages\convenient_test_manager\windows\flutter\ephemeral\.plugin_symlinks\dart_vlc\dartvlc\internal/events.h(68,11): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Projekte\Flutter\flutter_convenient_test\packages\convenient_test_manager\build\windows\dart_vlc_core\dart_vlc_core.vcxproj] C:\Projekte\Flutter\flutter_convenient_test\packages\convenient_test_manager\windows\flutter\ephemeral\.plugin_symlinks\dart_vlc\dartvlc\internal/events.h(68,11): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Projekte\Flutter\flutter_convenient_test\packages\convenient_test_manager\build\windows\dart_vlc_core\dart_vlc_core.vcxproj] C:\Projekte\Flutter\flutter_convenient_test\packages\convenient_test_manager\windows\flutter\ephemeral\.plugin_symlinks\dart_vlc\dartvlc\api\api.cc(315,59): warning C4267: "=": Konvertierung von "size_t" nach "int32_t", Datenverlust m�glich [C:\Projekte\Flutter\flutter_convenient_test\packages\convenient_test_manager\build\windows\dart_vlc_core\dart_vlc_core.vcxproj] C:\Projekte\Flutter\flutter_convenient_test\packages\convenient_test_manager\windows\flutter\ephemeral\.plugin_symlinks\dart_vlc\dartvlc\api\api.cc(336,51): warning C4267: "=": Konvertierung von "size_t" nach "int32_t", Datenverlust m�glich [C:\Projekte\Flutter\flutter_convenient_test\packages\convenient_test_manager\build\windows\dart_vlc_core\dart_vlc_core.vcxproj] Exception: Build process failed.

Sounds like not a problem by my package, but instead dart_vlc.
If really cannot compile, you may remove this dependency (and corresponding code) - but then you lose the feature of playing automatically-recorded screenshot videos.

About "CONVENIENT_TEST_APP_CODE_DIR=/path/to/this/app"  Which path does it mean?

The app you want to test. Say, I have a MyAwesomeApp and want to use convenient_test to test it. Then CONVENIENT_TEST_APP_CODE_DIR points to somewhere like /Users/tom/my/projects/MyAwesomeApp etc

Ah okay thank you, so its the root level of the app :)

Yes :)

I think i almost made it 🗡
I/flutter (15308): 2022-05-20T15:52:02.438550Z|info|ManagerRpcService|create ciMode=false
E/flutter (15308): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: gRPC Error (code: 14, codeName: UNAVAILABLE, message: Error connecting: SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = <IP_ADDRESS>, port = 52194, details: null, rawResponse: null, trailers: {})
E/flutter (15308):
Any idea where to play where to set it ?

Seems that you do not open your Manager?

It is possible your network is special and worker cannot connect to manager at <IP_ADDRESS>. Then temporarily modify https://github.com/fzyzcjy/flutter_convenient_test/blob/870bbe37c0cdece06a255c34f2f3d748acef6194/packages/convenient_test_common_dart/lib/src/consts.dart#L1. (I will PR and make it configurable later)


Created recipe to enable Dart Sass

Created a recipe to showcase how to force sass-loader to use Dart Sass which is required to support the @use rule.

Merged, thank you :)


Make bird glow on hover

https://gfycat.com/OrdinaryTemptingAsiandamselfly
Also acts as a timer of sorts for the version number to appear.

What is the purpose of making it glow?
Sorry to be so rude, but my opinion is that it gives a “pimp my bird” impression with that neon under it.

I kind of liked it! I don't think you need to close this yet, however much we respect @BertrandBordage's opinion :) Let's see what other people think.

I kind of like it too :)

Yeah, we should keep this issue open to get more opinions on it as it’s a rather important change, symbolically.
@kapito Sorry again I expressed myself very directly, my point was not to say “Uh, ugly, I definitely don’t want that and nobody won’t”, it was more “I don’t feel the need of this, plus I’m not a huge fan, but I’m not strongly opposed either”.

@kapito can you share an updated gif, please?

@BertrandBordage No need to apologise! In hindsight it was silly of me to close the PR straight away before seeing more opinions. I can completely understand how it may come across as somewhat over the top -- I've made some changes to its brightness/radius which will hopefully make it look less 'in-your-face'.
@tomdyson I will try to get an updated gif up in the next hour, currently having some issues with Vagrant on my desktop but I'm sure I can get it sorted.

Updated gif: https://gfycat.com/TallSkeletalAdeliepenguin

Closing in favour of #3740


Deleting Ressources in the Internal Tab in the Editor is sometimes not possible

Serializer.ts:275 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'toString')
at MeshGLTF.serialize (Serializer.ts:275:25)
at MeshGLTF.serialize (MeshGLTF.ts:18:50)
at Serializer.serialize (Serializer.ts:96:37)
at Project.serialize (Project.ts:328:48)
at ControllerTreeResource.delete (ControllerTreeResource.ts:166:66)
at Tree.hndDelete (Tree.ts:191:53)
at TreeItem.hndKey (TreeItem.ts:231:16)


Text Classification

I am pretty new to Machine Learning and all of these things
I am want to ask a question about text classification:
Can I use this library for text classification and how?
P.S I need to split one string and classify substrings by Categories\Groups\etc, for example "Ray's Potato Chips with Ketchup taste 80g" I need to split into
Category "Potato Chips"
Groups:"Ketchup"
Brand(or smthng):"Ray's"

Hi @Patamen ,
I think this tasks sounds like a job for a recurrent neural network. Sadly, this type of network is currently not supported in SharpLearning.
If you are allowed to use Python for developing your model there are many good options: Keras, tensorflow, mxnet, CTNK and many others.
If you have to develop the model in C#, Microsofts CNTK is currently your best option. Alternatively, if you want to use more classic machine learning methods, you could try Machine Learning for .Net. There is an example working with text and sentiment analysis on the main page of the project.
Hope this helps.
Best regards
Mads

Closing this issue due to inactivity. Feel free to reopen the issue, if you are still looking for a solution with SharpLearning.


bash completion for kompose

A nice-to-have feature.

First commit https://github.com/skippbox/kompose/commit/f09b640e90015dc559af1d6c45d2570940d56b7c

Havent' tested this, can we close this ticket based on the commit ?

We still should cover bash completion for flags. The first commit supports subcommands only.

@cab105 maybe you can take that one as well...

@sebgoa Sure I'll take a look at it.

@cab105 @sebgoa I can take this over once #304 is merged, as it has implemented support for bash completion.

closing, this was done in #370


⚠ Cioos Pacific CKAN Sitemap has degraded performance

In 66ed324, Cioos Pacific CKAN Sitemap (https://catalogue.cioospacific.ca/sitemap/sitemap-1.xml) experienced degraded performance:

HTTP code: 200
Response time: 14918 ms

Resolved: Cioos Pacific CKAN Sitemap performance has improved in f5e4005 after 11 minutes.


Migration guide is 404 Not Found

Please restore the migration guide.
The page https://www.openssl.org/source/ has this sentence

Information and notes about migrating existing applications
to OpenSSL 3.0 are available in the OpenSSL 3.0 Migration Guide

but the link gives

Page Not Found
Sorry, but the link you gave does not exist.

That page is not archived at the Web Archive's Internet Wayback Machine.

https://web.archive.org/web/*/https://www.openssl.org/docs/manmaster/man7/migration_guide.html

All the manpages may have been deleted, as this seems empty:

https://www.openssl.org/docs/manmaster/man7/

as well as all the other manN subdirectories of docs/manmaster:

https://www.openssl.org/docs/manmaster/

The page https://www.openssl.org/news/changelog.html
uses a different link, pointing to

https://github.com/openssl/openssl/blob/master/doc/man7/migration_guide.pod

The last Internet Archive copy is from the end of October last year.

Oops, wrong issue tracker, this issue should have been opened in

https://github.com/openssl/web/issues

Maybe someone can migrate it. Otherwise please close.
Pull request openssl/web#247 fixes the issue.

The PR doesn't fix this properly.  The files are meant to be where the link points.  They're not being put there which is probably a failure of the installation process here.

The content looks like it's back.  The directories still seem empty.  E.g. https://www.openssl.org/docs/manmaster/man7/ just shows:

Index of /docs/manmaster/man7
Name	Last modified	Size	Description
Parent Directory	 	-
_Apache/2.4.29 (Ubuntu) Server at www.openssl.org Port 443_

The content is now fully back. Closing.


Add italic support for Markdown processor

enables TILvert to convert text between underscores or asterisks into an <i> tag

addressed in commit #ef0bb68


MINIFI-217: Implement namespaces.

Updates namespaces and removes use of raw pointers for user facing API.
Thank you for submitting a contribution to Apache NiFi - MiNiFi C++.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with MINIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

[x] Is your initial contribution a single, squashed commit?

For code changes:

[x] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[x] If applicable, have you updated the LICENSE file?
[x] If applicable, have you updated the NOTICE file?

For documentation related changes:

[x] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

Some suggestions I've found for myself. Maybe rename utils to util.
I have not added a provenance repository. Will do that in a subsequent PR or here if desired.

@phrocker when compiling I'm seeing a couple of warnings that look like
 Serializable.cpp:190:21: warning: comparison of constant 2047 with expression of type 'char' is always false         } else if (c > 2047){
Any thoughts on this?

@jdye64 Since I moved to using auto instead of int, we are actually using a car to iterate through the string, therefore the previous code that existed now throws the warning. This is a placeholder for a block I submitted. I think it is safe to treat this as UTF-8 since NiFi enforces UTF-8, but before doing so I'd like some more testing. Therefore I leave the warning be as a placeholder. Realistically we could just change auto to int to get rid of the warning, but I think it serves as a warning that we weren't handling UTF correctly previously and now. I will deal with this in a subsequent PR.
Again, I think we're okay as long as NiFi sticks with UTF-8, but I'd like to beef up the tests.

@phrocker
From a Java dev perspective, the namespaces look a little shallower than the Java package names.  I think that's probably justifiable though to prevent a ton of boilerplate, given that the number of classes is much lower in cpp-land.
Big fan of namespacing to avoid name clashes and just generally keep different ideas separate from each other.  Think this looks like a great step forward :smile:

Also added a fix for MINIFI-236 since that impeded my testing.

Updated to facilitate changes for #67

starting review

hey @phrocker:
changes and structure seem reasonable to me
build works but seem to be having some troubles with running in current form under default config:
Received the following on OS X 10.11.6

libc++abi.dylib: terminating with uncaught exception of type YAML::TypedBadConversion<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > >: bad conversion

and the on CentOS 7

terminate called after throwing an instance of 'YAML::TypedBadConversionstd::string'
what():  bad conversion

Appears this actually cropped up sometime earlier.  Doing the bisect routine to figure it out.

Looks like it was introduced in c4fea0cd94f9ea2ae94303ff5b574c0c00d6745a.

Thanks for taking the time to adjust.  Looks like this rights the ship and should be good to go.  Will get merged.


add video to case study index page

@alexcontini 👋 It looks like you need to update your local fork with today's changes. I recommend closing this PR, updating your local fork, then opening a new PR based on the refactored results.
To update your local fork of k/website:
git checkout master
git fetch upstream
git merge upstream/master
git push

@zacharysarah  thank you and sorry about that! so I see that it's been updated and is set up differently than before, I have been asked to add a video directly below the 4 featured case studies on the case study index page (https://www.youtube.com/embed/2RmJ32VqX3U) and can't quite understand how to/if this is possible to add?
are you or anyone on your team able to embed that video directly above the box video by any chance?

@alexcontini 👋 I'm at a conference this week, thanks for being patient. Are you trying to replace the "Kubernetes at Box" video?

@alexcontini - Sorry, just saw this. Let's chat more about this tomorrow!

@kbarnard10 I'm interested in knowing more, also--I can see the video: param in content/en/case-studies/box/index.html, but it looks like the logic in layouts/case-studies/list.html may populate the video player based on the fact that there's only one case study with a video: attribute.
@bep, any input?


Compile JVM JNI native libaries using Zig, add Linux ARM

Closes #1479. Closes #421.

Once it goes green I will change the required status checks and then merge.


BUG: stats: XSLOW test failures in test_continuous_basic

Describe your issue.
With the environment variable SCIPY_XSLOW=1 set, I am getting 19 test failures from the test_continous_basic::test_cont_basic_fit test suite in stats.  All the tests hit the same bug, so I cut out all but the first two detailed reports in the following transcript.

Test run
$ SCIPY_XSLOW=1 python3 dev.py test -m full -t scipy.stats.tests.test_continuous_basic::test_cont_basic_fit -j 6
💻  ninja -C /home/warren/repos/git/forks/scipy/build -j12
ninja: Entering directory `/home/warren/repos/git/forks/scipy/build'
[2/2] Generating scipy/generate-version with a custom command
Build OK
💻  meson install -C build --only-changed
Installing, see meson-install.log...
Installation OK
SciPy from development installed path at: /home/warren/repos/git/forks/scipy/build-install/lib/python3.12/site-packages
Running tests for scipy version:1.14.0.dev0+1021.bd60b4e, installed at:/home/warren/repos/git/forks/scipy/build-install/lib/python3.12/site-packages/scipy
============================= test session starts ==============================
platform linux -- Python 3.12.3, pytest-8.1.1, pluggy-1.5.0
rootdir: /home/warren/repos/git/forks/scipy
configfile: pytest.ini
plugins: timeout-2.3.1, xdist-3.5.0, hypothesis-6.100.1, cov-5.0.0
6 workers [372 items]
s....s.s.......s...................................s..s..........s...... [ 19%]
s..s.......................s....s....s.............sF..sFF.............s [ 38%]
..sF..........s..........s......s.........s..sF.........s............... [ 58%]
.F..F........F......F..........s....F..ss.......F..........ss......s.... [ 77%]
.........................................FF..s.................F........ [ 96%]
..FFFFF...s.                                                             [100%]
=================================== FAILURES ===================================
_______________ test_cont_basic_fit[200-kappa4-arg179-None-None] _______________
[gw1] linux -- Python 3.12.3 /home/warren/py3.12.3/bin/python3
scipy/stats/tests/test_continuous_basic.py:241: in test_cont_basic_fit
    check_fit_args(distfn, arg, rvs, method)
        arg        = (0.1, 0.0)
        distfn     = <scipy.stats._continuous_distns.kappa4_gen object at 0x7a8096371c10>
        distname   = 'kappa4'
        fix_args   = None
        method     = None
        n_fit_samples = 200
        rng        = RandomState(MT19937) at 0x7A8070196040
        rvs        = array([-0.92611927, -0.39031297, -0.51810899,  2.74702685, -0.26140543,
        0.81347898,  1.53637757,  0.92829259, ...577439,  1.90613802,  2.13208781,  0.24871165,
        0.17240924, -0.81257477,  0.27244402,  0.04268143,  1.89862333])
scipy/stats/tests/test_continuous_basic.py:746: in check_fit_args
    vals = distfn.fit(rvs, method=method)
        arg        = (0.1, 0.0)
        distfn     = <scipy.stats._continuous_distns.kappa4_gen object at 0x7a8096371c10>
        method     = None
        rvs        = array([-0.92611927, -0.39031297, -0.51810899,  2.74702685, -0.26140543,
        0.81347898,  1.53637757,  0.92829259, ...577439,  1.90613802,  2.13208781,  0.24871165,
        0.17240924, -0.81257477,  0.27244402,  0.04268143,  1.89862333])
        sup        = <numpy.testing._private.utils.suppress_warnings object at 0x7a80643bdeb0>
scipy/stats/_distn_infrastructure.py:2635: in fit
    method = kwds.get('method', "mle").lower()
E   AttributeError: 'NoneType' object has no attribute 'lower'
        args       = ()
        data       = array([-0.92611927, -0.39031297, -0.51810899,  2.74702685, -0.26140543,
        0.81347898,  1.53637757,  0.92829259, ...577439,  1.90613802,  2.13208781,  0.24871165,
        0.17240924, -0.81257477,  0.27244402,  0.04268143,  1.89862333])
        kwds       = {'method': None}
        self       = <scipy.stats._continuous_distns.kappa4_gen object at 0x7a8096371c10>
_______________ test_cont_basic_fit[200-ksone-arg183-None-None] ________________
[gw1] linux -- Python 3.12.3 /home/warren/py3.12.3/bin/python3
scipy/stats/tests/test_continuous_basic.py:241: in test_cont_basic_fit
    check_fit_args(distfn, arg, rvs, method)
        arg        = (1000,)
        distfn     = <scipy.stats._continuous_distns.ksone_gen object at 0x7a8098cf84d0>
        distname   = 'ksone'
        fix_args   = None
        method     = None
        n_fit_samples = 200
        rng        = RandomState(MT19937) at 0x7A8070196D40
        rvs        = array([0.00512931, 0.01046228, 0.0091458 , 0.03708666, 0.01179505,
       0.02229693, 0.02840279, 0.02331973, 0.029174...11, 0.02285444, 0.03123931, 0.03288781, 0.01696762,
       0.01621168, 0.00619958, 0.01720114, 0.01490967, 0.03118342])
scipy/stats/tests/test_continuous_basic.py:746: in check_fit_args
    vals = distfn.fit(rvs, method=method)
        arg        = (1000,)
        distfn     = <scipy.stats._continuous_distns.ksone_gen object at 0x7a8098cf84d0>
        method     = None
        rvs        = array([0.00512931, 0.01046228, 0.0091458 , 0.03708666, 0.01179505,
       0.02229693, 0.02840279, 0.02331973, 0.029174...11, 0.02285444, 0.03123931, 0.03288781, 0.01696762,
       0.01621168, 0.00619958, 0.01720114, 0.01490967, 0.03118342])
        sup        = <numpy.testing._private.utils.suppress_warnings object at 0x7a80643bfb90>
scipy/stats/_distn_infrastructure.py:2635: in fit
    method = kwds.get('method', "mle").lower()
E   AttributeError: 'NoneType' object has no attribute 'lower'
        args       = ()
        data       = array([0.00512931, 0.01046228, 0.0091458 , 0.03708666, 0.01179505,
       0.02229693, 0.02840279, 0.02331973, 0.029174...11, 0.02285444, 0.03123931, 0.03288781, 0.01696762,
       0.01621168, 0.00619958, 0.01720114, 0.01490967, 0.03118342])
        kwds       = {'method': None}
        self       = <scipy.stats._continuous_distns.ksone_gen object at 0x7a8098cf84d0>

[...]

=========================== short test summary info ============================
FAILED scipy/stats/tests/test_continuous_basic.py::test_cont_basic_fit[200-kappa4-arg179-None-None] - AttributeError: 'NoneType' object has no attribute 'lower'
FAILED scipy/stats/tests/test_continuous_basic.py::test_cont_basic_fit[200-ksone-arg183-None-None] - AttributeError: 'NoneType' object has no attribute 'lower'
FAILED scipy/stats/tests/test_continuous_basic.py::test_cont_basic_fit[200-kstwo-arg184-None-None] - AttributeError: 'NoneType' object has no attribute 'lower'
FAILED scipy/stats/tests/test_continuous_basic.py::test_cont_basic_fit[200-levy_stable-arg202-None-None] - AttributeError: 'NoneType' object has no attribute 'lower'
FAILED scipy/stats/tests/test_continuous_basic.py::test_cont_basic_fit[200-ncx2-arg245-None-None] - AttributeError: 'NoneType' object has no attribute 'lower'
FAILED scipy/stats/tests/test_continuous_basic.py::test_cont_basic_fit[200-powerlognorm-arg272-None-None] - AttributeError: 'NoneType' object has no attribute 'lower'
FAILED scipy/stats/tests/test_continuous_basic.py::test_cont_basic_fit[200-powernorm-arg275-MM-None] - scipy.integrate._quadpack_py.IntegrationWarning: The integral is probably d...
FAILED scipy/stats/tests/test_continuous_basic.py::test_cont_basic_fit[200-recipinvgauss-arg284-None-None] - AttributeError: 'NoneType' object has no attribute 'lower'
FAILED scipy/stats/tests/test_continuous_basic.py::test_cont_basic_fit[200-rel_breitwigner-arg291-MM-None] - scipy.stats._warnings_errors.FitError: Optimization failed: either a data m...
FAILED scipy/stats/tests/test_continuous_basic.py::test_cont_basic_fit[200-studentized_range-arg307-None-None] - AttributeError: 'NoneType' object has no attribute 'lower'
FAILED scipy/stats/tests/test_continuous_basic.py::test_cont_basic_fit[200-genhyperbolic-arg108-None-None] - AttributeError: 'NoneType' object has no attribute 'lower'
FAILED scipy/stats/tests/test_continuous_basic.py::test_cont_basic_fit[200-gausshyper-arg94-None-None] - AttributeError: 'NoneType' object has no attribute 'lower'
FAILED scipy/stats/tests/test_continuous_basic.py::test_cont_basic_fit[200-genexpon-arg95-None-None] - AttributeError: 'NoneType' object has no attribute 'lower'
FAILED scipy/stats/tests/test_continuous_basic.py::test_cont_basic_fit[200-exponweib-arg72-MM-None] - scipy.integrate._quadpack_py.IntegrationWarning: The integral is probably d...
FAILED scipy/stats/tests/test_continuous_basic.py::test_cont_basic_fit[200-vonmises_line-arg340-None-None] - AttributeError: 'NoneType' object has no attribute 'lower'
FAILED scipy/stats/tests/test_continuous_basic.py::test_cont_basic_fit[200-johnsonsu-arg175-MM-None] - scipy.integrate._quadpack_py.IntegrationWarning: The algorithm does not con...
FAILED scipy/stats/tests/test_continuous_basic.py::test_cont_basic_fit[200-kappa4-arg176-None-None] - AttributeError: 'NoneType' object has no attribute 'lower'
FAILED scipy/stats/tests/test_continuous_basic.py::test_cont_basic_fit[200-kappa4-arg177-None-None] - AttributeError: 'NoneType' object has no attribute 'lower'
FAILED scipy/stats/tests/test_continuous_basic.py::test_cont_basic_fit[200-kappa4-arg178-None-None] - AttributeError: 'NoneType' object has no attribute 'lower'
============ 19 failed, 323 passed, 30 skipped in 326.13s (0:05:26) ============

SciPy/NumPy/Python version and system information
1.14.0.dev0+1021.bd60b4e 1.26.4 sys.version_info(major=3, minor=12, micro=3, releaselevel='final', serial=0)
Build Dependencies:
  blas:
    detection method: pkgconfig
    found: true
    include directory: /usr/include/x86_64-linux-gnu/openblas-pthread/
    lib directory: /usr/lib/x86_64-linux-gnu/openblas-pthread/
    name: openblas
    openblas configuration: USE_64BITINT= DYNAMIC_ARCH=1 DYNAMIC_OLDER=1 NO_CBLAS=
      NO_LAPACK= NO_LAPACKE=1 NO_AFFINITY=1 USE_OPENMP=0 generic MAX_THREADS=64
    pc file directory: /usr/lib/x86_64-linux-gnu/pkgconfig
    version: 0.3.20
  lapack:
    detection method: pkgconfig
    found: true
    include directory: /usr/include/x86_64-linux-gnu/openblas-pthread/
    lib directory: /usr/lib/x86_64-linux-gnu/openblas-pthread/
    name: openblas
    openblas configuration: USE_64BITINT= DYNAMIC_ARCH=1 DYNAMIC_OLDER=1 NO_CBLAS=
      NO_LAPACK= NO_LAPACKE=1 NO_AFFINITY=1 USE_OPENMP=0 generic MAX_THREADS=64
    pc file directory: /usr/lib/x86_64-linux-gnu/pkgconfig
    version: 0.3.20
  pybind11:
    detection method: config-tool
    include directory: unknown
    name: pybind11
    version: 2.12.0
Compilers:
  c:
    commands: cc
    linker: ld.bfd
    name: gcc
    version: 11.4.0
  c++:
    commands: c++
    linker: ld.bfd
    name: gcc
    version: 11.4.0
  cython:
    commands: cython
    linker: cython
    name: cython
    version: 3.0.10
  fortran:
    commands: gfortran
    linker: ld.bfd
    name: gcc
    version: 11.4.0
  pythran:
    include directory: ../../../../../py3.12.3/lib/python3.12/site-packages/pythran
    version: 0.15.0
Machine Information:
  build:
    cpu: x86_64
    endian: little
    family: x86_64
    system: linux
  cross-compiled: false
  host:
    cpu: x86_64
    endian: little
    family: x86_64
    system: linux
Python Information:
  path: /home/warren/py3.12.3/bin/python3.12
  version: '3.12'

Oops - looks like there was a mistake in a recent PR. I'll fix it.

Found it. It sounds like all of them run - did you happen to check timing? I'm running them now and I'm thinking that some of them should just be skipped rather than XSLOW.


Localstack: localStackContainer.waitForLogToken(READY_TOKEN) does not work with LocalStack image version 0.13.0

localstack-utils: 0.2.17
localstack (docker): 0.13.0
os: MacOS Monterey
platform: M1 max (arm)

The statement localStackContainer.waitForLogToken(READY_TOKEN) never completes, because localstack 0.13.0 outputs a lot of log lines and the 'Ready.' token isn't found in the last 100 lines selected in the method
    private boolean logContainsPattern(Pattern pattern) {
        String logs = getContainerLogs();
        return pattern.matcher(logs).find();
    }

...in the cloud.localstack.docker.Container class

Thanks for reporting @Hoagiex , and apologies for the long delay. This should be fixed in the meantime - a new version 0.2.20 has been pushed to Maven Central. Please keep us posted if the problem persists.. Thanks!


fix(ontology): new method to change gui order (DSP-1567)

resolves DSP-1567 and DSP-1646
This PR contains a quick solution to solve our update-gui-order-issue in case if the property is already in use (DSP-1546). Since we have two DSP-API routes to change either the cardinality or the gui-order, we should also split those tasks into different views in DSP-APP. This step will take more time and we have to fix the current state on our servers now. The current solution is as follow: We send to request to DSP-API: one to update the gui-order and one to update the cardinalities. The second request will throw always an error if the property is in use and has already data values. There's another workaround for that issue, but it's not yet published in DSP-API. So for now, I suggest to keep this "ugly" solution.

@flavens You'll need at least DSP-API v13.7.0

@flavens You'll need at least DSP-API v13.7.0 (with the new route to update the gui-order https://github.com/dasch-swiss/dsp-api/releases/tag/v13.7.0)
It's hard to say what was going wrong here. What's the message in the API error response of:

With the anything ontology, the API response has been quoted in my message from the network tab. There is no more details in the console.

@flavens You'll need at least DSP-API v13.7.0 (with the new route to update the gui-order https://github.com/dasch-swiss/dsp-api/releases/tag/v13.7.0)
It's hard to say what was going wrong here. What's the message in the API error response of:

With the anything ontology, the API response has been quoted in my message from the network tab. There is no more details in the console.

Not in the console, but in the network...
But I will also check-out this branch again. At the moment I'm working with the region-annotation-branch

There are several issues and I couldn't find a quick solution to keep the current implementation (s. my comment on Youtrack DSP-1567). I will separate the two requests now.

As mentioned in one of the Youtrack issues, it was not possible to keep the current setup to change the gui-order of properties in a resource class. So I implemented a new way to change the gui-order (DSP-1646):
https://user-images.githubusercontent.com/4253580/118961965-2d6ebe80-b965-11eb-87e4-47a97a34890d.mov

@mdelez @waychal @lrosenth now it should be ready for the review


Add ability to build docker images through mvn (via docker-maven-plugin)

With this we can very easily build local changes as docker images
mvn docker:build

and run pinpoint dockerized via docker-compose
docker-compose up -d

To make this happen I've added:

new maven plugin
create fake hbase module
move scripts folder to hbase module

This approach may look weird at the beginning but it is very helpful during testing. Dockerizing is not bound into regular maven phase so will not expand build time unless someone run this mvn docker:build

To work properly (agent attached as docker volume) we need this change to be merged and released https://github.com/spotify/docker-maven-plugin/pull/161

@dawidmalina thanks. We need more time to review and test this.

LGTM!!  but other guy is checking some other side-effects.
It's very simple way to test and quickstart pinpoint.


Support for multiple $refs inside a single object

It would be really useful to be able to do something like this:
paths:
    $ref: "/operations/pets.yaml"       # Multiple paths
    $ref: "/operations/stores.yaml"     # Multiple paths
    $ref: "/operations/users.yaml"      # Multiple paths

Where each file includes multiple paths. For example (pets.yaml):
/pets:
  post:
    # ...
/pets/findByStatus:
  get:
    # ...

This would make it easier to organize a large API.
Edit:
It could also be an array, like this:
paths:
    $ref:
        - "/operations/pets.yaml"
        - "/operations/stores.yaml"
        - "/operations/users.yaml"

Swagger spec, define '$ref' as follows:
The Reference Object is a JSON Reference that uses a JSON Pointer as its value.
References used through entire spec and most importantly inside Schema object.
What mean if $ref behaviour will change it will totally ruin compatibility with JSON Schema and JSON Reference and all tooling which being build around them.
Another problem is how you would handle merge conflicts?
For example /operations/pets.yaml and /operations/stores.yaml both have same key inside.
Or one contain an object and another an array.
But I totally support your idea about allowing to split paths into separate files.
Instead of reinventing the wheel, we could use RAML approach to this problem. And make paths recursive structure, so your example will look like this:
paths:
  /pets:
    $ref: "/operations/pets.yaml"       # Multiple paths
  /stores:
    $ref: "/operations/stores.yaml"     # Multiple paths
  /users:
    $ref: "/operations/users.yaml"      # Multiple paths

And 'pets.yaml' will looks like this:
post:
  # ...
/findByStatus:
  get:
    # ...

@glen-84 Is these proposal will solve your problem?
P.S. It could also solve path parameters duplication problem.

It's quite surprising to me that the existing standards don't support this. I don't suppose this is likely to change?
As for merge conflicts, if I create two equal paths with the Swagger editor, it just uses the last one. It could be the same, or it could be a setting if you want it to throw an error.
Nested paths might be an option, although it feels a bit weird having the nested paths at the same level as post/get etc.
Could allOf be used at all?
paths:
    allOf:
        - $ref: "/operations/pets.yaml"
        - $ref: "/operations/stores.yaml"
        - /users:
            get:
                # ...

... that may be completely incorrect or make no sense – I don't know very much about JSON schema. :smile:

I don't suppose this is likely to change?

In any case it should be changes to JSON Pointer spec.

Could allOf be used at all?

No, 'allOf' supported only inside Schema Object.
Swagger is very strict format and you can see all supported fields here

+1 for adding allof to paths so multiple paths/APIs can be referenced

+1 I am looking for any work around right now for allowing path urls and their subsequent path objects to be defined in multiple external files. Does anyone have any suggestions?

@wannabesrevenge I'm currently using something like this:
paths:
    # Blogs
    # -- Blogs
    /blogs:
        $ref: "operations/blogs/blogs.yaml#/Blogs"
    /blogs/{id}:
        $ref: "operations/blogs/blogs.yaml#/Blog"
    # -- Blog Posts
    /blogs/{id}/posts:
        $ref: "operations/blogs/blog-posts.yaml#/BlogPosts"
    /blogs/posts/{id}:
        $ref: "operations/blogs/blog-posts.yaml#/BlogPost"
    /blogs/posts/{id}/comments:
        $ref: "operations/blogs/blog-posts.yaml#/BlogPostComments"

I don't think it's possible to move the actual paths to separate files.

That's a shame. I'm hoping that "merge" in JSON schema v5 (i think it's v5) will help. I settled for doing this the same way as you. In one way it's nice because its explicit, but it is definitely not completely DRY in principle. Now if we add a route to one microservice api, we must also add the route to the master api.

+1 for supporting recursive structure for paths

+1 need this

+1

:+1: for this appraoch:
paths:
    $ref:
        - "/operations/pets.yaml"
        - "/operations/stores.yaml"
        - "/operations/users.yaml"

It's simple and easy to understand.
@IvanGoncharov: I could think of a couple ways to resolve conflicts. Apologies if I'm missing something large here, but it seems like you could do something like this:

If the references are both objects, the later values for the keys overwrite the earlier values for the keys. This would work the same way Object.assign() overwrites values.
If they're both arrays, they're concatenated.
Otherwise, the second reference overwrites the first (strings, booleans, etc.).

@LandonSchropp I agree. Would pleasantly mimic familiar Object.assign() behavior here.

Merging objects with same properties
var o1 = { a: 1, b: 1, c: 1 };
var o2 = { b: 2, c: 2 };
var o3 = { c: 3 };

var obj = Object.assign({}, o1, o2, o3);
console.log(obj); // { a: 1, b: 2, c: 3 }

The properties are overwritten by other objects that have the same properties later in the parameters order.

Folks, I'm afraid you are pitching to the wrong people.  OpenAPI uses $ref as it is defined by JSON Schema.  If you want $ref 's behavior to be changed, you need to convince the JSON Schema folks to change it.  The alternative is to define a completely new re-use mechanism so there is no confusion between reuse within JSON Schemas and reuse elsewhere.

Thanks @darrelmiller!
For anyone interested in supporting this proposal, I've re-created this issue in the correct repo.

FWIW, JSON References (and JSON Pointers) are actually not part of JSON Schema, but JSON Schema uses them. They were both originally written by the same people (iirc), but that doesn't mean the current JSON Schema folks actually maintain JSON Reference as well, but we'll see their response.

@webron You are correct that there is a distinct spec for JSON Reference, but for some reason the wording describing $ref was duplicated in the JSON Schema spec https://tools.ietf.org/html/draft-wright-json-schema-00#section-7 which leaves us in an ambiguous state.   Considering there are people actually working on the JSON Schema now, it might actually be the best place to get change to happen.

@darrelmiller - right, only you're not looking at draft 4 which is our official reference for the spec, where JSON References explicitly point to JSON Reference.
Of course, hopefully by the time official word on the next draft/version of JSON Schema is out, it will be clarified better than what you've shown. And who knows, maybe we'll drop JSON Schema and move to something... better.

@webron there is nothing better, there are no known valid problems with JSON schema 😆

@glen-84 can you explain how your abovementioned solution works?

paths:
# Blogs
# -- Blogs
/blogs:
$ref: "operations/blogs/blogs.yaml#/Blogs"
/blogs/{id}:
$ref: "operations/blogs/blogs.yaml#/Blog"
# -- Blog Posts
/blogs/{id}/posts:
$ref: "operations/blogs/blog-posts.yaml#/BlogPosts"
/blogs/posts/{id}:
$ref: "operations/blogs/blog-posts.yaml#/BlogPost"
/blogs/posts/{id}/comments:
$ref: "operations/blogs/blog-posts.yaml#/BlogPostComments"

when i try to replicate it, it always inserts "Blogs" node below the /blogs
i end up with
paths:
# Blogs
/blogs:
Blogs:  #this shouldnt be there
get: ....

@alexander-larchenko,
Are you using the #/Blogs reference?
The target file should be structured as follows:
Blogs:
    get:
        summary: Get a list of blogs
        tags:
            - Blogs
        responses:
            etc.

I'm using swagger-parser (v3.4.1) to dereference the file.

@glen-84,

Are you using the #/Blogs reference?

Yes, I tried to replicate your example fully, just to see how it goes.
But I'm using Swagger CLI for bundling and it provides a different result for this way of referencing. That's why you have swagger-parser to handle those references correctly. Right?

That's why you have swagger-parser to handle those references correctly. Right?

Most likely, yes.
I may have started using swagger-parser because of https://github.com/apigee-127/swagger-tools/issues/227.

After reading through the entire conversation it looks like we do not have any way to do something similar to this or any variation similar to the below

paths:

$ref: yaml1.yml
$ref: yaml2.yml

Please correct me if I am wrong. How are other folks serving a single yml file which serves multiple paths spread across children ymls?

You mean oneOf? allOf would probably make it not match anything?

allOf will take all the definitions. I want all the definitions to be merged, not just to say that I want one of the definitions specified.

Who are you asking to? BTW, I don't think that using a file format specific solution is a good idea here when OpenAPI spec allows other file formats (like json).

@chrisdostert The example you are showing is actually valid OpenAPI.  This is a exceptional usage of $ref in the PathItemObject where $ref is a fixed field.  It doesn't behave the same way as the other reference objects in an OpenAPI document.
However, this only allows referencing a single path at a time.  There is no way to reference a document that contains a set of paths.

@glen-84 I suggest building a file using command line toolkit that links multiple YAML files with $include tag. Look this https://github.com/javanile/yamlinc add-in project task using gulp or grunt. Any considerations @IvanGoncharov @kulkarniankita @wannabesrevenge @BabuGiri

This is working fine for me
"requestBody": {
"required": True,
"content": {
"application/json": {
"schema": {
"allOf": [{
"$ref": "#/definitions/First"
}, {
"$ref": "#/definitions/Second"
}]
}
}
}
}

@waseem-khan-dev yes, that works fine in the Schema Object, but this was reported against the Path Object where allOf is not available.
@webron @MikeRalphson @whitlockjc this is another Path Object $ref issue, but a rather specific one.  I don't recall any drive to try to have a multi-$ref feature in Path Objects.  Is this worth keeping open for 4.0, or should we close it?
It will definitely not be further addressed in JSON Schema, because allOf handles things there.

Why not use arrays?

..
..

paths
Paths Object | [Paths Object with path]

Path Item Object With Path

..
..

path
/{path}

...Paths Object
...

...

paths:
  - $ref: "/pets.yaml"
  - $ref: "/users.yaml"
  - path: /stores
    post:
      ...
...

It's 2021, and we still don't have a solution to this.
I also think that we should be (at least) able to use arrays for this.

Maybe this will be useful for you!
Result:
  type: object
  allOf:
    - $ref: '#/definitions/exampleA'
    - $ref: '#/definitions/exampleB'

Maybe this will be useful for you!
Result:
  type: object
  allOf:
    - $ref: '#/definitions/exampleA'
    - $ref: '#/definitions/exampleB'

As stated by https://github.com/OAI/OpenAPI-Specification/issues/417#issuecomment-122377602 this applies to Schema Object but not all objects, i.e. not the global paths object. See Paths Object which does not state any use of allOf or $ref in any case.

It's 2021, and we still don't have a solution for this problem. I also think that we should be (at least) able to use arrays for this.

3 months until 2024 and we still do not have it ...

@asarra most attention now is on OAS 4 (a.k.a. "Moonwalk") which will address this sort of problem more thoroughly.

@asarra most attention now is on OAS 4 (a.k.a. "Moonwalk") which will address this sort of problem more thoroughly.

Ty that's good to read

@asarra most attention now is on OAS 4 (a.k.a. "Moonwalk") which will address this sort of problem more thoroughly.

Where can we read the current draft of OAS 4? I couldn't seem to find it myself.

Closing as "moved to moonwalk" which was already the conclusion in the last few comments.


Fix quotes to have the bufname evaluated dynamically

I noticed that the former form would get evaluated at vim launch and not when the command was executed, which had the wrong buffer name when the file was changed.
I looked at the other definitions in the file, and this one with the quotes inverted seems to work (I have zero experience in vim coding)

Yes, that makes sense. Now the expression bufname('%') is literally contained in the string, and not just its value.


Update Mocha link

Coverage remained the same at 98.305% when pulling bf97ac179ebf98fcea24826df47c8dafd617eb51 on mortonfox:patch-1 into 914604248a2116dc8f5d1982fc655689e0632e82 on power-assert-js:master.

@mortonfox Ah, nice catch! Thanks!


Prohibit a second SETTINGS frame

We have max_settings_per_frame, max_settings_per_minute, and max_settings_frames_per_minute for H2, but sending multiple SETTINGS frame on H3 is not allowed.

SETTINGS frames always apply to an entire HTTP/3 connection, never a single stream. A SETTINGS frame MUST be sent as the first frame of each control stream (see Section 6.2.1) by each peer, and it MUST NOT be sent subsequently. If an endpoint receives a second SETTINGS frame on the control stream, the endpoint MUST respond with a connection error of type H3_FRAME_UNEXPECTED.¶

https://datatracker.ietf.org/doc/html/rfc9114#name-settings
It's testable through H3FrameDispatcher like the unit test does (Need to add Http3SettingsHandler instead of the mock handler).
https://github.com/apache/trafficserver/blob/2402444b5864411f2415ae142ba81d7637656531/proxy/http3/test/test_Http3FrameDispatcher.cc#L31-L47
It's also testable by calling Http3SettingsHandler::handleFrame directly.
https://github.com/apache/trafficserver/blob/2402444b5864411f2415ae142ba81d7637656531/proxy/http3/Http3App.h#L99

While reading our code and the documentation, I noticed that we don't seem to enforce one control stream per connection?
https://datatracker.ietf.org/doc/html/rfc9114#control-streams

Only one control stream per peer is permitted; receipt of a second stream claiming to be a control stream MUST be treated as a connection error of type H3_STREAM_CREATION_ERROR.

Also maybe we should rename _control_stream_dispatcher to something else, since use it to handle PUSH streams too?
https://github.com/apache/trafficserver/blob/a29574d2fd089b90f1b909aedbb67b8000f01711/proxy/http3/Http3App.cc#L211-L218

I noticed that we don't seem to enforce one control stream per connection?

There are many such kind of things. I could file more issues on the project but it'd be overwhelming.

Also maybe we should rename _control_stream_dispatcher to something else, since we use it to handle PUSH streams too?

That is an option. We could also introduce _push_stream_dispatcher, but I'm not too sure if it's a good way of handling those. As you can see, current design is extensible for future extension frames but at the same time it's not great if many frame handlers have to be registered to one dispatcher. I'd say it's nice to have three dispatchers.

There are many such kind of things. I could file more issues on the project but it'd be overwhelming.
Yeah, I'm just confirming I didn't miss anything, I'll work on that next. And I agree having a _push_stream_dispatcher feels better. I'll work on that as well.


GH-10: Add initial binary to text plan conversion

This PR adds a partial implementation of the binary to text plan conversion utility in hopes that a smaller PR will be easier to review.  PRs are forthcoming to complete this functionality as well as add text to binary plan conversion.
Included features in this PR include:

Extension space and function
Table driven test framework including Googletest Matchers
Helper functions to read plans in various forms from disk

Code intended to be shared with the text to binary plan conversion code is located in substrait/textplan.  The binary to text conversion code lies in the converter directory beneath that.

Overall look good to me .
I noticed the public method name of the class starts with uppercase which is inconsistence with the naming conversion previously.
Other thoughts?

Agreed that the format was different than I had originally written.  When I was getting ready to submit I checked the Google Style Guide so I changed all of the function names to match (link below for reference) leaving only functions that have the same representation elsewhere (like all of the visit* functions match the auto-generated Antlr4 grammar).  I can change them all back if this is preferable.
https://google.github.io/styleguide/cppguide.html#Function_Names

Any reason you want to matched with Antlr4?
Besides that, I'm thinking the visitors in this PR could  be shared and should move outside of textplan(may be common folder).  I believe those visitors would be really useful.

The text->binary side is going to have visitors as well for traversing the antlr4 grammar (and will go in textplan/parser to correspond with textplan/converter).  The behavior is extremely similar to that of the generated antlr4 visitors so I designed the protobuf visitor to work the same way.  My intended directory structure lends itself well to sharing the visitors so I will need to come up with some other behavior for sharing the base visitor.
The external API I am working on providing is the loading and saving of plans of any type.  This API then could be easily consumed by all of the tools we have regardless of language.
For now I'm considering what it'll take to share the visitors but I would like to wait to do that in a later PR.  One alternative I have considered is writing a tool to automatically generate the visitor for any protobuf.
I will convert all of the function names back to starting with a lowercase character (which as you point out will match the rest of the repository).

Is this ready for review again?  Please re-request review if so.  This helps me keep track of which PRs have outstanding reviews:


cdc: separate resolved region outliers

What is changed and how it works?
Issue Number: close #11993 close pingcap/tiflow#4516 close pingcap/tiflow#4311 ref pingcap/tiflow#4146
What's Changed:
Separate broadcasing outlier regions and normal regions,
so 1) downstreams know where they should send resolve lock requests,
and 2) resolved ts of normal regions does not fallback.

Related changes

Need to cherry-pick to the release branch

Check List
Tests

Unit test
Manual test (add detailed scripts or steps below)
Restart tikv nodes one by one.

Release note
Reduce CDC recovery time by reduce the number regions that need resolved lock.

rest LGTM.

/merge

Hello, we have recently encountered this issue as well. I can understand why TiKV might cause TiCDC to hang, but I am not clear on why TiKV would exhibit this behavior. Could you or someone else help clarify this issue ?


[WFLY-12044] Add documentation on how to configure certificate author…

…ity used by certificate-authority-account resource
Jira: WFLY-12044
Adds documentation for WFCORE-4362

This can go in after the next core update.


I cant connect from my Rasberry pi 3 ??

I tried to run this program:
from pyax12.connection import Connection
sc = Connection(port=”/dev/ttyACM0″, baudrate=1000000)
ids = sc.scan()
for id in ids:
print(id)
sc.close()
I got this errormessage:
Traceback (most recent call last):
File "ax12-1.py", line 3, in
ids = sc.scan()
File "/usr/local/lib/python3.5/dist-packages/pyax12/connection.py", line 488, in scan
if self.ping(dynamixel_id):
File "/usr/local/lib/python3.5/dist-packages/pyax12/connection.py", line 231, in ping
status_packet = self.send(inst_packet)
File "/usr/local/lib/python3.5/dist-packages/pyax12/connection.py", line 141, in send
status_packet = sp.StatusPacket(status_packet_bytes)
File "/usr/local/lib/python3.5/dist-packages/pyax12/status_packet.py", line 118, in init
raise ValueError("Incomplete packet.")
ValueError: Incomplete packet.
My version of Python is 3.5
Please help,
regards
Christian

i have same issue, bad change baud_rate to 57600 working good, some times, what do you do?

Its a long time ago, but I think this solved it:
Install PyAX12 library: (Note that “pip” by default on the Raspberry Pi will try to install it under Python 2 which won’t work.)
wget https://github.com/jeremiedecock/pyax12/archive/master.zip
unzip master.zip
cd pyax12-master
sudo python3 setup.py install

Thanks!

I hoped it solved your problem.
I am very interrested in sharing experience with pyax12 and Dynamixel actuators.

I hoped it solved your problem.
I am very interrested in sharing experience with pyax12 and Dynamixel actuators.

Thanks, i am currently with 4 motors, how do you have read present position ,speed ... at the time, using polling? intervals 100ms, its good idea? if you share tips about programming or other things
Sorry my english

I just shared a repository with you.
Its not perfect code, but I hope it will help you

I just shared a repository with you.
Its not perfect code, but I hope it will help you

Thank you!

hey, I tried to ping my dynamixel ax12 using your example ping for raspberry pi. But I got this message
/usr/local/lib/python3.5/dist-packages/pyax12-0.5.dev3-py3.5.egg/pyax12/connection.py:78: RuntimeWarning: This channel is already in use, continuing anyway.  Use GPIO.setwarnings(False) to disable warnings.
Traceback (most recent call last):
  File "ping.py", line 9, in <module>
    is_available = serial_connection.ping(dynamixel_id)
  File "/usr/local/lib/python3.5/dist-packages/pyax12-0.5.dev3-py3.5.egg/pyax12/connection.py", line 231, in ping
  File "/usr/local/lib/python3.5/dist-packages/pyax12-0.5.dev3-py3.5.egg/pyax12/connection.py", line 141, in send
  File "/usr/local/lib/python3.5/dist-packages/pyax12-0.5.dev3-py3.5.egg/pyax12/status_packet.py", line 118, in __init__
ValueError: Incomplete packet.

I install this library using sudo python3 setup.py install and python3 ping.py to run the program

hey, I tried to ping my dynamixel ax12 using your example ping for raspberry pi. But I got this message
/usr/local/lib/python3.5/dist-packages/pyax12-0.5.dev3-py3.5.egg/pyax12/connection.py:78: RuntimeWarning: This channel is already in use, continuing anyway.  Use GPIO.setwarnings(False) to disable warnings.
Traceback (most recent call last):
  File "ping.py", line 9, in <module>
    is_available = serial_connection.ping(dynamixel_id)
  File "/usr/local/lib/python3.5/dist-packages/pyax12-0.5.dev3-py3.5.egg/pyax12/connection.py", line 231, in ping
  File "/usr/local/lib/python3.5/dist-packages/pyax12-0.5.dev3-py3.5.egg/pyax12/connection.py", line 141, in send
  File "/usr/local/lib/python3.5/dist-packages/pyax12-0.5.dev3-py3.5.egg/pyax12/status_packet.py", line 118, in __init__
ValueError: Incomplete packet.

I install this library using sudo python3 setup.py install and python3 ping.py to run the program

Check the baud rate, you can testing with 57600, the comunication its very sensible and i change delays from disable/enable DTS pin

Otherwise, i share my fork of Dynamixel SDK oficial with custom linux_sbc changes to working with raspberry, the installation steps you found in oficial doc, https://github.com/punisher97/DynamixelSDK

Otherwise, i share my fork of Dynamixel SDK oficial with custom linux_sbc changes to working with raspberry, the installation steps you found in oficial doc, https://github.com/punisher97/DynamixelSDK

Is it compatible with ROS using Raspberry Pi?

Otherwise, i share my fork of Dynamixel SDK oficial with custom linux_sbc changes to working with raspberry, the installation steps you found in oficial doc, https://github.com/punisher97/DynamixelSDK

Is it compatible with ROS using Raspberry Pi?

only c++

I change the baudrate to 57600 and it works just fine.


[BUG] Headless new

...chromium.args, always brings "--headless='new'", to args array

https://github.com/Sparticuz/chromium#usage

Why do we need these? One option is not enough?

chromium.setHeadlessMode
chromium.launch({args: ['--headless']});
chromium.launch({headless}); true one

setHeadlessMode will set the type of headless mode, adding the correct args that get passed.
Your second option will not pass all the other flags that are set by this package, most likely preventing Chromium from running on Lambda.
The third option is the Puppeteer headless flag, not related to how chromium launches.


Enable running layer-browser with local luma.gl

For #

Background

Works like a charm, live edit in luma and test in layer-browser!

Change List

Buble can't handle ES2018, we need move JSX examples to babel (NOTE: in es6 mode we only need to transpile preset-react, Chrome can handle everything else)
Add new env option to link to luma.gl

Coverage decreased (-0.02%) to 60.838% when pulling daace55524cefe1f6ac404fef7ca5989c756e76e on ib/beta-fixes into 0ed3cbba635469aa178afb0ca8dd218d356bc1ce on master.


Could not convert MySQL data to Date

Hello!
I'm trying to obtain some articles from my MySQL database using Vapor-Fluent but there is something wrong with my Date type (I have read a little bit of Date type in Vapor but I'm not sure about how to solve this issue).
This is my Vapor-Fluent model:
final class ArticleModel: Model, Content {

    static let schema = "tbl_article"

    @ID(custom: .id)
    var id: Int?

    @Field(key: "title")
    var title: String

    @Field(key: "description")
    var description: String

    @Field(key: "checked_out_time")
    var checkedOutTime: Date

    init() { }

    init(id: Int,
         title: String,
         description: String,
         checkedOutTime: Date) {
        self.id = id
        self.title = title
        self.description = description
        self.checkedOutTime = checkedOutTime
    }
}

This is my Controller:
func getContent(req: Request) async throws -> [ArticleModel] {
    try await ArticleModel(on: req.db)
        .sort(\.$checkedOutTime)
        .all()
}

This is the format of my Date type in my tbl_article table (it's DATETIME type in my MySQL database):
2022-08-02 21:51:29

When I try to obtain the articles by visiting my URL, it returns the following error:
{"error":true,"reason":"invalid field: checked_out_time type: Date error: typeMismatch(Foundation.Date, Swift.DecodingError.Context(codingPath: [], debugDescription: \"Could not convert MySQL data to Date: 1970-01-01 00:00:00 +0000\", underlyingError: nil))"}

My question is:
What I have to change in order to make this work? I tried changing my model type to String but it didn't work, so maybe I have to change something related to the decoding process?
(I'm new to Vapor (I'm creating my first real MySQL connection and I don't know how to solve this issue regarding the Date type).).
Thanks!

After some tries, there was an issue in my DATETIME field where I was using 0000-00-00 00:00:00 instead of a valid value like 2022-08-02 21:51:29. After making that change (from zeros to valid date) it started working.


solana-account-decoder types don't implement Clone

Problem
For exchanges and other consumers of the solana-account-decoder crate types who use them outside of the footprint of this repo, it is super inconvenient that most of these types do not implement Clone (and/or Copy when appropriate). Right now in our footprint we work around this by painstakingly implementing Clone on wrapper types for the majority of types in the crate. These wrapper types are tricky to maintain and are highly sensitive to breaking changes in the form of new/changed struct fields.
Proposed Solution
I will happily go through and derive Clone and/or Copy where appropriate throughout this crate, I just don't want to take the time to do that unless there is consensus that this should be done.
If Copy is contentious, how about just Clone?

I don't see any reason why Clone would cause issues -- feel free to submit a PR adding it to the types that you care about!

In our case this was in a serde serialize/deserialize flow using bincode's codec features, the TLDR being you end up in a situation where you have to take ownership to produce the serialization because of how codec works, but because there is effectively no way to duplicate these solana types (other than a very inefficient extra serialize => deserialize flow just to get the original back), the only remaining option becomes "implement a custom Klone trait on all the types" which is what we actually did 😆
the lesson though is it's pretty reasonable to expect people will always want some way of cloning your public types for various reasons and Rust's orphan rule effectively makes this your responsibility as a library maintainer, for better or for worse


Fix indentation in CFPlatform.c

Currently the indentation of the Linux atomics implementation is inconsistent.
(cc @spevans)

CC: @millenomi

I'm purposefully not taking patches that change the layout of CF code right now because I'm working on finishing this year's merge.

(You can keep it open, it'll just have conflicts when things merge.)

Ah, GitHub doesn't allow reopening a PR which has its branch deleted, I'll resubmit. Thanks!


Stop listening to updates

Let's say I'm doing this query:
firebaseStore.collection("inbox").snapshots

how can I stop this? Flow does not really have an API. (Use case is when logging out I don't want to listen any longer)

So to cancel a flow in general you need to cancel the coroutine it was collected from.


I don't get this.

Describe your problem here.
So, I made a few adjustments to a songs .json file and then when I go to the chart editor to reload the .json file, it immediately gives me this:
/Users/runner/hostedtoolcache/haxe/4.2.5/x64/std/haxe/format/JsonParser.hx (line 322)
/Users/runner/hostedtoolcache/haxe/4.2.5/x64/std/haxe/format/JsonParser.hx (line 145)
/Users/runner/hostedtoolcache/haxe/4.2.5/x64/std/haxe/format/JsonParser.hx (line 117)
/Users/runner/hostedtoolcache/haxe/4.2.5/x64/std/haxe/format/JsonParser.hx (line 117)
/Users/runner/hostedtoolcache/haxe/4.2.5/x64/std/haxe/format/JsonParser.hx (line 90)
/Users/runner/hostedtoolcache/haxe/4.2.5/x64/std/haxe/format/JsonParser.hx (line 90)
/Users/runner/hostedtoolcache/haxe/4.2.5/x64/std/haxe/format/JsonParser.hx (line 57)
Song.hx (line 140)
Song.hx (line 132)
FreeplayState.hx (line 371)
flixel/FlxState.hx (line 203)
flixel/FlxGame.hx (line 747)
flixel/FlxGame.hx (line 677)
flixel/FlxGame.hx (line 545)
openfl/events/EventDispatcher.hx (line 402)
openfl/display/DisplayObject.hx (line 1399)
Uncaught Error: Invalid number at position 247: 0.
Please report this error to the GitHub page: https://github.com/ShadowMario/FNF-PsychEngine

Crash Handler written by: sqirra-rng

So, tell me what's the problem. Could it be that the adjustments I made in the file were a bit incorrect? Or something else?
Are you modding a build from source or with Lua?
Lua
What is your build target?
Mac
Did you edit anything in this build? If so, mention or summarize your changes.
ported a few Dave and Bambi mods into the build

send the file

how do I do it tho

send the file

it doesn't support json files

send the file
it doesn't support json files

copa pasta

bro its too long for me to copy

Ctrl+A exists

this indicates your json is probably fucked

send the file

it doesn't support json files

rename .json to .txt and send it

Which .json file are you trying to port over. Like which song?

Looks like a fucked JSON, if i had to guess you may have accidentally replaced the chart file with save events or improperly ported a song from another engine

All I did to the json file was changing the change character script

Because in game it wouldn't work

Because in game it wouldn't work
What did you change in them exactly and how did you change it because that matters

bro its too long for me to copy

EXPORT IT AS A TXT FILE
(sorry for caps)


Venue abbreviations database

Use quickly-modifiable database file for the venue abbreviations.
Venue abbreviation lookups still fallback onto reasonable alternatives.

Wrong base repo, my bad


Update Synapse version used in tests

Update to a version that supports MSC4189

This is meant to be used by https://github.com/t2bot/matrix-media-repo/pull/621.


kubo: 0.15.0 -> 0.16.0

Description of changes
https://github.com/ipfs/kubo/releases/tag/v0.16.0
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)
[x] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

1 package marked as broken and skipped:

ipfs

3 packages built:

kubo
python310Packages.ipwhl
python39Packages.ipwhl


Is there a way to add a volume to container when the docker container is running?

Hi,all
At some use case,we want to add a volume to docker container when the container is running,in other words we want to add/delete volume to docker container dynamically.Docker don't support this right now,is there a way to do this or will docker support this?
Regards

@coolljt0725 - watch this PR :) https://github.com/docker/docker/pull/8826

duplicate https://github.com/docker/docker/issues/9849


More fake addresses for the TenX Token Sale

site: https://www.surveymonkey.com/r/MPJYZ5J

@tobyai :(


Annotation Time Position Indicator Not Reset When Stopped

To reproduce:

Start Session
Pause Session
Stop Session

=> time indicator on annotation timeline not reset, audio timeline position is put to start of audio

Tested and works as expected now


Question about observations invented in your paper

So, according to your paper, you invented 7 observations:

Vertex state, i.e. if v is currently in the solution set, S.
Immediate cut change if vertex state is changed.
Steps since the vertex state was last changed.
Difference of current cut-value from the best observed.
Distance of current solution set from the best observed.
Number of available actions that immediately increase the cut-value.
Steps remaining in the episode.

And you said that (4-6) ensures the extrinsic and intrinsic rewards are Markovian, however I do not get the point.
Could you explain it ?
Thx!

For an agent to correctly predict the rewards it will receive (and so, predict Q-values), it is required that all the information necessary to perform this calculation is contained within it's observation (this is what we mean by Markovian rewards). The reward returned at each step is the increase in cut-value beyond the best observed cut seen thus far in an episode + a small reward for the first time reaching a new local minima.  Therefore, the agent needs to know either the best cut found so far, or how far away from this the current cut value it (observation 4).  For the intrinsic rewards, it needs to know if it has visited a local minima before (which is approximated by observation 5 and found to be sufficient), and whether it is in a local minima (observation 6).

thank you for your answer！
it really helps me！
------------------ Original ------------------
From: Tom Barrett @.>
Date: Sat,Apr 10,2021 7:45 PM
To: tomdbar/eco-dqn @.>
Cc: Zhentao Tan @.>, Author @.>
Subject: Re: [tomdbar/eco-dqn] Question about observations invented in your paper (#4)
For an agent to correctly predict the rewards it will receive (and so, predict Q-values), it is required that all the information necessary to perform this calculation is contained within it's observation (this is what we mean by Markovian rewards). The reward returned at each step is the increase in cut-value beyond the best observed cut seen thus far in an episode + a small reward for the first time reaching a new local minima.  Therefore, the agent needs to know either the best cut found so far, or how far away from this the current cut value it (observation 4).  For the intrinsic rewards, it needs to know if it has visited a local minima before (which is approximated by observation 5 and found to be sufficient), and whether it is in a local minima (observation 6).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


transform: standardize date format

Description of proposed changes
Standardize date columns within shared function standardize_dataframe
instead of just in transform-genbank since it's become apparent that
GISAID dates may not be in ISO 8601 date format.
Stop relying on pandas to_datetime function to format date columns
since it infers the dates from incomplete date strings
(e.g. 2020 -> 2020-01-01 and 2020-01 -> 2020-01-01).
Related issue(s)

Fixes #69

 standardize dates in ncov-ingest


Missing API in getSnapshotData

Due to the Eunos update an API (part of it) is no longer reachable and throws errors. This leads to reinit of the always-on task

Also the long timeout of the Token-Richlist API leads to an error, because of negative sleep time


Can I Use Arch In Unity 2021.3?

We need to keep the current version of the engine for some special reason, and when I tried to integrate arch into 2021.3, it had some compilation errors

What Errors?


3rd party lib compile failed after upgrading to 0.57.2 or newer

Environment
[skip envinfo]
"react": "16.6.0-alpha.8af6728",
"react-native": "0.57.4",
Android Platform.
`react-native info` stuck

Description
All 3rd-party library compile failed after upgrading from 0.57.1 to newer version
One of these lib.

Task :react-native-gesture-handler:compileReleaseJavaWithJavac FAILED
/Users/dengguo/dev/novelsearcher/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerModule.java:16: error: package com.facebook.react.module.annotations does not exist
import com.facebook.react.module.annotations.ReactModule;
^
/Users/dengguo/dev/novelsearcher/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerModule.java:19: error: cannot find symbol
import com.facebook.react.uimanager.UIBlock;
^
symbol:   class UIBlock
location: package com.facebook.react.uimanager
/Users/dengguo/dev/novelsearcher/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerModule.java:40: error: cannot find symbol
@ReactModule(name=RNGestureHandlerModule.MODULE_NAME)
^
symbol: class ReactModule
/Users/dengguo/dev/novelsearcher/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerRootViewManager.java:4: error: package com.facebook.react.module.annotations does not exist
import com.facebook.react.module.annotations.ReactModule;
^
/Users/dengguo/dev/novelsearcher/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerRootViewManager.java:17: error: cannot find symbol
@ReactModule(name = RNGestureHandlerRootViewManager.REACT_CLASS)
^
symbol: class ReactModule
/Users/dengguo/dev/novelsearcher/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerButtonViewManager.java:196: error: cannot find symbol
@ReactProp(name = ViewProps.BORDER_RADIUS)
^
symbol:   variable BORDER_RADIUS
location: class ViewProps
/Users/dengguo/dev/novelsearcher/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerModule.java:574: error: cannot find symbol
final int rootViewTag = uiManager.resolveRootTagFromReactTag(ancestorViewTag);
^
symbol:   method resolveRootTagFromReactTag(int)
location: variable uiManager of type UIManagerModule
/Users/dengguo/dev/novelsearcher/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerModule.java:582: error: cannot find symbol
if (root.getRootView().getRootViewTag() == rootViewTag) {
^
symbol:   method getRootViewTag()
location: class ReactRootView
/Users/dengguo/dev/novelsearcher/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerModule.java:598: error: cannot find symbol
uiManager.addUIBlock(new UIBlock() {
^
symbol:   class UIBlock
location: class RNGestureHandlerModule
/Users/dengguo/dev/novelsearcher/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerModule.java:634: error: cannot find symbol
int rootViewTag = uiManager.resolveRootTagFromReactTag(viewTag);
^
symbol:   method resolveRootTagFromReactTag(int)
location: variable uiManager of type UIManagerModule
/Users/dengguo/dev/novelsearcher/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerModule.java:641: error: cannot find symbol
if (root.getRootView().getRootViewTag() == rootViewTag) {
^
symbol:   method getRootViewTag()
location: class ReactRootView
/Users/dengguo/dev/novelsearcher/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerEvent.java:41: error: method init in class Event cannot be applied to given types;
super.init(handler.getView().getId());
^
required: int,long
found: int
reason: actual and formal argument lists differ in length
where T is a type-variable:
T extends Event declared in class Event
/Users/dengguo/dev/novelsearcher/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerStateChangeEvent.java:45: error: method init in class Event cannot be applied to given types;
super.init(handler.getView().getId());
^
required: int,long
found: int
reason: actual and formal argument lists differ in length
where T is a type-variable:
T extends Event declared in class Event
/Users/dengguo/dev/novelsearcher/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerPackage.java:18: error: RNGestureHandlerPackage is not abstract and does not override abstract method createJSModules() in ReactPackage
public class RNGestureHandlerPackage implements ReactPackage {
^
/Users/dengguo/dev/novelsearcher/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNViewConfigurationHelper.java:44: error: cannot find symbol
return parent.getChildAt(((ReactViewGroup) parent).getZIndexMappedChildIndex(index));
^
symbol:   method getZIndexMappedChildIndex(int)
location: class ReactViewGroup
Note: /Users/dengguo/dev/novelsearcher/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerButtonViewManager.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
15 errors

@eyalabadi98 no, still using 0.57.1.
you ?

@micnil thanks！

Its not working anymore

react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerModule.java:16: error: package com.facebook.react.module.annotations does not exist
import com.facebook.react.module.annotations.ReactModule;
^
/Users/c-kunal.chugh/Desktop/bizmanager-react/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerModule.java:19: error: cannot find symbol
import com.facebook.react.uimanager.UIBlock;
^
symbol:   class UIBlock

Same issue as @kunal886496

i dont know why React Native have so much problems.

I managed to fix this @kunal886496.
You need to add reference to node modules in android/build.gradle
allprojects {     repositories { ... maven {              url "$rootDir/../node_modules/react-native/android"    }}}
And I also used this version of react-native-gesture-handler > "react-native-gesture-handler": "1.0.16"

Hi ,
Thanks for your reply.
Well what you told didn't work.
I am using the library react native image crop picker.
The root cause of the problem is this library.
Their latest version has some problem.
On Tue, Mar 19, 2019, 15:00 Anur Becirovic<EMAIL_ADDRESS>wrote:

I managed to fix this @kunal886496 https://github.com/kunal886496.
You need to add reference to node modules in android/build.gradle
allprojects { repositories { ... maven { url
"$rootDir/../node_modules/react-native/android" }}}
And I also used this version of react-native-gesture-handler >
"react-native-gesture-handler": "1.0.16"
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/facebook/react-native/issues/21981#issuecomment-474262039,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AbE9Bh_mNkEkOJJI-vsg9GkQuHn6N85qks5vYK5NgaJpZM4X-BGA
.

node_modules/@react-native-community/async-storage/android/src/main/java/com/reactnativecommunity/asyncstorage/AsyncStorageModule.java:26: error: package com.facebook.react.module.annotations does not exist
import com.facebook.react.module.annotations.ReactModule;
^
node_modules/@react-native-community/async-storage/android/src/main/java/com/reactnativecommunity/asyncstorage/AsyncStorageModule.java:37: error: cannot find symbol
@ReactModule(name = AsyncStorageModule.NAME)
^
symbol: class ReactModule

After struggling a couple of hours with it I removed node_modules folder, deleted yarn.lock file and reinstalled dependencies and it worked!
Still don't know what exactly was going on but I hope it helps...

In android/build.gradle, add below code than it becomes working
allprojects {
    repositories {
        mavenLocal()
        google()
        jcenter()
      maven {
                        // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
                        url "$rootDir/../node_modules/react-native/android"
            }
    }
}


[mobile] Show Discover New channels link / Manage tags on Your Tags page

Can't discover new channels on lbry.tv mobile. The UI works fine when you go to it directly (via landscape).
Also can't manage tags from the your tags page.

Both buttons are available in today's code:


Allow % selection for input amount

Expand the functionality of the "Max" button to allow for e.g. 25%, 50%, 100% of available.

Proposal: Allow to input percentages instead of numbers. After pressing Enter it will calculate the percentage of your balance and put this number in the field.


feat(Controller): add date type handling to action parameters

First of all: thank you for the awesome library.
I recently started to use it and see that there is no solution (or I simple didn't find it) for receive Date type in a query param so I made a little modification to make that possible.

I fixed it. It works with Promise.reject as you suggested.

Thank you! It will be released in a next 0.7.1 version


"List network" show only 4 projects!!!

Hi, guys!
List of NeuralNetwork projects is nearly empty!
And the magnitude of most CPIDs network = 0...

please also check newest comments in: "projects become "Not Whitelisted" (but they are in whitelist)" #154
very likely his will be fixed in the next superblock.
so, like in >21h

Thank you, Erkan-Yilmaz.
We will be patient.


CASMINST-6140 adjustment

Description

CASMINST-6140 tweak for more friendly copy-paste.
Checklist

[ ] If I added any command snippets, the steps they belong to follow the prompt conventions (see example).
[ ] If I added a new directory, I also updated .github/CODEOWNERS with the corresponding team in Cray-HPE.
[ ] My commits or Pull-Request Title contain my JIRA information, or I do not have a JIRA.

/backport main


last-ditch: Handle labels

This PR does some cleanups first and then adds labels to pod's runtime image and to image manifest.
This may be useful for rkt to extract the version of an image (and maybe arch and os if there is need) in error cases.

Did you use a bad email address for these commits? it's not linking against your account

Did you use a bad email address for these commits? it's not linking against your account

Argh, yes. Will send a new batch with fixed email.

I am a bit concerned that lastditch is basically expanding to just become the real schema without validation. Is there any way we can improve this situation to remove that duplication?

This is fine for now, I'm going to file a follow up to address my concerns.

Sorry, I forgot to reply to this.
I added labels only because you could get an image version from them, which is a kind of basic information for error reporting and that's all. I don't plan adding new features there.
But yeah, I shortly had similar thoughts, especially when thinking about --force flag to rkt rm or rkt image rm to remove faulty pod/image from store - but currently that can be implemented by first trying to remove pod/image with normal PodManifest/ImageManifest and if that fails - with a lastditch.PodManifest/lastditch.ImageManifest. But that leads to a code duplication. I suppose that PodManifest/ImageManifest should be designed from the start to be a struct holding ultimately only strings, and ACIdentifier, ACName and others should have been an implementation detail. OTOH, that would complicate marshalling and unmarshalling. Anyway, probably that ship had sailed.

I suppose that PodManifest/ImageManifest should be designed from the start to be a struct holding ultimately only strings, and ACIdentifier, ACName and others should have been an implementation detail.

I don't really know what you mean by this, could you provide a small example?
I'm definitely open to any suggestions to clean up the models and validation code.

All I'm saying is that PodManifest in schema package should look like PodManifest in lastditch package.
With more details - I don't think that PodManifest/ImageManifest (or any type that those two manifests hold instances of) should have fields of restricting type like ACKind, ACIdenfifier, ACName or SemVer - these should be just plain strings. For example a Label struct could be simply:
type Label struct {
	Name  string // string instead of ACIdentifier
	Value string
}

The validation could happen during serialization/deserialization, but with one catch - even if some string was invalid (say Name field in Label was not a valid ACIdentifier) we still would try to return a serialized/deserialized manifest. Something like:
im := schema.blankImageManifest()
err := im.Deserialize(getSomeBytes())
if !schema.IsInvalidErr(err) {
	return err // badly structured JSON
}
if schema.IsInvalidErr(err) && !force {
	return err
}
stuff, err := getStuffWeNeed(im); err != nil {
	return err
}

The nice part about using stronger types for the fields is that then they're self describing, self validating, and also the type system provides some amount of validation for free when working with the structs. But I am starting to think the downsides outweigh the niceties and something like your approach would be an improvement, despite the awkward code I think it will necessitate.


Use pre-ino64 FreeBSD symbols to resolve binary compatibility.

This follows the same method as other platforms like OSX and NetBSD.
This will fix rustup and building from git (once libc is updated for bootstrap)
on FreeBSD12 post-ino64 in https://github.com/freebsd/freebsd/commit/f713b08c027de35b0b8ed9990eabc32e100bee7a.
It also avoids having to hotpatch the stage0 compiler, and HOME/.cargo
libc files on FreeBSD12 to build rust.
The only real pitfall is that this will prevent interaction with inodes that
have an ino_t above the 32-bit limit due to truncation.  On the other hand
Rust won't work at all on 12 without doing this currently.  In general
it should not be a problem for users and if they need 64-bit ino_t they
can use a patched libc, rather than the current state of affairs in
requiring a patched libc to use Rust on 12.
A better, or complementary, approach would be something like proposed in
https://github.com/rust-lang/rfcs/pull/2048 to allow targetting a specific
version of FreeBSD. This would allow Rust to default to this compatibility
mode by targetting FreeBSD10 and still allow targetting FreeBSD12 for 64-bit
ino_t.
The symbol versions used were taken from the old version in
https://github.com/freebsd/freebsd/commit/f713b08c027de35b0b8ed9990eabc32e100bee7a#diff-61a32fcfb7ecd4517665fed591813c57
and
https://github.com/freebsd/freebsd/commit/f713b08c027de35b0b8ed9990eabc32e100bee7a#diff-7f67ccf8b5f44ff2f54eaab0207abb8d.
The scope of functions versioned here differs from other platforms as
not all structs were modified that were on others, such as DIR for
opendir, telldir, etc.  Only functions using dirent, stat, glob_t,
and dev_t need the changes.
Fixes https://github.com/rust-lang/rust/issues/42681

r? @alexcrichton
(rust_highfive has picked a reviewer for you, use r? to override)

FYI @dumbbell @asomers

@bors: r+
Awesome, thanks @bdrewery!
FWIW when we can I think it'd be fine to add things like stat64 and such like we have on Linux. Although those symbols probably don't actually exist in FreeBSD we could probably get away with pretending they do in this crate (using #[link_name])

:pushpin: Commit 78f9322 has been approved by alexcrichton

:hourglass: Testing commit 78f93220d70e796ba4a3ab8482d0f57be763e8c2 with merge 68d4848fe6ecce158f0a4fb821efdc68219ef88c...

:sunny: Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 68d4848fe6ecce158f0a4fb821efdc68219ef88c to master...


IE9 fix

I believe this will fix the IE9 bugs we've been seeing. Tested on Chrome 15, FF 7, IE7-9 with no issues.

Just tested this out and it's fixed the issues I'd been having with IE9.

 Am I too tired, or does this defeat the purpose of this plugin? :)

Fair question, Darsain. What I found when testing was that the script was failing in IE9 on images whose this.complete == false. They actually appeared as broken images to me. So I tried kickstarting these images with a .trigger('load'). I've been checking other browsers and this.complete has consistently returned true. So, I imagine we're not hurting other browsers nor negating the usefulness of this plugin.

I couldn't believe your findings on this.complete, so I've created a test with remote images, local images (for a fastest possible image loading times), remote broken images, and local broken images (broken = mistype in URL, 404 basically), and there is not one browser that would always return true in this.complete, not even on non-broken images. That means that your proposal can create a situation where one image can receive multiple load events, thus lowering the len and arriving at len <= 0 (all images loaded decision) before all images had finished loading.
Than I've spent the whole day digging in image element properties, trying to find out a reliable cross-browser method on how to properly check if an image has finished loading.
At the end I had to give up, and try a different approach. I came up with something that is simple, and works everywhere (IE 6, IE7, IE8, IE9, FF8, Opera 11.52, Chrome 15, Safari 5.1.1), but it "might" affect images loading. I haven't noticed any difference, but I'd like you guys to share your opinions on this. I'll submit a pull request with explanation for consideration.

Had the same issue with IE9 specifically but your solution didn't work for me. Long story short, issue is as described by audiophil in this gist here (https://github.com/desandro/imagesloaded/issues/8).
I've gone with a different solution by getting the plugin to check for specific browsers known to have issues using cached images (IE9 only for now)
(See this gist for more details: https://gist.github.com/1539102)
var can_use_cached_images = confirm_can_use_cached_images();
function confirm_can_use_cached_images() {
  var result = 'Good browser';
  var arr_known_browsers_with_issues = ['ie9'];

  // block to check for specific know buggy browsers.
  if ($.browser.msie) {
    result = 'ie' + parseInt($.browser.version, 10);    // target => IE9 ONLY at present
  }

  return ($.inArray(result, arr_known_browsers_with_issues) == -1);  // -1 means no match found.
}

Then separated out the image src without the ?xxxxx the  immediately into the $images.bind call something like so:
$images.bind( 'load error',  imgLoaded ).each( function() {
  if (can_use_cached_images == false) {
    this.src = this.src.split('?')[0];
  }
  _... rest of code ..._
});

Just wanted to chime in here too. I ran into the same problem, img.complete was always set to false and the load event would never fire for images in IE9. I did something similar to what yemster posted. For every image in ie9, I had to change the source by appending junk to the query string to get the event to fire.

I think I've fixed this in my pull request, I'm only waiting on someone with this problem to test it (I haven't been able to replicate your problem exactly), and than some discussion whether it is a good solution or not. It is a brute :), but I think reliable fix. Also, plugin can than trigger loaded event even when one of the images is broken, which this version will not do.

I can test your changes with my case.

I tested your code and it did seem to fix my issues with IE9.

Just tested on IE9. You are a life saver Darsain.

@justinhillsjohnson Thanks for the effort and for putting us on the right path. I'm going to close this pull request and merge in @Darsain's


Add timeframe to email msg

We get this question sometimes, so it's useful to add this.

Looks wonderful!

Good call! Updated.

Tested with https://github.com/OpenSats/applications/issues/545 - everything seems to work.


Use third party android gif decoder

Addresses issue 1257
Uses third party package Karamunting.Android.BumpTech.GlideGifDecoder.4.9.0 and replace references where necessary
Added Stream to byte[] extension function

That's a really nice idea! I would prefer to rewrite the code of package in pure c# though: https://github.com/bumptech/glide/tree/master/third_party/gif_decoder/src/main/java/com/bumptech/glide/gifdecoder
It shouldn't be complicated, I'll check if it's possible :)
License for third_party/gif_decoder:

Copyright (c) 2013 Xcellent Creations, Inc.

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

https://github.com/luberda-molinet/FFImageLoading/tree/pr/1261

Merged :) Thanks @natevarghese


Invitation mail to User

Hello again,
I hope this is my last time bothering you guys.
My current Problem is the following:
I try to create a new user but the Invitation is not sent:
If i check the /log/production.rb i find this:

before this error i see the created mail inside the logs and there is one hint i find:
From<EMAIL_ADDRESS>This is the sender address as you can see. But at initializers/pageflow.rb i changed that line as follows:
Pageflow.configure do |config|   config.mailer_sender =<EMAIL_ADDRESS>Inside my /config/environments/production.rb i added this block which i found on stackoverflow.  No change in the error message:
config.action_mailer.delivery_method = :sendmail   config.action_mailer.perform_deliveries = true   config.action_mailer.raise_delivery_errors = true   config.action_mailer.default_options = {from<EMAIL_ADDRESS> config.action_mailer.default_url_options = {host: 'pageflow.daad.com'}
I hope you can help me again as you did so well before.
Thank you in advance and best regards,
Ronald

Have you restarted the Resque workers? In the default Pageflow setup, mails are sent in background jobs. Configuration (i.e. config.mailer_sender or anything in config/environments/production.rb) will only be read once during worker startup.
I have no experience with using Sendmail in a Rails setup. So I can only advise to refer to the Action Mailer Rails guide or look for answers on StackOverflow.

Restarting the workers indeed did the trick. Thank you!
But now the next problem occurs:
i get 404 errors for images not found:
GET http://com-example-pageflow-out.s3-website-eu-west-1.amazonaws.com/bandwidth_probe_small.png?1495014184536 404 (Not Found)
This bucket is not in my pageflow.rb anymore.
ive got this in my pageflow.rb
config.paperclip_s3_default_options.merge!(
:s3_credentials => {
:bucket => ENV.fetch('S3_BUCKET'),
:access_key_id => ENV.fetch('S3_ACCESS_KEY'),
:secret_access_key => ENV.fetch('S3_SECRET_KEY'),
:s3_host_name => ENV.fetch('S3_HOST_NAME')
},
:s3_host_alias => ENV.fetch('S3_HOST_ALIAS'),
:s3_protocol => ENV.fetch('S3_PROTOCOL')
)
and all my ENV variables are set properly.
Why does the app bother with this buckets and with this images?

Make sure that the bucket contains the bandwidth probe images. But here the the issue is something else: The URL is written from your env variables to Javascript during asset precompilation. If you change the paperclip_default_options you need to recompile your assets for changes to take effect.

yes thats it. Recompiling the assets did it. Thanks for all your support. There are really a lot of steps to have in mind which are also not all that well documented to be honest.
Thank you a lot.

We are happy to accept pull requests that fill gaps in the documentation. You can also contribute to the relevant wiki pages. I tried to add items for all issues you encountered to the Troubleshooting guide.
Still, a lot of these topics are really specific to individual deployment choices or more general Rails deployment questions. As a Rails engine, Pageflow leaves a lot of choices for the developer of the actual Rails application. A complete guide on how to run Rails applications in production is beyond the scope of Pageflow's documentation


Develop githubtemplate

Minor Update to HTTP.Samples
Description
updated certificate protocol TLS1.2 to align with the global-root-ca site. updated date time set for the device the function had 2020 hard coded into the loop so it would run the function 30 times though it was not needed.
Motivation and Context
sample did not function
How Has This Been Tested?
tested on esp32
Screenshots
Types of changes

[ ] Improvement (non-breaking change that improves a sample)
[x] Bug fix (fixes an issue with a current sample)
[ ] New Sample (adds a new sample)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Signed-off-by<EMAIL_ADDRESS>

opened in error


Issue with disabling main instance compute worker

Using this documentation:
https://github.com/codalab/codabench/wiki/Production-settings#disabling-docker-containers-on-prod
Provokes:
$ docker-compose down
ERROR: The Compose file is invalid because:
Service worker_compute has neither an image nor a build context specified. At least one must be provided.

Solved. The service was named worker_compute instead of compute_worker.


feat: auto detect .nycrc file

see https://github.com/bcoe/c8/blob/bf3073b00ece8384d1c41f5ed7dfb3e6974e39f4/lib/parse-args.js#L21

Can you add a test?

and docs


add: issue url check open or closed

Description
Closes #2733

Readiness checklist

[ ] I added/updated unit tests (and they pass).
[ ] I added/updated integration/compatibility tests (and they pass).
[ ] I added/updated comments and checked rendering.
[ ] I made spot refactorings.
[ ] I updated user documentation.
[ ] I ran task all, and it passed.
[ ] I ensured that PR title is good enough for the changelog.
[ ] (for maintainers only) I set Reviewers (@FerretDB/core), Milestone (Next), Labels, Project and project's Sprint fields.
[ ] I marked all done items in this checklist.

@AlekSi I realised now there in no clear way to find issue open or closed by issue url like we used in our test, is there any better way?

I think we could use the GitHub API via https://github.com/google/go-github. We have some examples there: https://github.com/FerretDB/github-actions/blob/main/conform-pr/main.go

@KrishnaSindhur, any news? Anything we could help you with?

@AlekSi this PR is like draft just want to know how to test locally? github token is required to test it locally and some repo information please check!!

what we should do if we have below URL? should we ignore or catch it?
https://api.github.com/repos/owner/https://github.com/FerretDB/FerretDB/issues/2733

We should use construct valid URLs to check issues. For example, the given API URL for https://github.com/FerretDB/FerretDB/issues/2733 is https://api.github.com/repos/FerretDB/FerretDB/issues/2733

@AlekSi below test fails because after TODO we have comment so it gives invalid TODO: incorrect format not the invalid TODO: linked issue is closed to get invalid TODO: linked issue is closed we have to remove // want
func testIncorrectClosed() {
	// TODO https://github.com/FerretDB/FerretDB/issues/1 // want "invalid TODO: linked issue is closed"
}

we have to remove // want

That would be the equivalent of removing a test, and we want to keep that test. Let's find some other solution. For example, we could remove // want … part if the file name is testdata.go.
Let's also gather all URLs first, remove duplicates, and then check them. Right now we check the same issue multiple times, quickly running over a rate limit for unauthenticated requests.

@AlekSi should i make change to remove? this should be check in todo statement to check file name something and then avoid  // want ..
// want … part if the file name is testdata.go.

so then how do we check for duplicate issue without a api hit?

so then how do we check for duplicate issue without a api hit?

By collecting already checked URLs and not checking the same URL twice

hey sorry i was occupied with some other things could not spend time last 2 weeks
@AlekSi

No worries! :)


Bug Report: Deny-LogicApps-Without-Https.json

Describe the bug
The policy has the same condition copied twice:
                        "anyOf": [
                            {
                                "field": "Microsoft.Web/sites/httpsOnly",
                                "exists": "false"
                            },
                            {
                                "field": "Microsoft.Web/sites/httpsOnly",
                                "equals": "false"
                            }
                        ]
                    }

Steps to reproduce

View the policy in this repo
Observe the duplication

Suggested Action

Remove the duplicate condition from the policy and the "AnyOf" block.

It's not duplicate: the first one checks if the field doesn't exist and the second one if it's value equals to false.