[Feature] add yi-6b and yi-34b sft script

Thanks very much for your contribution!
I have reviewed this PR and there are two comments:

Please set accumulative_counts=16 and dataloader_num_workers=0 to align with other configs
Use PagedAdamW32bit instead of AdamW is better?

Thanks very much for your contribution!
I have reviewed this PR and there are two comments:

Please set accumulative_counts=16 and dataloader_num_workers=0 to align with other configs
Use PagedAdamW32bit instead of AdamW is better?

Thanks for your advice.I update them.

@amulil
Please fix the pre-commit~
Guide: https://github.com/InternLM/xtuner/blob/main/.github/CONTRIBUTING.md#2-configure-pre-commit

@amulil Please fix the pre-commit~ Guide: https://github.com/InternLM/xtuner/blob/main/.github/CONTRIBUTING.md#2-configure-pre-commit

I'm sorry.It seems I have fixed it.Please check it. @LZHgrla

LGTM!

@amulil LGTM! Is this PR ready to be merged?

Yes!It can be merged. @LZHgrla


Sync not happening

Hi,
I have installed Sync in Visual Code and was able to succesfully upload settings (machine01), then tried on another machine (machine02) and configured Sync again. No errors but Sync does not come through (machine02)
Upload on machine01 was ok:
Files Uploaded:
extensions.json > extensions.json
settings.json > settings.json
Extensions Ignored:
No extensions ignored.
Extensions Removed:
No extensions removed.
Extensions Added:
No extensions installed.
Done.
Machine02 doesn't show output though I have enabled it (toggle show summary).
When downloading settings, it says
Sync: you already have latest version ... but no extensions or config appears.
Please advise.

please use the proper issue format while posting issue so i know all the details.

What is the "proper issue format" (what input do you expect from me)?

🐛 Describe the bug
A clear and concise description of what the bug is. You are always welcome to check the Troubleshooting section before filing the ticket.
🌴 Visual Studio Code Version : [ VERSION_HERE ]
🌴 Code Settings Sync Version : [ VERSION_HERE ]
🌴 Standard or Insiders : [ here ]
🌴 OSS or Portable : [ here ]
🌴 Operating System : [ VERSION_HERE ]
🌴 Occurs On: [Upload / Download / Help Configuring ]
🌴 Proxy Enabled: [ Yes / No ]
🌴 Gist Id: [ ID_HERE ]
📰 To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Related to #789

Duplicate of #789


Update Fides to allow customizing consent banner/modal UI

Moving this one out of this sprint 👋

FWIW, this would have to be in fidesplus @allisonking, @Kelsey-Ethyca

moving to done


[RFC] per-platform low-level abstractions

I propose to introduce a low-level platform abstraction for features that require platform-specific bindings or implementations. These abstractions would be grouped under a Sys namespace in the core library, and be private to the core/stdlib (the API can be changed at any time). This RFC is influenced by the sys namespace in Rust.
These abstractions are currently either missing (i.e. tied to POSIX) or implemented using compile-time flags and inlined in the source code, which already proves hard to read. See for example callstack.cr where it's quickly hard to know for sure which platform is targeted by the code currently visible on screen; adding support for Windows would only make things badder.
Some use cases:

raising exceptions, building a stack trace for exceptions (platform specific, sometimes arch-specific);
getting the current time, changing or removing TZ+DST offsets;
getting random numbers (/dev/null, arc4random, ...);
asynchronous File and IO read/writes;
and many more topics.

Formally, I propose to introduce a src/sys entry with platform specific subfolders, and a generic file that would require the correct implementation based on compile flags. For example a Sys::Random module could be defined as:

sys/unix/random.cr (UNIX generic: read from /dev/null /dev/urandom)
sys/linux/random.cr (use getrandom on Linux if available, otherwise fallback to /dev/urandom)
sys/openbsd/random.cr (use arc4random on OpenBSD)
sys/windows/random.cr
with sys/random.cr implemented as follow:

{% if flag?(:linux) %}
  require "./linux/random"
{% elsif flag?(:openbsd) %}
  require "./openbsd/random"
{% elsif flag?(:windows) %}
  require "./windows/random"
{% else %}
  require "./unix/random"
{% end %}

Porting Crystal to support more platforms could be achieved by adding any required C bindings to src/lib_c then implement the API for the platform under src/sys —in the hopeful case that it won't require changes in the Sys API.
This RFC may not solve everything, some topics may be harder (e.g. threads, fiber context switches), but I'm confident it would help simplify and cleanup the core/stdlib source code, and ease the review and merge of per-platform features (i.e. incremental Windows support).

I'm all in, in fact I proposed something similar in the past

@ysbaddaden for unix generic method to get some random, I think you mean /dev/urandom instead of /dev/null

@bcardiff proposed Platform as an alternative name, and it seems to gain some traction.
My only concern is that I can foresee myself defining a Platform type someday, whereas I don't foresee using a Sys namespace. But no strong feelings. If we prefer Platform, then long lived Platform!

I've been a bit split about the usage of Sys, System and Platform being used by default by any Crystal project. Been thinking more and more that Crystal runtime elements might deserve their own namespace (like RT for Runtime or similar).
I see that extend to things like the Scheduler and other internal elements of Crystal that don't need to be exposed directly to the global namespace.
Sorry, couldn't resit the bike shedding :stuck_out_tongue_winking_eye:

No, you're perfectly right Luis. The crystal runtime (e.g. Scheduler, ...) should live under the Crystal namespace, even maybe Crystal:: Runtime. It was proposed and accepted under a POSIX or libc related pull request. It's a good idea.
We could introduce Crystal::Platform or Crystal::System (we are making system calls after all) in order to boostrap this change?

It looks like we settled on Crystal::System. Can we consider this done and close it? Also, maybe we should distill the conclusions of this in a wiki article for future reference for contributors.


Feature/adrs

:rocket: deployment of connecting-to-services succeeded (http://connecting-to-services-pr-296.dev.beta.nhschoices.net)

:rocket: deployment of connecting-to-services succeeded (http://connecting-to-services-pr-296.dev.beta.nhschoices.net)

@markysoft Good spots/suggestions. Changes have been made.

:rocket: deployment of connecting-to-services succeeded (http://connecting-to-services-pr-296.dev.beta.nhschoices.net)


Support crypto.Signer for signature generation

The documentation for packet.PrivateKey says the PrivateKey field may be:
// An *{rsa|dsa|elgamal|ecdh|ecdsa|ed25519}.PrivateKey or
// crypto.Signer/crypto.Decrypter (Decryptor RSA only).

But this is only really true for a PubKeyAlgoRSA type keys as of 6fef34b03b21e14c4dda47f3f8e5f9e3630a70ee (#111), which removed support for using a crypto.Signer for PubKeyAlgoECDSA.
Ideally all of the key types should support a crypto.Signer, so that keys which are not stored locally can be used to generate signatures. This is currently not possible.
Would there be any objection adding this support back for ECDSA (and possibly expanding the support for all of the key types)? Based on my reading, it should be relatively trivial to implement.

Yeah, it was a bit of an oversight that #111 was a breaking change. So this sounds reasonable to me :+1:


I've configured it to be cleaned after 24 hours, or if I remove it manually, a new correct image is served and stored.
We just started using Imagor in production, so I am very concerned about figuring out why this behavior occurred.
Example:

After I removed from the cache:

Hello,
We have a similar problem:
Original image size: 32MB
Storage broken image size: 16MB
Desired size: 2000x400 with quality filter at 65%
Origen of image: web
Storage type (result and storage): file storage
Expiration: 2d
Imagor version: 1.4.12
And no logs available
Original

Cache

Result

Maybe you can add a double check at the moment that you save the cache image that the image size is the same in the cache.

Same here. The log is empty (only the starting info).

Hi @StepanKuksenko  @dlopez051 @thueske  would you please test it under the docker build of master branch, and see if the corrupted image still show up as frequent?
https://github.com/cshum/imagor/pkgs/container/imagor/241055924?tag=master
ghcr.io/cshum/imagor@sha256:1d06522f4dcfd01ee9ef60c20f790015f9bfd374041e645d7d89827637194cd5

thank y

Hi @StepanKuksenko @dlopez051 @thueske would you please test it under the docker build of master branch, and see if the corrupted image still show up as frequent, or not anymore?
https://github.com/cshum/imagor/pkgs/container/imagor/241055924?tag=master
ghcr.io/cshum/imagor@sha256:1d06522f4dcfd01ee9ef60c20f790015f9bfd374041e645d7d89827637194cd5

thank you I will try

Hi @StepanKuksenko @dlopez051 @thueske would you please test it under the docker build of master branch, and see if the corrupted image still show up as frequent, or not anymore?
https://github.com/cshum/imagor/pkgs/container/imagor/241055924?tag=master
ghcr.io/cshum/imagor@sha256:1d06522f4dcfd01ee9ef60c20f790015f9bfd374041e645d7d89827637194cd5

no matching manifest for linux/arm64/v8 in the manifest list entries 🙈

Oh only amd64 available for master branch docker, due to arm64 taking too long to build.
But I do want to verify the changes, before tagging a new version.

Hi @StepanKuksenko @dlopez051 @thueske would you please test it under the docker build of master branch, and see if the corrupted image still show up as frequent, or not anymore?
https://github.com/cshum/imagor/pkgs/container/imagor/241055924?tag=master
ghcr.io/cshum/imagor@sha256:1d06522f4dcfd01ee9ef60c20f790015f9bfd374041e645d7d89827637194cd5

Hello,
Thanks for the change, I'm going to try it, in case I detect any similar images with this version, I'll let you know.

Fix available at v1.4.13


Disable add button on empty input field of Add Group Members

Is your feature request related to a problem? Please describe.
If the input field is left blank and user presses the ADD button then it shows a Enter emails in valid format error message.

This error message is not appropriate, since the user hasn't entered any email yet, so there comes no question of correct email format.
Describe the solution you'd like
It will be better to disable the ADD button till the input field is empty. This will result into a better UX.
Are you working on this? (Yes/No)
No

@Sparsh1212 @satu0king I would like to work on this. Can you please assign it to me?


[focalboard] cannot parse 'port' as int

Hi,
@stafot
Today I am trying to install focalboard using helm chart.
I will report some issues.

pvc.yaml has problem
after I edited like below, it works. please refer other tool's charts.

remove storageClass syntax in metadata
...
spec:
  {{- if .Values.persistence.storageClass }}
  storageClassName: "{{ .Values.persistence.storageClass }}"
  {{- end }}

v0.7.0 docker image does not exist so I use v0.6.7

after install, it does not work.

$ k -n focalboard-stage logs focalboard-65897d7798-tlpqm
2021/06/21 12:03:03 Focalboard Server
2021/06/21 12:03:03 Version: 0.6.7
2021/06/21 12:03:03 Edition: linux
2021/06/21 12:03:03 Build Number: dev
2021/06/21 12:03:03 Build Date: Mon May 24 17:25:23 UTC 2021
2021/06/21 12:03:03 Build Hash: f1b8d88d6badeffadb259653bc4f9560710e79b6
2021/06/21 12:03:03 Unable to read the config file: 1 error(s) decoding:

* cannot parse 'port' as int: strconv.ParseInt: parsing "tcp://<IP_ADDRESS>:80": invalid syntax

when if I installed postgresql, following https://www.focalboard.com/download/personal-edition/ubuntu/#install-postgresql-recommended,
how to add/edit /opt/focalboard/config.json
I think we need config map for this.

after researching, I found https://github.com/mattermost/focalboard/issues/363,
edit deployment.yaml,
          env:
            - name: FOCALBOARD_PORT
              value: "8000"

now it works!


PHP -- Use HTML snippet expansions

Hi,
Often times (WordPress dev) there's both PHP and HTML mixed into the same page. Right now, HTML expansions don't seem to work when your syntax is set to PHP -- is there a setting I could be overlooking with this? I use Emmet in Sublime and it works fine. Thanks!

Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

Just pushed v2.3.2 where you can easily add Tab expander for custom syntaxes:  https://github.com/emmetio/emmet-atom#tab-key


Need Toolchain

I'm trying to setup vim to be compiled, but for some reason it keeps telling me:
`checking whether the C compiler works... no
configure: error: in /home/awlsomealex/Git/stelalinux/work/vim/vim-8.1.2424/src:
configure: error: C compiler cannot create executables`
Did I do something wrong in my build script @protonesso ? I've been fighting this for close to an hour and don't see anything out of line.....

Okay so I fixed a few things, but now I get this
checking --with-tlib argument... ncurses checking for linking with ncurses library... configure: error: FAILED
Just saying, I have libncurses-dev downloaded.

I'm at this point.
/home/awlsomealex/Git/stelalinux/toolchain/bin/../lib/gcc/x86_64-linux-musl     /9.2.1/../../../../x86_64-linux-musl/bin/ld: warning: libdl.so.2, needed by      /usr/lib/x86_64-linux-gnu/libncurses.so.6, not found (try using -rpath or      -rpath-link)

I'd recommend to build your own cross-toolchain from scratch including file, pkgconf, gcc, binutils, musl and linux-headers

@protonesso I've talked to the musl.cc developer about doing something like that before. When I get more time (and resources) to heavily look into that, I'll create a musl toolchain, or even create a musl chroot to act as a native build. But for now, I'm going to experiment with glibc.

@protonesso configure:14208: error: possibly undefined macro: AX_PTHREAD when trying to build gcc-static


is this project even necessary anymore?

The typescript node typings are more up to date and ts2fable could generate all bindings, no?

ts2fable is can't generate all binding it can still generate invalid or incorrect code.
And I think people still use fable-node, I know that myself still use it by default because it has most of the API I need and Node API is kind of stable enough that even old binding are still relevant IHMO


DeepId throws exception in

To reproduce the issue, run the command
cd tests
python visual_tests.py

To reproduce the issue, run the command
cd tests
python visual_tests.py

Closed with PR - https://github.com/serengil/deepface/pull/964


More elegant labeling logic

you already merged this but I finally got a chance to look at it :+1:


Object detection with own model fails with ...

Hi Nick,
after recapping successfully your tutorial "as is" I tried out to create my own object detection model.  I replaced your pictures with mine, used my own annotation xml files (boxes only), trained it (was very short run time - only one global step ...), created the graph file and then tested it with the following result. There seems to go something wrong with the "aspect" parameter set to "normal" ... but I do not know what that means ;-)
jre@ibm-jre-mbp  ==_-+- python object_detection/object_detection_runner.py
dyld: warning, LC_RPATH $ORIGIN/../../_solib_darwin_x86_64/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow in /Users/jre/Library/Python/2.7/lib/python/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so being ignored in restricted program because it is a relative path
Loading model...
detecting...
2017-12-01 11:55:11.616214: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
Traceback (most recent call last):
  File "object_detection/object_detection_runner.py", line 90, in <module>
    detect_objects(image_path)
  File "object_detection/object_detection_runner.py", line 63, in detect_objects
    plt.imshow(image_np, aspect = 'normal')
  File "/Users/jre/Library/Python/2.7/lib/python/site-packages/matplotlib/pyplot.py", line 3080, in imshow
    **kwargs)
  File "/Users/jre/Library/Python/2.7/lib/python/site-packages/matplotlib/__init__.py", line 1710, in inner
    return func(ax, *args, **kwargs)
  File "/Users/jre/Library/Python/2.7/lib/python/site-packages/matplotlib/axes/_axes.py", line 5189, in imshow
    self.set_aspect(aspect)
  File "/Users/jre/Library/Python/2.7/lib/python/site-packages/matplotlib/axes/_base.py", line 1273, in set_aspect
    self._aspect = float(aspect)  # raise ValueError if necessary
ValueError: could not convert string to float: normal
[ /Users/jre/Downloads/Watson/JRE-Object-Detection-master ]
jre@ibm-jre-mbp  ==_-+-

What is going wrong? Find the installed versions of numpy and matplotlib below:
jre@ibm-jre-mbp  ==_-+- pip list --format=legacy
altgraph (0.10.2)
appnope (0.1.0)
asn1crypto (0.23.0)
backports-abc (0.5)
backports.functools-lru-cache (1.4)
backports.shutil-get-terminal-size (1.0.0)
backports.weakref (1.0.post1)
bdist-mpkg (0.5.0)
bleach (2.1.1)
bonjour-py (0.3)
certifi (2017.11.5)
cffi (1.11.2)
chardet (3.0.4)
configparser (3.5.0)
cryptography (2.1.3)
cycler (0.10.0)
decorator (4.1.2)
entrypoints (0.2.3)
enum34 (1.1.6)
funcsigs (1.0.2)
functools32 (3.2.3.post2)
futures (3.1.1)
html5lib (1.0b10)
idna (2.6)
ipaddress (1.0.18)
ipykernel (4.6.1)
ipython (5.5.0)
ipython-genutils (0.2.0)
ipywidgets (7.0.5)
Jinja2 (2.10)
jsonschema (2.6.0)
jupyter (1.0.0)
jupyter-client (5.1.0)
jupyter-console (5.2.0)
jupyter-core (4.4.0)
lxml (4.1.1)
macholib (1.5.1)
Markdown (2.6.9)
MarkupSafe (1.0)
matplotlib (2.1.0)
mistune (0.8.1)
mock (2.0.0)
modulegraph (0.10.4)
nbconvert (5.3.1)
nbformat (4.4.0)
notebook (5.2.1)
numpy (1.13.3)
olefile (0.44)
pandocfilters (1.4.2)
pathlib2 (2.3.0)
pbr (3.1.1)
pexpect (4.3.0)
pickleshare (0.7.4)
Pillow (4.3.0)
pip (9.0.1)
prompt-toolkit (1.0.15)
protobuf (3.5.0.post1)
ptyprocess (0.5.2)
py2app (0.7.3)
pycparser (2.18)
Pygments (2.2.0)
pyobjc-core (2.5.1)
pyobjc-framework-Accounts (2.5.1)
pyobjc-framework-AddressBook (2.5.1)
pyobjc-framework-AppleScriptKit (2.5.1)
pyobjc-framework-AppleScriptObjC (2.5.1)
pyobjc-framework-Automator (2.5.1)
pyobjc-framework-CFNetwork (2.5.1)
pyobjc-framework-Cocoa (2.5.1)
pyobjc-framework-Collaboration (2.5.1)
pyobjc-framework-CoreData (2.5.1)
pyobjc-framework-CoreLocation (2.5.1)
pyobjc-framework-CoreText (2.5.1)
pyobjc-framework-DictionaryServices (2.5.1)
pyobjc-framework-EventKit (2.5.1)
pyobjc-framework-ExceptionHandling (2.5.1)
pyobjc-framework-FSEvents (2.5.1)
pyobjc-framework-InputMethodKit (2.5.1)
pyobjc-framework-InstallerPlugins (2.5.1)
pyobjc-framework-InstantMessage (2.5.1)
pyobjc-framework-LatentSemanticMapping (2.5.1)
pyobjc-framework-LaunchServices (2.5.1)
pyobjc-framework-Message (2.5.1)
pyobjc-framework-OpenDirectory (2.5.1)
pyobjc-framework-PreferencePanes (2.5.1)
pyobjc-framework-PubSub (2.5.1)
pyobjc-framework-QTKit (2.5.1)
pyobjc-framework-Quartz (2.5.1)
pyobjc-framework-ScreenSaver (2.5.1)
pyobjc-framework-ScriptingBridge (2.5.1)
pyobjc-framework-SearchKit (2.5.1)
pyobjc-framework-ServiceManagement (2.5.1)
pyobjc-framework-Social (2.5.1)
pyobjc-framework-SyncServices (2.5.1)
pyobjc-framework-SystemConfiguration (2.5.1)
pyobjc-framework-WebKit (2.5.1)
pyOpenSSL (17.4.0)
pyparsing (2.2.0)
pysolr (3.6.0)
python-dateutil (2.6.1)
pytz (2017.3)
pyzmq (16.0.3)
qtconsole (4.3.1)
requests (2.18.4)
scandir (1.6)
scipy (0.13.0b1)
setuptools (38.2.1)
simplegeneric (0.8.1)
singledispatch (<IP_ADDRESS>)
six (1.11.0)
subprocess32 (3.2.7)
tensorflow (1.4.0)
tensorflow-tensorboard (0.4.0rc3)
terminado (0.8)
testpath (0.3.1)
tornado (4.5.2)
traitlets (4.3.2)
urllib3 (1.22)
vboxapi (1.0)
watson-developer-cloud (1.0.0)
wcwidth (0.1.7)
webencodings (0.5.1)
Werkzeug (0.12.2)
wheel (0.30.0)
widgetsnbextension (3.0.8)
xattr (0.6.4)
zope.interface (4.1.1)
[ /Users/jre/Downloads/Watson/JRE-Object-Detection-master ]
jre@ibm-jre-mbp  ==_-+-

Try changing it from plt.imshow(image_np, aspect = 'normal')
To
plt.imshow(image_np)
Looking at the documentation ‘normal’ isn’t a real thing, not sure why it was running fine before...

Cheers ... it runs now but the output images show no identified objects ... I suspect the mistake in the training which took only some minutes and gave this output (there was only one "global step" ...)
INFO:tensorflow:Scale of 0 disables regularizer.
INFO:tensorflow:Scale of 0 disables regularizer.
WARNING:tensorflow:From /Users/jre/Downloads/Watson/JRE-Object-Detection-master/object_detection/trainer.py:176: create_global_step (from tensorflow.contrib.framework.python.ops.variables) is deprecated and will be removed in a future version.
Instructions for updating:
Please switch to tf.train.create_global_step
INFO:tensorflow:Scale of 0 disables regularizer.
INFO:tensorflow:Scale of 0 disables regularizer.
INFO:tensorflow:Scale of 0 disables regularizer.
INFO:tensorflow:Scale of 0 disables regularizer.
WARNING:tensorflow:From /Users/jre/Downloads/Watson/JRE-Object-Detection-master/object_detection/builders/optimizer_builder.py:105: get_or_create_global_step (from tensorflow.contrib.framework.python.ops.variables) is deprecated and will be removed in a future version.
Instructions for updating:
Please switch to tf.train.get_or_create_global_step
INFO:tensorflow:Summary name Learning Rate is illegal; using Learning_Rate instead.
INFO:tensorflow:Summary name /clone_loss is illegal; using clone_loss instead.
/Users/jre/Library/Python/2.7/lib/python/site-packages/tensorflow/python/ops/gradients_impl.py:96: UserWarning: Converting sparse IndexedSlices to a dense Tensor of unknown shape. This may consume a large amount of memory.
  "Converting sparse IndexedSlices to a dense Tensor of unknown shape. "
2017-12-01 10:55:27.175007: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
INFO:tensorflow:Restoring parameters from model.ckpt
INFO:tensorflow:Starting Session.
INFO:tensorflow:Saving checkpoint to path train/model.ckpt
INFO:tensorflow:Starting Queues.
INFO:tensorflow:global_step/sec: 0
INFO:tensorflow:Recording summary at step 0.
INFO:tensorflow:global_step/sec: 0
INFO:tensorflow:global step 1: loss = 1.9224 (140.383 sec/step)
INFO:tensorflow:Recording summary at step 1.
INFO:tensorflow:global_step/sec: 0.00850703
Killed: 9
[ /Users/jre/Downloads/Watson/JRE-Object-Detection-master ]
jre@ibm-jre-mbp  ==_-+-

Any idea what's gone wrong with my training? My annotation XML files looks like this:
</annotation><annotation>
    <folder>images</folder>
    <filename>Strom_8.jpg</filename>
    <size>
        <width>2988</width>
        <height>5312</height>
        <depth>3</depth>
    </size>
    <segmented>0</segmented>
    <object>
        <name>Stromzaehler_ID</name>
        <pose>Unspecified</pose>
        <truncated>0</truncated>
        <difficult>0</difficult>
        <bndbox>
            <xmin>801</xmin>
            <ymin>2162</ymin>
            <xmax>1743</xmax>
            <ymax>2347</ymax>
        </bndbox>
    </object>
    <object>
        <name>Stromzaehler_CT</name>
        <pose>Unspecified</pose>
        <truncated>0</truncated>
        <difficult>0</difficult>
        <bndbox>
            <xmin>1138</xmin>
            <ymin>886</ymin>
            <xmax>1852</xmax>
            <ymax>1101</ymax>
        </bndbox>
    </object>

I would try and get at the minimum 100 images per object. Although I'm not sure if thats the problem. I believe Killed: 9 is an "Abnormal termination of the process." Have you tried running it again? The kernel could have just killed it because it was using too many resources. Are you running this locally?

Yes I am running locally ... it is a 2015 Macbook Pro ... the training of the tutorial ran without troubles ...

I would just try training it again and if that doesn’t work add more training data. Just out of curiosity, how many steps did tutorial run for and how long did it take?

I ran into this same issue about 10 mins ago, just used plt.imshow(image_np, aspect = 'auto') and that worked for me

Yes, I tried this also and it worked ... thanks for this advise :-)
But I probably found now, why my training fails ... I have only 16GB physical memory in my Macbook ... and once starting the training it goes up to 65GB compressed memory. After the first global step the process kills itself ... Probably this messages is the reason why I am running out of memory:
INFO:tensorflow:Summary name Learning Rate is illegal; using Learning_Rate instead.
INFO:tensorflow:Summary name /clone_loss is illegal; using clone_loss instead.
/Users/jreich/Library/Python/2.7/lib/python/site-packages/tensorflow/python/ops/gradients_impl.py:96: UserWarning: Converting sparse IndexedSlices to a dense Tensor of unknown shape. This may consume a large amount of memory.
  "Converting sparse IndexedSlices to a dense Tensor of unknown shape. "

=>
... UserWarning: Converting sparse IndexedSlices to a dense Tensor of unknown shape. This may consume a large amount of memory.
"Converting sparse IndexedSlices to a dense Tensor of unknown shape. " ...
<=
Can I change the configuration to use less memory?

What model are you using? The faster_rcnn_resnet101_coco and config file provided had me around 3.5 GB for the duration, even though I got the same warnings. Likely is the mem, I had the same issue for (getting killed after the first global step) because my docker was set up for only 2gb. After increasing that I was able to train approx 120 test images varying in size but nothing too huge. I am just starting to use this lib so I am by no means well versed in it but just figured I would let you know my limited experience.

The batch_size is by default set to 1, so I don't think you can lower that anymore.  Maybe if you use the mobile net model it will use less memory?

The training images are between 3 and 5 MB. I have reduce file sizes by 85% ... now around 400-500 Kbyte ... running again ...

Memory still increasing over 65GB and still killing itself ... trying now to crop the images to get down to average 200k files like in your tutorial ...

how many pixels x pixels do the images average?

I don't think the compression of the image files will have much of an effect, because I'm pretty sure it has to load all of the pixels into memory when it loads the images. So a reduction in pixel size should have a much more dramatic effect. Just make sure you update your bounding boxes

Yeah ... I thought so too ... Newbie me used pics with 5XXX x 2XXX size ... far too big ... installed imagemagick and converted to width of 1000 pixel ... Now the files are down to 100-150k ... As you say, I will need to update the annotations now as this x and y values do not fit anymore ... will do probably later tonight or during the weekend. I am still in the office and need to go home to my family ... weekend evening ... they are waiting for Daddy. It's 6:30pm in Germany :-) time to leave ...
Thanks for guiding me to the right point ... I will do the changes and run the training ... keep you posted!

That should work much better :) Enjoy your weekend!

I'm facing the same problem, process killed after 1 step. How people can go to home with such an issue.

I was busy last week making a lot of money for my company :-) ... As already mentioned I reduced the picture size of the training pics to 563 x 1000 and I have recreated the annotation files and now it runs ... 18 to 20 secs per step ... Thinking about your hint to leverage Nimbix :-)) Thanks for your support!!!
P.S. Can you give a short hint/advise how I could achieve to get the marked objects in the output/test_images as cropped JPGs like in your other tutorial where you create a cropped image for each dog?

And now get back those money to you. And I was sleeping on office floor, because of this. Anyway I found another solution that can add:
batch_queue_capacity: 50
But anyway better to reduce size of image, because I don't get or if image width and height higher than in config file, everything fails. I trained about 3k steps, with 150 picture. And tensor fails everywhere detects all objects as trained. All my hundred tests failed with tensorflow

My training fails somewhere around step 123 +/- 3 steps with the error:
InvalidArgumentError (see above for traceback): Incompatible shapes: [1,63,4] vs. [1,64,4]
[[Node: gradients/Loss/BoxClassifierLoss/Loss/sub_grad/BroadcastGradientArgs = BroadcastGradientArgs[T=DT_INT32, _device="/job:localhost/replica:0/task:0/device:CPU:0"](gradients/Loss/BoxClassifierLoss/Loss/sub_grad/Shape, gradients/Loss/BoxClassifierLoss/Loss/sub_1_grad/Shape)]]
I found in this GitHub thread : https://github.com/tensorflow/models/issues/1618
that this could be due to the fact that the number of bounding boxes per image may not fit the number of classes and class_text in the tf record file (don't know where this is :-)
But my loss at that stage is around 0.07 and 0.06.
My question is: Does it make sense to solve this issue (and what would be the right approach) or may I just ignore it as the loss is already good enough to use is at that stage ...?

Changing the num_classes parameter solved the issue!!!
Training runs now with out errors but I would be keen to understand at what loss level I can stop training or what indicators there are to find out at what stage the model has been trained well enough!

you can make evolution steps, or stop test, continue. It would be great if you manage to make some success. loss level has to be slightly slowing, if bouncing it's not good, don't matter how low. The point is not detect random objects in image, also can look at hard negative mining. But for me what's the point it's not working anyway

while I am training the custom object detection I got this error can anyone help me out.
File "train.py", line 189, in
tf.app.run()
File "F:\BIN\ERMVA\lib\site-packages\tensorflow\python\platform\app.py", line 125, in run
_sys.exit(main(argv))
File "F:\BIN\ERMVA\lib\site-packages\tensorflow\python\util\deprecation.py", line 250, in new_func
return func(*args, **kwargs)
File "train.py", line 185, in main
graph_hook_fn=graph_rewriter_fn)
File "E:\CUSTOM\models1\object_detection\trainer.py", line 299, in train
clones = model_deploy.create_clones(deploy_config, model_fn, [input_queue])
File "E:\CUSTOM\models1\object_detection\model_deploy.py", line 193, in create_clones
outputs = model_fn(*args, **kwargs)
File "E:\CUSTOM\models1\object_detection\trainer.py", line 212, in _create_losses
prediction_dict = detection_model.predict(images, true_image_shapes)
File "E:\CUSTOM\models1\object_detection\ssd_meta_arch.py", line 575, in predict
preprocessed_inputs)
File "E:\CUSTOM\models1\object_detection\ssd_mobilenet_v1_feature_extractor.py", line 130, in extract_features
use_explicit_padding=self._use_explicit_padding,scope=scope)
TypeError: mobilenet_v1_base() got an unexpected keyword argument 'use_explicit_padding'

Hi @SandeepRddy, this repo relies on a dated version of the TensorFlow api. We've moved to a more future proof version here: https://github.com/cloud-annotations/training
I encourage you to try it out and reopen this issue there if you are still running into problems


Opening storage failed lock DB directory: resource temporarily unavailable

Proposal
Use case. Why is this important?
“Nice to have” is not a good use case. :)
Bug Report
What did you do?
What did you expect to see?
What did you see instead? Under which circumstances?
Environment

System information:
insert output of uname -srm here

Prometheus version:
insert output of prometheus --version here

Alertmanager version:
insert output of alertmanager --version here (if relevant to the issue)

Prometheus configuration file:

insert configuration here

Alertmanager configuration file:

insert configuration here (if relevant to the issue)

Logs:

insert Prometheus and Alertmanager logs relevant to the issue here

I'm new to prometheus. This is the error i see in the logs. prometheus is running fine but want to know what does it mean by that error. Any help on this is appreciated. Thanks !!

It means that Prometheus can't lock access to the data directory. Either

Prometheus doesn't permissions to write this directory.
Or another process is running in parallel and already acquired the lock.
Or you're using a file system (such as NFS) which isn't fully supported by Prometheus.

I'm closing it for now. If you have further questions, please use our user mailing list, which you can also search.

I have added the recipe and the necessary scripts to update the prometheus configuration file.
In prometheus/update_prometheus_config/update_prometheus_config.py I have placed the 'temporary' function (get_data_test ()) that returns a dictionary with the necessary information to test the update of the prometheus configuration file.
Once we have the api running, we eliminate that function and call the correct one (get_data)
You can see the changes


Add a new mapping # to quickly navigate to the # or % buffer in the list

This mapping will not open the buffer, but just quickly move your cursor to it while in the list.

This was implemented in #9, but it sometimes takes you to lines that are not correct.

Fixed  in<PHONE_NUMBER>26d4d57c85b0df6678f372aa8ef135.


Pluggin dont work

cordova -version
11.0.0
Installed platforms:
android 10.1.2
cordova-background-geolocation-plugin 2.0.4 "cordova-background-geolocation-plugin"
The program ask for permision for geolocation, but never give  a event of location.
===========================
index.js
function onDeviceReady() {
BackgroundGeolocation.configure({
locationProvider: BackgroundGeolocation.ACTIVITY_PROVIDER,
desiredAccuracy: BackgroundGeolocation.HIGH_ACCURACY,
stationaryRadius: 50,
distanceFilter: 50,
notificationTitle: "Background tracking",
notificationText: "enabled",
debug: true,
interval: 10000,
fastestInterval: 5000,
activitiesInterval: 10000,
url: "http://<IP_ADDRESS>:3000/location",
httpHeaders: {
"X-FOO": "bar",
},
// customize post properties
postTemplate: {
lat: "@latitude",
lon: "@longitude",
foo: "bar", // you can also add your own properties
},
});
BackgroundGeolocation.on("location", function (location) {
// handle your locations here
// to perform long running operation on iOS
// you need to create background task
console.log('localizado');
BackgroundGeolocation.startTask(function (taskKey) {
// execute long running task
// eg. ajax post location
// IMPORTANT: task has to be ended by endTask
BackgroundGeolocation.endTask(taskKey);
});
});
BackgroundGeolocation.on("stationary", function (stationaryLocation) {
// handle stationary locations here
});
BackgroundGeolocation.on("error", function (error) {
console.log(
"[ERROR] BackgroundGeolocation error:",
error.code,
error.message
);
});
BackgroundGeolocation.on("start", function () {
console.log("[INFO] BackgroundGeolocation service has been started");
});
BackgroundGeolocation.on("stop", function () {
console.log("[INFO] BackgroundGeolocation service has been stopped");
});
BackgroundGeolocation.on("authorization", function (status) {
console.log("[INFO] BackgroundGeolocation authorization status: " + status);
if (status !== BackgroundGeolocation.AUTHORIZED) {
// we need to set delay or otherwise alert may not be shown
setTimeout(function () {
var showSettings = confirm(
"App requires location tracking permission. Would you like to open app settings?"
);
if (showSettings) {
return BackgroundGeolocation.showAppSettings();
}
}, 1000);
}
});
BackgroundGeolocation.on("background", function () {
console.log("[INFO] App is in background");
// you can also reconfigure service (changes will be applied immediately)
BackgroundGeolocation.configure({ debug: true });
});
BackgroundGeolocation.on("foreground", function () {
console.log("[INFO] App is in foreground");
BackgroundGeolocation.configure({ debug: false });
});
BackgroundGeolocation.on("abort_requested", function () {
console.log("[INFO] Server responded with 285 Updates Not Required");
// Here we can decide whether we want stop the updates or not.
// If you've configured the server to return 285, then it means the server does not require further update.
// So the normal thing to do here would be to `BackgroundGeolocation.stop()`.
// But you might be counting on it to receive location updates in the UI, so you could just reconfigure and set `url` to null.

});
BackgroundGeolocation.on("http_authorization", () => {
console.log("[INFO] App needs to authorize the http requests");
});
BackgroundGeolocation.checkStatus(function (status) {
console.log(
"[INFO] BackgroundGeolocation service is running",
status.isRunning
);
console.log(
"[INFO] BackgroundGeolocation services enabled",
status.locationServicesEnabled
);
console.log(
"[INFO] BackgroundGeolocation auth status: " + status.authorization
);
// you don't need to check status before start (this is just the example)
if (!status.isRunning) {
  BackgroundGeolocation.start(); //triggers start on start event
}

});
// you can also just start without checking for status
// BackgroundGeolocation.start();
// Don't forget to remove listeners at some point!
// BackgroundGeolocation.removeAllListeners();
console.log("Running cordova-" + cordova.platformId + "@" + cordova.version);
document.getElementById("deviceready").classList.add("ready");
}
document.addEventListener("deviceready", onDeviceReady, false);

I'm maintaining this plug in and I know it works.
Feel free to look at the plugin logs to better understand your issue.
The provided details are not organized in a manor I can read and understand...

The plugin show notificaction icon but never send location.

app.log

Are you using a simulator? a real device? are you under a roof when testing it or outside moving?
If the app doesn't get location from the OS this would be the behavior I guess...

Playing with locationProvider i revice events of localizarion in javascript,  but never recive any request in  url: "http://<IP_ADDRESS>:3000/location",

Well, the plugin works. Problem was mixing http and https.
Thansk


How to clean up old log files automatically?

SUMMARY
In log4j2.properties is see max is set to 5, but when I run ls log, I see many more files. How to clean up old log files automatically?
Same holds for audit logs.
ISSUE TYPE

Bug Report

ANSIBLE VERSION
Ansible 11
COLLECTION VERSION
2.2.5
STEPS TO REPRODUCE
Login the broker, wait 10 days.
EXPECTED RESULTS
I would expect to see the log files of the last 5 days.
ACTUAL RESULTS
I see all log files of the last 10 days.

@michie1 Can you please explain the issue a bit more in detail and probably add the playbook you are using?

I'm using the redhat.amq_broker.amq_broker role. I can't share you all the vars we set. Do you have some specific vars in mind you need to know?
Here's log4j2.properties which is generated by the role.
# Ansible managed
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Log4J 2 configuration

# Monitor config file every X seconds for updates
monitorInterval = 5

rootLogger = INFO, console, log_file

logger.amq_broker.name=org.apache.amq_broker
logger.amq_broker.level=INFO

logger.artemis_server.name=org.apache.activemq.artemis.core.server
logger.artemis_server.level=INFO

logger.artemis_journal.name=org.apache.activemq.artemis.journal
logger.artemis_journal.level=INFO

logger.artemis_utils.name=org.apache.activemq.artemis.utils
logger.artemis_utils.level=INFO

# CriticalAnalyzer: If you have issues with the CriticalAnalyzer, setting this to TRACE would give
# you extra troubleshooting info, but do not use TRACE regularly as it would incur extra CPU usage.
logger.critical_analyzer.name=org.apache.activemq.artemis.utils.critical
logger.critical_analyzer.level=INFO

logger.artemis_jms.name=org.apache.activemq.artemis.jms
logger.artemis_jms.level=INFO

logger.artemis_integration_bootstrap.name=org.apache.activemq.artemis.integration.bootstrap
logger.artemis_integration_bootstrap.level=INFO

# Audit loggers: to enable change levels from OFF to INFO
logger.audit_base = INFO, audit_log_file
logger.audit_base.name = org.apache.activemq.audit.base
logger.audit_base.additivity = false

logger.audit_resource = INFO, audit_log_file
logger.audit_resource.name = org.apache.activemq.audit.resource
logger.audit_resource.additivity = false

logger.audit_message = INFO, audit_log_file
logger.audit_message.name = org.apache.activemq.audit.message
logger.audit_message.additivity = false

# Jetty logger levels
logger.jetty.name=org.eclipse.jetty
logger.jetty.level=WARN

# Quorum related logger levels
logger.curator.name=org.apache.curator
logger.curator.level=WARN
logger.zookeeper.name=org.apache.zookeeper
logger.zookeeper.level=ERROR

# Console appender
appender.console.type=Console
appender.console.name=console
appender.console.layout.type=PatternLayout
appender.console.layout.pattern=%d %-5level [%logger] %msg%n

# Log file appender
appender.log_file.type = RollingFile
appender.log_file.name = log_file
appender.log_file.fileName = ${sys:artemis.instance}/log/artemis.log
appender.log_file.filePattern = ${sys:artemis.instance}/log/artemis.log.%d{yyyy-MM-dd}
appender.log_file.layout.type = PatternLayout
appender.log_file.layout.pattern = %d %-5level [%logger] %msg%n
appender.log_file.policies.type = Policies
appender.log_file.policies.cron.type = CronTriggeringPolicy
appender.log_file.policies.cron.schedule = 0 0 0 * * ?
appender.log_file.policies.cron.evaluateOnStartup = true
appender.log_file.strategy.type=DefaultRolloverStrategy
appender.log_file.strategy.max=5

# Audit log file appender
appender.audit_log_file.type = RollingFile
appender.audit_log_file.name = audit_log_file
appender.audit_log_file.fileName = ${sys:artemis.instance}/log/audit.log
appender.audit_log_file.filePattern = ${sys:artemis.instance}/log/audit.log.%d{yyyy-MM-dd}
appender.audit_log_file.layout.type = PatternLayout
appender.audit_log_file.layout.pattern = %d [AUDIT](%t) %msg%n
appender.audit_log_file.policies.type = Policies
appender.audit_log_file.policies.cron.type = CronTriggeringPolicy
appender.audit_log_file.policies.cron.schedule = 0 0 0 * * ?
appender.audit_log_file.policies.cron.evaluateOnStartup = true
appender.audit_log_file.strategy.type=DefaultRolloverStrategy
appender.audit_log_file.strategy.max=5

Hello, thanks for reporting. It is a bug in the template, the filePattern is missing %i so the DefaultRolloverStrategy cannot find file to roll.


Clinking on a completion proposal inserts different result

install the Java language server (Redhat)
open code assist here

package com.aeschli.testapp;

public class TestHelper {

    public static <T> boolean isEquals(T t, T u) {
        return t.|<code assist here

use the cursor to find toString press enter. All correctly inserted.

use the mouse and click on the toString proposal. This inserts more (looks like the label)

This is caused by the extension, I'd say they update the label in the resolve code path.

Ok, it seems the Java extension sets the text edit only on resolve. They also compute stuff like additional imports and rely on resolve to be called before an item is applied.
Looking at the language server trace, it seems we actually call resolve, but then cancel it right away.
[Trace - 8:32:24 AM] Sending request 'completionItem/resolve - (49)'.
Params: {
    "label": "toString() : String",
    "detail": "Object",
    "insertTextFormat": 1,
    "kind": 3,
    "sortText": "zzzzzzzadf",
    "data": {
        "decl_signature": "Ljava.lang.Object;",
        "signature": "()Ljava.lang.String;",
        "name": "toString",
        "pid": "3",
        "rid": "2",
        "uri": "file:/home/aeschli/workspaces/samples/test-app/src/test/java/com/aeschli/testapp/TestHelper.java"
    }
}

[Trace - 8:32:24 AM] Sending notification '$/cancelRequest'.
Params: {
    "id": 49
}

Yeah, it's a little under-specified. The initial motivation for resolve was to load more doc, but not to resolve the actual text edit or its range. Therefore we don't always call resolve, esp when we think the item is complete enough to be inserted. Unsure what to do, some field are actually not good to be rewritten during resolve, esp those that affect filtering and sorting...

The spec is very vague and talks about complete and incomplete items.
I'd be in favor of ensuring that resolve is called before an item is applied.

Ok to move back to you?

I'd be in favor of ensuring that resolve is called before an item is applied.

Not so sure yet... When the item already appeared complete esp when it can be inserted I was doubt that we should make yet another IPC-call before inserting the text.

this is fixed with https://github.com/Microsoft/vscode/pull/38655


bug

[+] Auto painting started.
[+] ReChargeSpeed Upgrade to level 3 result: True
[+] PaintReward Upgrade to level 4 result: True
[+] EnergyLimit Upgrade to level 4 result: True
[+] fake: 1 Pixel painted successfully. User new balance: 908
[!] fake anti-detect: Sleeping for 3...
[+] fake: 1 Pixel painted successfully. User new balance: 908
[!] fake anti-detect: Sleeping for 4...
[+] Auto claiming started.
[!] fake: Sleeping for 1 hour...
[+] fake: 1 Pixel painted successfully. User new balance: 908
[!] fake anti-detect: Sleeping for 2...
[+] fake: 1 Pixel painted successfully. User new balance: 908
[!] fake anti-detect: Sleeping for 2...
[+] fake: 1 Pixel painted successfully. User new balance: 908
[!] fake anti-detect: Sleeping for 2...
[+] fake: 1 Pixel painted successfully. User new balance: 908
[!] fake anti-detect: Sleeping for 1...
[+] fake: 1 Pixel painted successfully. User new balance: 908
[!] fake anti-detect: Sleeping for 3...

i will check


Update README.md to include gstreamer on macOS

fix #98

Close this in favor of #105. I don't want users to worry about gstreamer setup for now. We will let CI to worry about this.


[Dependency Scanner] Batch scanner: extract target triple from the PCMArgs for the batch invocation.

Otherwise the created invocation will end up re-using the parent compiler invocation's target triple for every created scanning instance.
I stumbled upon this when testing https://github.com/apple/swift-driver/pull/225.
The PCMArgs we pass in to the batch scanner are intended to be clang arguments and are prefixed with -Xcc, so they do not affect the created compiler instance.

@swift-ci please smoke test

@swift-ci please test Windows platform

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test OS X platform


vue-cli-service build --dest

Version
3.0.0-beta.2
Steps to reproduce
Run
./node_modules/.bin/vue-cli-service build --dest static
What is expected?
All files in static dir
What is actually happening?
public/favicon.ico copied to default folder (dist)

Trying to move compiled files to another dir in my fresh project, but favicon.ico appears in ./dist.
P.S.: So, what link should i provide?

Seems we have to overwrite options.outPutDir here
https://github.com/vuejs/vue-cli/blob/dev/packages/%40vue/cli-service/lib/commands/build/index.js#L60-L69
    if (args.dest) {
+      cons path = path: path.resolve(
+        api.service.context,
+        args.dest
+      )
+      options.outPutDir = path
      api.configureWebpack({
         output: path
-        output: {
-          path: path.resolve(
-            api.service.context,
-            args.dest
          )
        }
      })
    }

...because the copy webpack plugin uses options.outputDir to set the directory to copy to when the webpack config is resolved later in the build script:
https://github.com/vuejs/vue-cli/blob/dev/packages/%40vue/cli-service/lib/config/app.js#L151


添加jdbc中hive类型的错误日志

What changes were proposed in this pull request?

[ ] Finshed changes describe

How was this patch tested?

[ ] Testing done

Are there and DOC need to update?

[ ] Doc is finished

Spark Core Compatibility

If writing is not supported in hive jdbc, we can validate this instead of wrap a exception.


Identify missing page

e.g. https://main--hubblehomes-com--aemsites.hlx.page/new-homes/idaho/boise-metro/star/sellwood/ponderosa/2431-n-black-fire-ave/999

@varunmitra ive seen this case when I was handling imports. It's not really missing. This would normally redirect to an existing page.


Mismatch in handler names in common role.

The notify: in roles/common/tasks/main.yml and roles/common/tasks/RedHat.yml do not match the handler names in roles/common/handlers/main.yml.

Nice catch @nsabine. Not sure how this happened.


application: Return ExitCode

Allows writing
    fn main() -> ExitCode {
        let app = gio::Application::new(None, Default::default());
        // ...
        app.run()
    }

in Rust 1.61 or newer.
Note that the termination trait is supported for any Result<T: Termination, E: Debug>, we might want to return that instead, but it is kinda redundant at gtk already returns errors as a number.

mmm since it does not provide hash, partialeq or eq the test can only be removed...

mmm since it does not provide hash, partialeq or eq the test can only be removed...

Yes, remove that assertion

@A6GibKm What should we do about this?


New version: DecisionTree v0.10.12

Registering package: DecisionTree
Repository: https://github.com/JuliaAI/DecisionTree.jl
Created by: @ablaom
Version: v0.10.12
Commit: 9796e9d0da3ab0bcd2a1f0fb863b32bdaeede6cf
Git reference: master
Description: Julia implementation of Decision Tree (CART) and Random Forest algorithms
Release notes:

(enhancement) Add method wrap which allows one to wrap a decision tree (Leaf or Node object) in a new tree structure implementing the AbstractTrees.jl interface. Unlike raw DecisionTree.jl decision trees, the nodes of the wrapped objects can include the names of splitting-features at nodes, and any other node metadata. See the wrap docstring for details. (#158) @roland-KA

[noblock]
@ablaom ☝

Seems this should be closed in favour of https://github.com/JuliaRegistries/General/pull/60432 . Not sure I understand why a new PR was created - is that new behaviour? @DilumAluthge Did I do something wrong?

Nope, you didn't do anything wrong. We have two different Registrator deployments in production currently, and they have different formats for the branch name, which leads to these duplicate pull requests.


Run service workflows sequentially

Having @Order kind of implies sequential execution of update / create / delete flows. However with flatMap if lower order workflow completes first it will take precedence. concatMap will run the next flow only when the previous one is completed.
Not sure if that should be a default behaviour. If we want some flexibility in here, we might need to provide some way to configure this behaviour.

@alek-sys I had intended the default behavior to be running the workflows sequentially. I think this is a good default, we can add other options later if someone has a need.


NPE in server tick loop

custom build
MC 1.11.2
Forge <IP_ADDRESS>0
https://gist.github.com/marcin212/81872ee6ce774fc95d162bc475b20e09

Crash is here because constructor, which is used here doesn't set this field.

You need to provide the build number.

289

I'll take a look, but don't expect this to be fixed in 1.11, development is going to be on 1.12 from this point. There's a lot more mod support on that verion.

There's a lot more mod support on that verion.

Not yet. Maybe next week.

Please see if this issue still happens in recent builds. Closing until issue can be confirmed as still present.


[mock] Custom Resources or custom resolvers don't appear to be honored

Describe the bug
When using mock, it doesn't appear that custom resolvers in the resolvers directory are "seen" by the tool.
Receive an error (screenshot below):
GraphQL schema compiled successfully.
Edit your schema at /Users/mwarger/dev/projects/conference-app-in-a-box/amplify/backend/api/rnconfinabox/schema.graphql or place .graphql files in a directory at /Users/mwarger/dev/projects/conference-app-in-a-box/amplify/backend/api/rnconfinabox/schema
Creating table TalkTable locally
Creating table CommentTable locally
Creating table ReportTable locally
Failed to start API Mock endpoint Error: Invalid config for UNIT_RESOLVER {"dataSourceName":"CommentTable","typeName":"Query","fieldName":"listCommentsByTalkId","requestMappingTemplateLocation":"resolvers/Query.listCommentsByTalkId.req.vtl","responseMappingTemplateLocation":"resolvers/Query.listCommentsByTalkId.res.vtl","kind":"UNIT"}
Missing mapping template resolvers/Query.listCommentsByTalkId.req.vtl
To Reproduce
Steps to reproduce the behavior:

Clone https://github.com/dabit3/conference-app-in-a-box
Follow instructions, including running amplify init
Run amplify mock
The resolvers are all put into the resolvers folder, but an error says that the two that are already there (the custom ones) cannot be found.  The paths match, though, so something isn't seeing this correctly.

Expected behavior
It should work.
Screenshots
Before mock:

After mock:

Error:

Desktop (please complete the following information):

OS: [e.g. iOS] Mac

Hey, I just tested this and it work, but in a brand new project. I'm wondering if there is some sort of conflict in a project that has already been deployed. Is this in a project with a live API, or is this completely local?

This happens if you have a custom resource stack. Mock serve is not parsing the custom stack and is missing the resource created by it

Hey, I just tested this and it works, but in a brand new project.
I'm wondering if there is some sort of conflict in a project that has already been deployed. Is this in a project with a live API, or is this completely local?

This was a new project. I will change accounts to make sure I don't have anything existing.

This happens if you have a custom resource stack. Mock serve is not parsing the custom stack and is missing the resource created by it

@yuth are you saying you were able to reproduce this?

Yes. I could reproduce this. conference-app-in-a-box has a schema has custom query
type Query {
  listCommentsByTalkId(talkId: ID!): ModelCommentConnection
}

For this custom query, it uses CustomResources.json stack to create the resolver and inserts the required mapping template in resolvers folder. Mock server did not look at either the custom stack or did not honor existing resolver which were not created by GraphQL transformer
I am working on a fix for this.

Just came across this same problem with version 1.12.0.

Also tried with the conference in the box and received the same error:
Failed to start API Mock endpoint Error: Invalid config for UNIT_RESOLVER {"dataSourceName":"CommentTable","typeName":"Query","fieldName":"listCommentsByTalkId","requestMappingTemplateLocation":"resolvers/Query.listCommentsByTalkId.req.vtl","responseMappingTemplateLocation":"resolvers/Query.listCommentsByTalkId.res.vtl","kind":"UNIT"}  Missing mapping template resolvers/Query.listCommentsByTalkId.req.vtl

I think I misunderstood this initially. I was also now able to reproduce after cloning the project. Previously I was unable to reproduce because I was in a new project. Steps to reproduce:

Clone project at https://github.com/dabit3/conference-app-in-a-box

~ git clone https://github.com/dabit3/conference-app-in-a-box.git

Initialize amplify project

amplify init

Mock API

amplify mock api


IMask.js / main.js documentation incomplete

I'd like to use your component, but it appears something is incomplete when it comes to the JavaScript references, in either documentation or implementation. While I'd like to assume IMask.js is from the author of same, I'm unable to find "main.js" or an example of what it should contain.

Nevermind - it seems JetBrains Rider didn't properly install the package :)


BAT0

[error] battery: argument not found
"bat" : "BAT0"
Made sure  BAT0 exists in ls /sys/class/power_supply/.

Here is a pic with the corresponding config file.
Thanks

Hello, i know it is an old issue, but i stumbled into it today. It seems to be related to the tooltip-format property. When I comment it out, battery indicator works as expected.

@larix45 moreover, calling {capacity} and {icon} in the same tooltip causes this behaviour. Otherwise it works fine.
Managed to catch this behaviour on Waybar v0.11.0
Minimal setup that I was able to reproduce this issue
    "battery": {
        "format": "{icon}",
        "tooltip-format": "{capacity}% | {icon}",
        "format-icons": ["", "", "", "", ""]
    },


If a lot of spaces are typed at the end of the line, it doesn't break to the next line

Do you want to request a feature or report a bug?
Feature
What is the current behavior?
Currently, if user types a lot of spaces in the end of a line, the line doesn't break to the next line
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. You can use this jsfiddle to get started: https://jsfiddle.net/gmertk/e61z7nfa/.

What is the expected behavior?
If spaces are more than a line can contain, they should break (wrap) to the next line.
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
DraftJS version 0.11.0 on Windows
Note: I tried and I think all spaces should be replaced by nbsp but getText() methods should give strings with normal spaces. However, I doubt if this solution is elegant.

Duplicate of https://github.com/facebook/draft-js/issues/2119


Not work in online coding page

I am using GhostText Extension in Chrome, and vim-ghost plugin for nvim.
I find it not work on some of those online coding web page.
For this url:
https://app.codesignal.com/arcade/intro/level-1/jwr339Kq6e3LQTsfa
all the text is passed to vim.
But write in vim could not sync to the web page input area
For this url:
https://coderpad.io/NKH2H2H3
only a very small part of the text is passed to vim

Thanks for the report. The website uses Monaco editor. The feature requested is tracked in:

#140


The charts are not updating from values.yaml

What version of descheduler are you using?
descheduler version: 0.26.1
Does this issue reproduce with the latest release?
Yes
What k8s version are you using (kubectl version)?
kubectl version Output
$ kubectl version
1.25.8

What did you do?

The securityContext values are not updating the cronJob chart. Instead taking the defaults
Same with the deschedulerPolicy. Removed RemovePodsViolatingTopologySpreadConstraint from values.yaml, still it is created as part of policy.yaml

What did you expect to see?
Values updating the chart
What did you see instead?
default values

Hi @kannamr, can you please share your values.yaml file?
Fyi the security context isn't able to be customized in the v0.26.1 helm chart. This is currently only on the master branch, which is considered in-development.

@damemi please check the values.yaml. Thanks
# Default values for descheduler.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

# CronJob or Deployment
kind: CronJob

image:
  repository: registry.k8s.io/descheduler/descheduler
  # Versions are equal with current kubernetes version https://github.com/kubernetes-sigs/descheduler#compatibility-matrix
  tag: "v0.26.1"

#TODO - security context from this values is not updating the cronjob, need to use the patch
securityContext:
  allowPrivilegeEscalation: true
  privileged: true
  runAsNonRoot: false

cronJobApiVersion: "batch/v1"  # Use "batch/v1beta1" for k8s version < 1.21.0. TODO(@7i) remove with 1.23 release
#Changed from default of every 2 min
schedule: "*/5 * * * *"

cmdOptions:
#Setting v=4 will log all reason why any pod is not evictable - can turn down to 3 after we feel comfortable
  v: 4

deschedulerPolicy:
  maxNoOfPodsToEvictPerNode: 10
  evictLocalStoragePods: true
  strategies:
    RemoveDuplicates:
      enabled: true
      params:
        removeDuplicates:
         excludeOwnerKinds:
         - "ReplicaSet"
    RemovePodsViolatingNodeTaints:
      enabled: true
    RemovePodsViolatingInterPodAntiAffinity:
      enabled: true
#Evict pods that have restarted over 20 times.
    RemovePodsHavingTooManyRestarts:
      enabled: true
      params:
        podsHavingTooManyRestarts:
          podRestartThreshold: 20
          includingInitContainers: true
#Evict pods from nodes with >40% memory and >20% cpu usage and reschedule on nodes <30% memory and <10% cpu usage.
    LowNodeUtilization:
      enabled: true
      params:
        nodeResourceUtilizationThresholds:
          thresholds:
            cpu: 10
            memory: 30
          targetThresholds:
            cpu: 20
            memory: 40

priorityClassName: system-cluster-critical

nodeSelector: {}
#  foo: bar

tolerations: []
# - key: 'management'
#   operator: 'Equal'
#   value: 'tool'
#   effect: 'NoSchedule'

rbac:
  # Specifies whether RBAC resources should be created
  create: true

#Disable until we can move to v0.21.0 where the docker container doesn't have to run as root
podSecurityPolicy:
  # Specifies whether PodSecurityPolicy should be created.
  create: false

serviceAccount:
  # Specifies whether a ServiceAccount should be created
  create: true

Ok, the values look good but it's not clear to me which version of the Helm chart you're using. This comment:
#TODO - security context from this values is not updating the cronjob, need to use the patch
securityContext:
  allowPrivilegeEscalation: true
  privileged: true
  runAsNonRoot: false

Sounds like you are using a custom patch? Or are you using the chart right from the master branch on github?


[DAXA] No Suitable Device Found During Initialization

I am facing an issue where DAXA fails to initialize due to no suitable device being found. The error message is as follows:
深色版本
[[DAXA ASSERT FAILURE]]: error code: DAXA_RESULT_NO_SUITABLE_DEVICE_FOUND(1073741862), failed to create device.
Environment:
Operating System: Windows11
Graphics Card: mx450
Vulkan SDK Version:1.3.290.0
Steps to Reproduce:
Clone the project repository from [repository link].
Navigate to the project root directory.
Configure the project with CMake:
cmake -B .out/cl-x86_64-windows-msvc -S . -G "Ninja Multi-Config"
Build the project:
cmake --build .out/cl-x86_64-windows-msvc --config Debug
Run the resulting executable.
Expected Behavior:
DAXA should initialize successfully, and the application should run without any issues related to device creation.
Actual Behavior:
Upon running the application, I receive the error message indicating that DAXA cannot find a suitable device to initialize with.
Additional Information:
Vulkan Support Verification: My graphics card supports Vulkan, and the driver is up to date.

i can play the demo

Hey，@GabeRundlett. I check-out the compute-rt branch and get this problem [[DAXA ASSERT FAILURE]]: error code: DAXA_RESULT_ERROR_EXTENSION_NOT_PRESENT(-7), failed to create device.

After updating the driver, I resolved the issue. I will close this

After updating the driver, I resolved the issue.


The reason why removed keys masking and query masking?

Is there a no influence  before do this?

the author did not remove the key masking but the query masking, no influence to the result since it will mask in the final output in the loss calculation


Updated packer documentation and removed file provisioner for git clone

Currently busy setting up a new staging cluster, thanks for saving me a bunch of time with this repo :+1:
I noticed the README for the Nomad and Consul AMI example was a bit out of date, specifically the "Creating your own Packer template for production usage" section which was not reflecting the current provisioner step.
To simplify things I changed the file provisioner to instead clone from the nomad module from this github repo, the same way consul is installed. Then I removed that section from the readme because it was no longer needed.
Thougths?

Ok, that makes sense. I'll close the PR for now.


Remove version: Jackett.Jackett version 0.21.1076

404 - release deleted
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/Jackett/Jackett/releases/download/v0.21.1076/Jackett.Installer.Windows.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 918)


Running CodeBuild on Docker Container instead of Master node

Issue seen on Jenkins 2.32.1 with plugin code commit '0046d84' (mavenID com.amazonaws:aws-codebuild:1.1)
Hello,
when running a Jenkins Job with CodeBuild build step on a dynamically provisioned Docker container as node instead of the master, then I'm experiencing the following issue:

[AWS CodeBuild Plugin] Source S3 bucket is kaercher-adminpanel
[AWS CodeBuild Plugin] Uploading source to S3.
[AWS CodeBuild Plugin] Unable to create directory: /home/jenkins/workspace

But, /home/jenkins/workspace exists and should be allright, a build step before CodeBuild is running shell and reports:

ls /home/jenkins/
slave.jar
workspace

ls -lh /home/jenkins/
total 704K
-rw-rw-r-- 1 jenkins jenkins 700K Jan 27 12:16 slave.jar
drwxrwxr-x 3 jenkins jenkins 4.0K Jan 27 12:16 workspace

ls /home/jenkins/workspace
OSAP - Build Code - Frontend

ls -lh /home/jenkins/workspace
total 4.0K
drwxrwxr-x 6 jenkins jenkins 4.0K Jan 27 12:16 OSAP - Build Code - Frontend

Docker:
Client:
Version:      1.12.1
API version:  1.24
Go version:   go1.6.2
Git commit:   23cf638
Built:        Tue, 27 Sep 2016 12:25:38 +1300
OS/Arch:      linux/amd64
Server:
Version:      1.12.1
API version:  1.24
Go version:   go1.6.2
Git commit:   23cf638
Built:        Tue, 27 Sep 2016 12:25:38 +1300
OS/Arch:      linux/amd64
Thanks

Thanks for catching this.
https://github.com/awslabs/aws-codebuild-jenkins-plugin/commit/24337ae06bc161b425827bcc84b202bdc37afceb

@leobaran-aws  Thanks for fixing it. :) I can confirm that it's working.

I have similar issues when running codebuild from ECS task. However, my issue is codebuild plugin try to use the EC2 instance IAM role instead of the role for ECS task. According to DefaultAWSCredentialsProviderChain as below:

Credentials delivered through the Amazon EC2 container service if AWS_CONTAINER_CREDENTIALS_RELATIVE_URI" environment variable is set and security manager has permission to access the variable,
Instance profile credentials delivered through the Amazon EC2 metadata service

The ECS credentials should has higher order then EC2 instance profile in this case.
Please let me know if I miss anything and thank you in advanced.
Jady

@leobaran-aws please help.

@krm1 I am not sure if you had the similar experience, appreciate it you could advise

Are you seeing the same error as the original issue? Unable to create directory: (workspace directory)
Are you using a master/node Jenkins setup?
Do credentials work as expected when using the AWS CLI in a script in your build?

@leobaran-aws thank you for response.
We did not see the same error as the origin issue: Unable to create directory.
We use EC2 as master and slave is running on ECS cluster.
Our pipeline script is below, the slave is task on ECS and label as admin
stage ("Run Build") {    node ("admin"){     checkoutRepo()     sh 'aws sts get-caller-identity'     sh 'curl <IP_ADDRESS>$AWS_CONTAINER_CREDENTIALS_RELATIVE_URI'     awsCodeBuild projectName: 'jenkins-codebuild', credentialsType: 'keys', region: 'us-east-1', sourceControlType: 'jenkins', sseAlgorithm: 'AES256'   } }
To run the pipeline above, output is below:
`[example] Running shell script

aws sts get-caller-identity
{
"Account": "xxxxxxxxxxxxx",
"UserId": "xxxxxxxxxxxxx:cd02565d-ae31-4d8e-8232-a2e07939db74",
"Arn": "arn:aws:sts::xxxxxxxxxxxxx:assumed-role/jenkins-ecs-task-admin-role/cd02565d-ae31-4d8e-8232-a2e07939db74"
}
[example] Running shell script

curl <IP_ADDRESS>/v2/credentials/6da49a41-bd3b-408b-9e7f-a42aedd9992b
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  1001  100  1001    0     0   890k      0 --:--:-- --:--:-- --:--:--  977k
{"RoleArn":"arn:aws:sts::xxxxxxxxxxxxx:assumed-role/jenkins-ecs-task-admin-role/cd02565d-ae31-4d8e-8232-a2e07939db74","AccessKeyId":"xxxxxxxxxxxxx","SecretAccessKey":"xxxxxxxxxxxxx","Token":"FQoGZXIvYXdzEPn//////////wEaDJkbJkWfkdUIOiyjaSKdBOcQGGTp9C9GR9H4w6IuRSSnKGoWsOnTldJeGmOTNZRog7bH9rzjWpXefZ4ceNElVEwg/NTbEvOfIxxhwKl9uDPIPIv0GMI0gtzcXjJa/xrshvpeQBFLye9Ofd27y+exi96CpbWBi3bj2RgjnKowTtTUb34KOFrvP8lmxtiTgvElfjWSe6XACVD1cHPf7XeX8cPp84lSfVq826m6SmvlY2FXjjLhZGgnR8HqUoE53+jtlI63+CwyskkPoONYoCGNMSa+Or1MUvQq668RYINnc9wt8S3LvLwN0s2n8n1zy4O7eP+2L6GeSxI+lpu+QGTrx4Rh+TGhVsi8Gw2b7RIB8gCAVh01H5Z0Bi85t7ehYkMThiM8KHjUVx6XooJjoMo0ramIdRy3JUHY3RXvg3YhM0Y3j07YMel11gGSbYGC/7Nhb4sW92r910sAfEFZI9Z+hJ3n5CS3YeF+kAmoo1Bo7JFhHkZXRX5hAWv6+Ho66imqyBtOs0ae7PTjEt2cc0U0qEtzdwuQq5i9lrnzupsAB3Pg94TntJwmjLJajOTgrvFaPuh6Dod26congxNTKhVcdRF5M1yPyEs2GatwpMEKi9gtJz5mymzN/zQWB1NXwEw7zejgikyffOWYPy4wuZAc/dtofv+YgADtqjNdKqAuGhvSakrXBJMzSD9HrUHjJxrykLIoCxA96SFGrRvvuDUWzAOcenUqVqD/sKHvmO8o8uX85QU=","Expiration":"2019-04-22T21:44:50Z"}
[Pipeline] awsIdentity
Current AWS identity: xxxxxxxxxxxxx - ABCDEFGHIJKLMN:i-089477777777777 - arn:aws:sts::xxxxxxxxxxxxx:assumed-role/jenkins-ecs-task-admin-role/i-08947777777777
[Pipeline] awsCodeBuild
[AWS CodeBuild Plugin] Using credentials provided by the DefaultAWSCredentialsProviderChain for authorization
[AWS CodeBuild Plugin] User: arn:aws:sts::xxxxxxxxxxxxx:assumed-role/jenkins-master-role/i-089477777777777 is not authorized to perform: codebuild:BatchGetProjects on resource: arn:aws:codebuild:us-east-1:xxxxxxxxxxxxx:project/jenkins-codebuild (Service: AWSCodeBuild; Status Code: 400; Error Code: AccessDeniedException; Request ID: ef9d9daf-65de-11e9-9577-17d4fcdc7f1d)
`

Thanks for the information! Can you also verify that the AWS_CONTAINER_CREDENTIALS_RELATIVE_URI environment variable is accessible from the shell (not just via the instance metadata endpoint)? Have you verified that the security manager has permission to access it?
As a temporary workaround, can you try capturing the credentials from curl <IP_ADDRESS>$AWS_CONTAINER_CREDENTIALS_RELATIVE_URI and running the awsCodeBuild step as follows?
awsCodeBuild projectName: 'jenkins-codebuild', credentialsType: 'keys', awsAccessKey: $ACCESS_KEY, awsSecretKey: $SECRET_KEY ...

The environment variable is accessible from the shell, and the workaround should work, but the question is that are there a bug for this plugin which could not obtain the credentials from AWS_CONTAINER_CREDENTIALS_RELATIVE_URI ? I also try with withAWS(region:"us-east-1", role:"jenkins-ecs-task-admin-role", roleAccount:"xxxxxxxxxxx") it did not work either.

If there is a bug, it would be in the AWS Java SDK. But I want to make sure I have a complete picture of your use case before investigating that. I'm interested in how you gave the security manager "permission to access AWS_CONTAINER_CREDENTIALS_RELATIVE_URI", as I am not familiar with that entity. If that were not done correctly, it could explain the creds falling back to the default instance role.

Confirm I can get it work by passing the credentials from shell as suggested above.
To give more details, we run awsCodeBuild projectName: 'jenkins-codebuild', credentialsType: 'keys' ...  inside a ECS task which is a docker container. The task (container) has a role attached and this role has permission to run codebuild. However, from our test so far, when calling codebuild from the task (container), we have permission deny error. The reason is the AWS CodeBuild plugin getting credentials from the master(EC2) instead of the slave(ECS task).
I am not sure if i make any mistakes so it does not work, or there is a bug in AWS Java SDK.
Please advise
Thank you in advance

Thanks, I understand your use case. I would look into giving the security manager access to AWS_CONTAINER_CREDENTIALS_RELATIVE_URI. Here's some documentation on the security manager: https://docs.oracle.com/javase/tutorial/essential/environment/security.html
You might also want to create an issue on the AWS Java SDK repository, as the maintainers there are probably better equipped to find the root cause here.

Hello, my Jenkins is setup on ECS Fargate. We trigger builds using Jenkins ECS Plugin which launches a docker agent and runs jobs on it. The issue sounds similar where it seems to keep picking the Master Role rather then the Agent Role with Codebuild Plugin.
When I run sh 'aws sts get-caller-identity'. I get the right role information. As soon as I run the Codebuild plugin, it starts seeing the Master Role. Not sure how its being picked up Master Role when  "aws sts get-caller-identity' shows the right role right before it.


Bootstrap v3.1.1 with modernizr-2.7.1.js in IE8

The last time I checked modernizr-2.7.1.js functionality was with Bootstrap 2.3.1 and it was working properly at that time. With Bootstrap v3.1.1 it does not appear to be working. At full screen resolution I am seeing the mobile version of the site, e.g., the media queries in modernizr-2.7.1.js don't appear to be functioning with Bootstrap 3.1.1.
I'm not sure if there is some sort of configuration problem on my end or if there is an incompatibilty between the latest versions of these two scripts. Does anyone have modernizr-2.7.1.js (instead of the individual HTML5 Shim and Respond.js files) working with Bootstrap v3.1.1?
Thanks.

Shade


How to keep send SCTE35 packet that already add-pid  in PMT Table

Input UDP (no SCTE35 pid)
Output UDP (have SCTE35 pid)
Command
tsp -I ip <IP_ADDRESS>:7654 -P pmt --service 64 --add-programinfo-id 0x43554549 --add-pid 600/0x86 -P spliceinject --service 64 --files spliceload\splice*.xml  -O ip <IP_ADDRESS>:4567
Thant will create new PID (600) for SCTE35 info.and modify splic.xml will generate SCTE35 Info packet run time.
But how to keep sent SCTE35 packet . otherwise TR101/290 will detect  PID_error
"Referred PID does not occur for more than 5 seconds, pkt 133084"

Hi @edwardlai ,

But how to keep sent SCTE35 packet . otherwise TR101/290 will detect PID_error
"Referred PID does not occur for more than 5 seconds, pkt 133084"

Try to use the optional parameter --inject-interval for the plugin spliceinject. Example:
tsp ... -P spliceinject --inject-interval 500 --service 64 --files spliceload\splice*.xml ...
Read the documentation at page 224 for the section "Spliceinject".
Regards.

Try to use the optional parameter --inject-interval for the plugin spliceinject. Example:
tsp ... -P spliceinject --inject-interval 500 --service 64 --files spliceload\splice*.xml ...

Tried  Add --inject-interval 500
Still get PID_error message after saved XML 5 seconds past .
Referred PID does not occur for more than 5 seconds, pkt 204558
Current Command
tsp -I ip <IP_ADDRESS>:7654 -P pmt --service 64 --add-programinfo-id 0x43554549 --add-pid 600/0x86 -P spliceinject --inject-interval 500 --service 64 --files spliceload\splice*.xml  -O ip <IP_ADDRESS>:4567

"Referred PID does not occur for more than 5 seconds, pkt 133084"

That is the way SCTE-35 works. The PID is referred in the PMT but it does not carry any information except a few packets before an event. If there is no event during hours, there won't be any packet in the SCTE-35 PID.
The requirement to have at least one packet one the SCTE-35 PID every 5 seconds is not compatible with SCTE-35.
And remember that SCTE-35 is an SCTE standard, not a DVB standard. If you want to implement SCTE-35 in a DVB network, you have to ignore the "referred PID" timing requirement.
You can still insert null events from time to time but this is not something that TSDuck does. And this is functionally useless anyway.


Only columns (.col-*-*) may be children of .rows

Actually, .col can also be a child of a row.

This is because bootline-online depends on twbs/bootlint and it currently supports only Bootstrap 3, more info twbs/bootlint#377


Yarn compilation errors are removed from the console if clear on play is set

What is the current behavior?
This isn't really a bug but it is a quality of life issue.
A compilation error in the Yarn script correctly appears in the console but doesn't prevent you from running the scene.
If Clear on Play is set (which is probably is going to be) the error is gone and you can't get it back easily.

Please provide the steps to reproduce, and if possible a minimal demo of the problem:

Create a basic Yarn Spinner scene
Create a syntax error in the script
Turn on Clear on Play
See the error and go "meh" and click Play anyways
Finish playing
The error has vanished

What is the expected behavior?
The compilation error will remain/be recreated in the console.

Please tell us about your environment:

Yarn Spinner Version: v2.0.0-beta4
Unity Version: 2019.4.11f1

Other information
I'm unsure if Yarrn spinner can prevent play mode or even if that is desirable but at the same time recompiling EVERY time you exit play mode seems a bit heavy handed.

One potential solution to this is, every time we enter play mode (i.e. after the Console is cleared), we re-emit the Yarn compile errors? The compilation errors themselves are actually stored in the imported asset, so we wouldn't need to actually re-compile the script.


How to calculate the metrics? such as Pixel Accuracy(PA),Intersection over Union (IoU) and Average Precision (AP) et.al.

Thank you for your great work!
I wanna know how to calculate the metrics, but I couldn't find them in the code. Please let me know. Thank you.

Please refer to Section 3.3 in supplementary material to understand how to calculate different metrics. Thank you.

Thanks for your reply, Is there a corresponding code about calc metrics? And, how to generate boundingbox in dataset.py as prompt input?

The code for calculating IOU, PA and Dice is shown as below. For the AP part, please refer to the official COCO evaluation code . Thank you!
`
def compute_pixel_accuracy(gt_mask, pred_mask):
"""
Calculate pixel accuracy (PA) between a predicted mask and a ground truth mask.
"""
gt_mask = gt_mask[0][0]
pred_mask = pred_mask[0][0]
assert gt_mask.shape == pred_mask.shape, "Shape mismatch between ground truth and predicted masks."

gt_flat = gt_mask.ravel()
pred_flat = pred_mask.ravel()

correct_pixels = np.sum(gt_flat == pred_flat)
total_pixels = gt_flat.size
pixel_accuracy = correct_pixels / total_pixels

return pixel_accuracy

def compute_iou(predicted_mask, ground_truth_mask):
"""
Computes the IoU between a predicted mask and a ground truth mask.
"""
intersection = np.logical_and(predicted_mask, ground_truth_mask).sum()
union = np.logical_or(predicted_mask, ground_truth_mask).sum()
iou = intersection / union if union > 0 else 0
return iou
def compute_dice_similarity_coefficient(gt_mask, pred_mask):
"""
Calculate Dice coefficient between a predicted mask and a ground truth mask.
"""
if gt_mask.shape != pred_mask.shape:
raise ValueError("Input masks must have the same shape")
intersection = np.sum(np.logical_and(gt_mask, pred_mask)) ### TP
union = np.sum(np.logical_or(gt_mask, pred_mask)) # Number of total pixels in masks (no matter is gt or pred)

dsc = (2.0 * intersection) / (union + intersection) ### DSC = (2 * |A ∩ B|) / (|A| + |B|)

return dsc

`

Hello, I wanna know how to use box prompt for testing on dataset? Is there any code for this part? How to make changes on dataset.py?

Hello, I wanna know how to use box prompt for testing on dataset? Is there any code for this part? How to make changes on dataset.py?

Hi, please refer to the code below to get bounding box of specific mask (you need to convert it into numpy array first):
`def get_bounding_box(binary_mask):
# Ensure the binary mask is 2D
if binary_mask.ndim == 3:
binary_mask = binary_mask[:, :, 0] > 0.5  # Take the first channel if 3D
else:
binary_mask = binary_mask > 0.5  # Threshold for a 2D binary mask
# Find the coordinates of the non-zero pixels
nonzero_pixels = np.argwhere(binary_mask)

# Check if there are no non-zero pixels (no object in the mask)
if len(nonzero_pixels) == 0:
    return None

# Get the min and max bbox coordinates
min_y, min_x = np.min(nonzero_pixels, axis=0)
max_y, max_x = np.max(nonzero_pixels, axis=0)

return (min_x, min_y, max_x, max_y)`


feat(other): dbha组件支持sqlserver的监听

关联研发信息
dev_branch: feat/dbha_support_sqlserver/#5017
target_branch: v1.4.0


📃: Analyzing Movie Ratings and Trends

:red_circle: Title :
Analyzing Movie Ratings and Trends
:red_circle: Aim :
To analyze movie ratings and trends in genres over time, providing insights into how different genres perform and how average ratings have changed.
:red_circle: Brief Explanation :
This project involves collecting and analyzing a dataset of movies, focusing on their ratings, genres, and release years. The aim is to identify trends in average ratings by genre and how these ratings have evolved over the years. Through visualizations such as bar plots and line graphs, the project seeks to present clear insights into the data, allowing for a better understanding of audience preferences and movie performance.
Screenshots 📷

N/A
:white_check_mark: To be Mentioned while taking the issue :
Full name :
[Your Full Name]
What is your participant role? (Mention the Open Source Program name. Eg. GSOC, GSSOC, SSOC, JWOC, etc.)
[Your Participant Role, e.g., GSSOC]
Happy Contributing 🚀
All the best. Enjoy your open-source journey ahead. 😎

I am a gssoc contributor and I would like to work on this project please mention the levele for this


[fr] kubeadm-install: include env variable for ARCH

en PR https://github.com/kubernetes/website/pull/29051/files
/assign @remyleone

/triage accepted
/sig cluster-lifecycle

/lgtm

/approve


Change enable_virtual_services to install via Hyper-V instead of SCVMM

The scvmm powershell method had issues with RHEL images that the Hyper-V method does not.  Most google posts said this is the most reliable way to install guest services and Amogh and I tested it on a variety of OS types and didn't fail.  SCVMM 2016 fixes this issue but doesn't help us now.

Lint report for commit d494a021abc948e9946800246240ecbdf2fb6cdb:
Everything seems all right :smile: .
CFME QE Bot

Coverage decreased (-0.01%) to 27.429% when pulling d494a021abc948e9946800246240ecbdf2fb6cdb on jteehan:scvmm330 into 69a8fc3bf8a7280f7cf3a5e264ef89ccd746845f on RedHatQE:master.


Fix various errors found by long running delta-streamer tests

Parquet Avro schema mismatch errors when ingesting are sometimes silently ignored due to race-condition in BoundedInMemoryExecutor. This was reproducible when running long-running delta-streamer with wrong schema and it caused data-loss
Fix behavior of Delta-Streamer to error out by default if there are any error records
Fix a bug in tracking write errors in WriteStats. Earlier the write errors were tracking sampled errors as opposed to total errors.
Delta Streamer does not commit the changes done as part of inline compaction as auto-commit is force disabled. Fix this behavior to always auto-commit inline compaction as it would not otherwise commit.

@n3nash @vinothchandar : this needs to go in the next release. Can you please review when you get a chance.

lgtm then


Last digit of Squared Fibonacci sequence

Feature ✅
Description
Write a program to compute the sum of the squared Fibonacci sequence.
The program takes input of natural number 'n', and must compute F02+F12+F22+...+Fn2
The output should be the last digit of this summation.
NOTE:
Be careful while implementing the program as naive approaches (like recursion) have a time complexity of O(2n)
Example
Input:
7
Output:
3
Explanation
0 + 1 + 1 + 4 + 9 + 25 + 64 + 169 = 273
Thus, last digit is 3
Checklist:

[ ] I have read the project guidelines.
[ ] I have checked all the existing projects, before submitting a new project issue.
[ ] This issue will be meaningful for the project.
[ ] I will contribute more in future

Contributors are supposed to mention their coding language while asking for assignment
As python implementation of this algorithm has already been done in request #401, feel free to go for other programming languages
All the best coders!🤓

Hi, Can you assign this in C++ ?

@PriyanshuGangwar You are already assigned to 2 issues, that's the limit for this repository.

Hey, can you assign this to me in Java?

Hey, Can you assign this to me in C# ?

Can you assign this to me? i will do in C++

Hi, I would like to do this in Javascript. Pls assign.

Is this closed for assignees also?

@anu-ragi Nope.


Create examples and tests

Various fixes and improvements. Finish two examples and also added a new one

I think I implemented the changes. Have a look and if you agree we can merge it.

I agree with the implementations. I only have some second thoughts on the csvdataLoader class. it's ok for now.

ok then let's merge...


Wallet proposals-non custodial

Thorwallet, xDefi, coinonomi, exodus

Hey, I said that too!

https://github.com/dogecoinfoundation/dogecoin.com/pull/243

https://github.com/dogecoinfoundation/dogecoin.com/pull/244

There was an original request here for this same wallets: https://github.com/dogecoinfoundation/dogecoin.com/issues/230
All wallets added. Waiting for merge :)


Cache API info for external packages in indexeddb

Adds caching for external packages as well. I key the database on the package name, which should be fine unless you have multiple projects with different versions of the package installed. Seems like a small scenario. Most the db code is based off of @pelikhan's translation work

what happens when you update an extension and the update adds new blocks?

The multiple version scenario is not so unlikely because the extensions are hardbound. Say 2 projects like to extension v1. Then project A updates extension to v2. You now have 2 version of the extension in flight.

It is handled as the hash will mismatch. Not optimized in that scenario right?

I see. Looks good. It's kind of weird that we have a persistent cache for the API data and not for the sources. Can we get both?

Yeah, I can cache the sources. Will do in next PR


Update security insights instructions

@Irma12 I'll take a look at this when the build is working ok?

@dtuite Works now :)


[AUTOPATCHER] Patches CVE-2021-39537 for ncurses

        Patches CVE-2021-39537 for ncurses.
        This patch and PR was automatically generated and needs human verification before merging.

Closing- fixed by #1608.


CSRF token mismatch

Register.vue:
const sanctumFetch = useSanctumClient()

await sanctumFetch('register', {
  method: 'POST',
  body: {name, email, password, password_confirmation: passwordConfirm}
})

Nuxt.config.ts:
export default defineNuxtConfig({
  modules: [
    "nuxt-auth-sanctum"
  ],

  sanctum: {
    baseUrl: 'http://gdebar-lk:85'
  },
})

My cors.php:
return [
    'paths' => ['*'],
    'allowed_methods' => ['*'],
    'allowed_origins' => [env('FRONTEND_URL')],
    'allowed_origins_patterns' => [],
    'allowed_headers' => ['*'],
    'exposed_headers' => [],
    'max_age' => 0,
    'supports_credentials' => true
];

My sanctum.php:
return [
    'stateful' => explode(
        ',',
        env('SANCTUM_STATEFUL_DOMAINS', sprintf(
            '%s%s%s',
            'localhost,localhost:3000,<IP_ADDRESS>,<IP_ADDRESS>:8000,::1',
            Sanctum::currentApplicationUrlWithPort(),
            env('FRONTEND_URL') ? ',' . parse_url(env('FRONTEND_URL'), PHP_URL_HOST) : ''
        ))
    ),

    //defaults below
];

My FRONTEND_URL is http://localhost:3000 and SANCTUM_STATEFUL_DOMAINS does not exists.
Trying to register new user, but got error:

@projct1 when you use CSRF cookie based authentication, then both applications should work on the same domain, either localhost with different ports or actual domain (and API on a subdomain for example). Otherwise, you will keep getting mismatch error. For more details, please check module documentation and official Sanctum docs

Thanks dude, its works :)


I want to join in hyparam

Hello, I'm Ethan Tan, a skilled Full-Stack Developer and Machine Learning Engineer with over 8 years of experience in the industry. With a robust background in JavaScript, TypeScript, and WebAssembly, I have a proven track record of developing high-performance, scalable solutions for complex data processing tasks. I am enthusiastic about contributing to Hyperparam's innovative projects and helping advance the machine learning community through open-source contributions.

Hey @kentaurse thanks for reaching out! I would love to have additional contributors to Hyparquet and related libraries.
Were there any features or issues you would be interested in taking on? Happy to discuss some of the features I would like to see, such as:

Push down query engine
Use additional parquet metadata like OffsetIndex and Bloom filters
Improved parsing speed for large data files

thank you

-Contact Info
skype: https://join.skype.com/invite/FVUI6gLcYgAE
telegram: https://t.me/ethantan1116k
slack: https://join.slack.com/t/ksc-xme4972/shared_invite/zt-2ld45idp2-G9HkxP_wX4ctwQshyPM7Ig
discord: https://discord.gg/VxnfdY4bS4


size validation does not work

https://discuss.flarum.org/d/1836-flagrow-image-uploader-for-flarum-forum-messages/126

Fixed https://github.com/flagrow/flarum-ext-image-upload/commit/1ceb89cf25b60b76187bb9fa5ecf80d3331a92f3

Nice solution, would never have thought to solve it with a public property! :+1:


docs/building-yocto-udooneo: Perform a complete build

Debugging FAILURE in core-image-minimal.bb, do_rootfs

Merging - will defer debugging in a related issue


Only hook on specific tug

Hey, I love this addon. I know you said to expect bugs. But I have yet to encounter one. Do you mind suggestions for the addon? At the moment I am trying to catch some rare fish that have a heavy tug, i.e. fish that show !!! above your head when they bite. Currently, your addon is a hooking all fish, but could it be added that it only autohooks fish when you get the !!! heavy tug and just ignore the other fish, i.e. when you get ! or !!? I usually don't want to bother with other fish, if I know the one I am looking for is not the one biting.
Conversely, sometimes I might be looking only for fish with the light tug (!) maybe for mooching. If you cannot see the tug of the fish that's biting, another way to help here would be if I could specify a maximum and minimum time in which the plugin should autohook everything. For example, if I know (from the fishing wikis) that the fish I am looking for only bites after 20 seconds, I might want autohook to ignore all fish that bite before 20 seconds. Just some thoughts I had how you could maybe have the plugin customizable. Thank You again for this plugin!

Thank you for the feedback and great suggestions. I'll take sometime and see what i can do about these QoL changes, i can't promise it'll be quick but I'll try.

It took me some time but I think I managed to make something cool. The new version should be up soon. If yall find any errors please open a new issue so I can check and fix it.


OAuth/GraphQL: Manage env page: Too much blank space observed at the bottom once the user scrolls up the page after selecting drop down

Is there an existing issue for this?

[X] I have searched the existing issues

Description
OAuth: Manage env page: When the user opens the drop down and scrolls up the page, a big gap is seen at the bottom.

Steps To Reproduce

Create an oAuth datasource
Edit
Go to the manage environment page.
Open the drop down
Scroll up the page

Public Sample App
No response
Environment
Deploy Preview (Default)
Issue video log
No response
Version
v1.9.8

Here is a video to describe the issue - @rohan-arthur

This issue is fixed.


Howto get a spoken command to the output

Hello all together,
I'm new to Node-Red.
I checked and tested already all examples.
I would like to use a to the alexa spoken command, for example "switch plug1 on".
Can anybody help,

which Node I have to use?
which values ahve to be used in the fields?

Thank you very much in advance

Routine Node -> "Text Command" -> Choose your Command and your Device

Hi @zyankali333 ,
thank you for your fast response.
I didn't get it working. Maybe I described not in the correct way.
So I made a testflow.
In this flow I use, instead of the Alexacommand, two inject-nodes.
On inject-node switches on a plug, the other switches off the plug. This works so far.
Now is my idea to replace the inject-nodes by alexa-nodes, so that when I say to alexa "switch on the plug" the plug will be switched on and the same with switch off.
I've attached the testflow.
After download please rename Alexa_testflow_plug1.json.txt to Alexa_testflow_plug1.json.
Alexa_testflow_plug1.json.txt

If the plug is connected to Alexa via a skill it's going to be tricky. You could use the Event Node with type Device Activity and then create a command for the other plug and vice versa.
If the plugs are connected via Node-Red (e.g. by using node-red-contrib-amazon-echo) it's fairly easy.


Feature Request: Notification on $PSVersionTable that PowerShell is current/behind and what the latest version is

Summary of the new feature/enhancement
When running $PSVersionTable it would be a good headsup to the user to know if there is a newer version available or if they are current without them leaving the terminal to check online.
Benefit is just to keep a user in the shell as opposed to having to start browsing particularly on a GUI-less *Nix/Server Core environment.

Interesting idea - I see that you're already aware of the related proposal in #9141.
One challenge with respect to $PSVersionTable is that you don't want to incur the cost of an online lookup every time, particularly when you're using $PSVersionTable in scripts, so this information should probably be in a lazily evaluated property.

Current design is that new version is checked only if session is interactive and the check is delayed up to 3 seconds. With the design we can not use the code in $PSVersionTable.
I think a right way is new cmdlet or function (wrapper for Find-Package?).


Training of elmo embeddings

This might not be right place to ask, sorry for that.
I see that you trained a 5.5B token elmo model. I am facing some problems training my own elmo model. Could you be kind enough to answer a few questions?

How long did it take you to train your own elmo model for 5.5B tokens? (How many GPUs?)

What was the size of each training file that you split the data into? My kernel kills the process with around 1 million lines per file.

Thank You,

Hello!
I didn't train it - the 5.5B ELMo embeddings have been trained by the AllenNLP team too, see the listed pre-trained ELMo Models here.
About training new ELMo models, I am interested to train a model for French - I just started some tests for English with a single GTX 1080Ti and with much smaller train parts than yours and it failed quickly with OOM - so now I am trying to get more GPU to resume the tests...


instance.virtualAccounts.close sends extra data field status

While calling the function instance.virtualAccounts.close it throws the following exception:
{   statusCode: 400,   error: {     code: 'BAD_REQUEST_ERROR',     description: 'status is/are not required and should not be sent',     source: 'provider',     step: 'payment_authorization',     reason: 'extra_field_sent',     metadata: {}   } }
Upon furthur inspecting the function i noticed it adds the status field while sending a request to razorpay which is causing the error.

@NipunAgarwal19 can you provide me a sample code snippet to get started. We have unit tests to test this functionality which are not breaking yet so maybe we might need more clarity on this issue.

This issue has been fixed and merged in master, therefore i am closing this issue.
@NipunAgarwal19 Please let us know if you need any help


Captive form should percent-encode parameters for POST request

I had a problem with connecting to the wifi and I discovered that it was because the form parameters are not correctly encoded before put in the POST request. My wifi password had some character that needed to be encoded to work. It worked when I manually encoded it using encodeURIComponent() and entered the encoded value into the form.
In the file data/captive/app.js these lines:
  var params = "ssid=" + document.getElementsByName("ssid")[0].value +
  "&ssidPassword=" + document.getElementsByName("ssidPassword")[0].value +
  "&loginName=" + document.getElementsByName("loginName")[0].value +
  "&loginPassword=" + document.getElementsByName("loginPassword")[0].value

should be:
  var params = "ssid=" + encodeURIComponent(document.getElementsByName("ssid")[0].value) +
  "&ssidPassword=" + encodeURIComponent(document.getElementsByName("ssidPassword")[0].value) +
  "&loginName=" + encodeURIComponent(document.getElementsByName("loginName")[0].value) +
  "&loginPassword=" + encodeURIComponent(document.getElementsByName("loginPassword")[0].value);

Great catch! Thank you for the proposal too! Merging into master and will be fixed in the next release :)