Avahi.InvalidServiceTypeError: Invalid service type

Ubuntu2004, mdns 1.4.3
gcc -o mdns mdns.c
./mdns --service test_mdnsmw_service1._http._tcp.local. --port 10001 --hostname vbox2.local
./mdns --service test_mdnsmw_service1._dns-sd._tcp.local. --port 10001 --hostname vbox2.local
./mdns --service test._http._tcp.local.
opening avahi-discover came out the following:
Browsing domain 'local' on -1.-1 ...
Browsing for services of type '' in domain 'test._http._tcp.local' on 2.1 ...
ERROR:dbus.connection:Exception in handler for D-Bus signal:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 232, in maybe_handle_message
self._handler(*args, **kwargs)
File "/usr/bin/avahi-discover", line 182, in new_service_type
b = dbus.Interface(self.bus.get_object(avahi.DBUS_NAME, self.server.ServiceBrowserNew(interface, protocol, stype, domain, dbus.UInt32(0))),  avahi.DBUS_INTERFACE_SERVICE_BROWSER)
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 147, in call
**keywords)
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 653, in call_blocking
message, timeout)
DBusException: org.freedesktop.Avahi.InvalidServiceTypeError: Invalid service type
Browsing for services of type '' in domain 'test._http._tcp.local' on 2.0 ...
ERROR:dbus.connection:Exception in handler for D-Bus signal:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 232, in maybe_handle_message
self._handler(*args, **kwargs)
File "/usr/bin/avahi-discover", line 182, in new_service_type
b = dbus.Interface(self.bus.get_object(avahi.DBUS_NAME, self.server.ServiceBrowserNew(interface, protocol, stype, domain, dbus.UInt32(0))),  avahi.DBUS_INTERFACE_SERVICE_BROWSER)
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 147, in call
**keywords)
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 653, in call_blocking
message, timeout)
DBusException: org.freedesktop.Avahi.InvalidServiceTypeError: Invalid service type

You should not handle DNS-SD like that - the library takes care of service discovery for you (which is handled by a _services._dns-sd._udp.local. query, see RFC in https://datatracker.ietf.org/doc/html/rfc6763)
Your service should probably not be test_mdnsmw_service1._http._tcp.local. - the _http._tcp.local. is the service name normally used for HTTP.
Also, hostname should be without the local suffix.


2023-07-21 wishlist

The following is to be triaged into separate issues.
-peak labels, user can define a threshold percentage to identify peaks. They can then turn them on and off
-color palettes: be able to select a color gradient to show gradual peak changes. E.g. a selection for a dark blue to light blue palette for changes in concentration
-calculating area under curve: integration by area or baseline and compute fwhm
-concentration determination: this has multiple parts but if a user can assign their spectra with values and then do a calculation based on a regression plot to get a concentration in ENLIGHTEN would be cool. Typically for the user the spectra are exported, plotted in excel, values extracted manually and used to plot a linear graph that the user fits, gets equation and uses it to predict values.
-in general an analysis tab would be nice. Any initial analysis the spectroscopy software can provide before the user switches to their data analysis tool is really helpful
-data explorer to quickly access files for display and comparison. Or a search bar for saved spectra to reduce the scrolling

Using "unspecified" label for now. Really this is "needs triage"


Playwright library setup for E2E testing

Title : Playwright library setup for E2E testing #410
Issue No. : #410
Code Stack :
Close #410

Description:
This is an initial setup for playwright library.
Steps to run the playwright script
In terminal run: npx playwright test
This will generate a HTML report.
Steps to access HTML report:
In terminal run: npx playwright show-report
This will serve a HTML report page which you can access through: http://localhost:(This address will be printed on the terminal once you run the above command.)
Checklist:

[] I have mentioned the issue number in my Pull Request.
[] I have commented my code, particularly in hard-to-understand areas
[] I have created a helpful and easy to understand README.md
[] I have updated the Index.html file for my contribution

Hi @sadanandpai . If this mr seems right to you, can you please merge this.


Pipeline Enhancements

Description
Misc improvements to Pipelines to help close the gap in functionality from v1 release.
Target Branch
f/pipelines-enhancement
Requirements
N/A - We are just trying to add various items to improve the state of things.
Itemized UX Issues
N/A - UX will be done per issue
Itemized Dev Issues

https://github.com/opendatahub-io/odh-dashboard/issues/1247
https://github.com/opendatahub-io/odh-dashboard/issues/1425
https://github.com/opendatahub-io/odh-dashboard/issues/1516
https://github.com/opendatahub-io/odh-dashboard/issues/1242
https://github.com/opendatahub-io/odh-dashboard/issues/1791
https://github.com/opendatahub-io/odh-dashboard/issues/1243
https://github.com/opendatahub-io/odh-dashboard/issues/1223

Dependent on

https://github.com/opendatahub-io/odh-dashboard/issues/1746

Related artifacts
No response

Replaced by: https://issues.redhat.com/browse/RHOAIENG-260


Disable filter options without results doesn't work with filter element in shopping experiences

Description:
When using the filter element in shopping experiences, you can open multiple filter options at once.
Combined with the option in Settings -> Products -> Disable filter options without results, this results in wrong behaviour as the option simply stops you from opening filters - they stay collapsed when there is no option as a result.
However, if you've already opened the filter which is supposed to be locked before you have a combination which results in no products in the listing, you can still pick options from it -> resulting in no products in the listing.
Steps to reproduce:

ENABLE Settings -> Products -> Disable filter options without results
Have products with various properties - at least one of the properties must result in no products being available once you combine them.
Have shopping experience with the Sidebar -> Product filter element
Assign that and the products to some category
Open storefront, open all filters from that element (as in NOT collapsed)
Now produce a combination of properties which results in one of the filters having no options to display as a result

Expected result:
The filter's options are greyed out
Actual result:
The filter's options are NOT greyed out.
Worth mentioning here is that when the filters ARE collapsed, the entire filter is greyed out and you cannot select a combination which leads to no results.
The problem is that the filter itself becomes unselectable currently - NOT the properties IN the filter. That would probably be the easiest change.

[public] Automated response: This issue is linked to the internal issue https://shopware.atlassian.net/browse/NEXT-37603.
[created from NEXT-37603, comment 486933]


Create Theom Solution

Required items, please complete
Change(s):

Adding Solution for Theom
Added 1 Workbook, 20 Analytics Rules

Reason for Change(s):

New

Version Updated:

Yes

Testing Completed:

Yes

Checked that the validations are passing and have addressed any issues that are present:

Yes

@theomsoc :
Logo is looking good

Workbook is looking good

Could you please create a solution package by using V2 tool
Please follow the below URL and do the package creation. Thanks!
Azure-Sentinel/README.md at master · Azure/Azure-Sentinel (github.com)

@v-spadarthi should I use my branch as input for Logo and Basepath in input file at https://github.com/Azure/Azure-Sentinel/blob/master/Tools/Create-Azure-Sentinel-Solution/V2/README.md#create-input-file

@v-spadarthi added solution package, please review

@v-spadarthi thanks for the review. Addressed comments and rebuilt package. Shortcut names and atypical are as expected, to match the wording on our application.

@theomsoc : Data connector is looking fine

CreateUI definition

Main Template

Arm-ttk also running fine

@aprakash13 : Please review the analytics and provide your signoff. Thanks!
Once Analytics rules reviewed by @aprakash13 we are going to approve this PR.

@aprakash13 addressed comments and re-published new package

@aprakash13 @v-spadarthi could you please review and merge PR soon, as we are waiting on publishing solution.

Thanks @aprakash13 !! @v-spadarthi please do the needful.

@theomsoc : Please add the solution input file for that create Data folder under Solutions/Theom/ and keep it here.

@theomsoc : Thanks for adding solution input file.
Plz remove the empty properties from solution input file like parsers and playbooks

@theomsoc : Please add the solution input file for that create Data folder under Solutions/Theom/ and keep it here.

@v-spadarthi Added input file, resolved conflicts and removed empty properties.
If all looks good, please merge PR, thanks!

@v-spadarthi could you please check and merge PR soon, so we are able to publish today ?

Create UI definition is looking good

Arm ttk also running fine

All are looking good

Approved and merged since Suresh's has approved the PR


[CI] Add kind-in-Docker test to Buildkite CI

Why are these changes needed?
This PR adds a Buildkite CI test that verifies that a kind cluster can be launched.  This is a prerequisite for running end-to-end KubeRay tests in CI, so it makes sense to merge this PR even though KubeRay functionality isn't being tested yet.
The PR uses the support added in https://github.com/ray-project/rayci/pull/14.

Related issue number

Closes https://github.com/ray-project/kuberay/issues/1203
Checks

[ ] I've made sure the tests are passing.
Testing Strategy

[ ] Unit tests
[ ] Manual tests
[ ] This PR is not tested :(

Compatibility test failure unrelated, merging

Interesting failure here: https://buildkite.com/ray-project/ray-ecosystem-ci-kuberay-ci/builds/1044#018965e0-a40b-4f67-8c65-c763c33adbc0/129-325
Somehow a kind cluster was already running, @krfricke any idea how this is possible? Does that point to anything wrong with the setup?


ImportError: No module named playsound [solved]

Thanks @Sangarshanan for the package. I was continuously getting ImportError for playground. After many trial and error , I figured out that I had to change two instances of python to python3 since that's how it's called on my machine (Mac OS Catalina)
jazz.py
from .settings import current_dir

import os
import sys
import time
import signal
import traceback
import subprocess

def get_track_path(track):
    track_path = os.path.join(current_dir, "tracks", track)
    if os.path.exists(track_path):
        return track_path
    else:
        return track

def kill_process(process):
    os.killpg(os.getpgid(process.pid), signal.SIGTERM)

class WaitingTrack(object):
    """Use on loooong scripts."""

    def __init__(self, track=None):
        self.track = track

    def __call__(self, original_func):
        def wrapped_function(*args):
            track_path = get_track_path(self.track)
            cmd = f"python3 {current_dir}/play.py {track_path}"
            process = subprocess.Popen(
                cmd, stdout=subprocess.PIPE, shell=True, preexec_fn=os.setsid
            )
            try:
                original_func(*args)
            except KeyboardInterrupt:
                kill_process(process)
            finally:
                kill_process(process)

        return wrapped_function

class ErrorTrack(object):
    """Use on potential oopsies."""

    def __init__(self, track=None, wait=None, ascii_err=False):
        self.track = track
        # Time (optional) will be infered by track length
        self.wait = wait
        # ascii_err (Optional) Print the exception as an ascii art
        self.ascii_err = ascii_err

    def __call__(self, original_func):
        def wrapped_function(*args):
            try:
                original_func(*args)
            except Exception as e:
                track_path = get_track_path(self.track)
                if self.ascii_err:
                    from pyfiglet import figlet_format

                    sys.stdout.write(figlet_format(e.__class__.__name__))
                traceback.print_exc()
                cmd = f"python3 {current_dir}/play.py {track_path}"
                process = subprocess.Popen(
                    cmd, stdout=subprocess.PIPE, shell=True, preexec_fn=os.setsid
                )
                if self.wait is None:
                    from .utils import track_length

                    time.sleep(track_length(track_path))
                else:
                    time.sleep(self.wait)
            finally:
                kill_process(process)

        return wrapped_function

I don't know if anyone else also faced this issue. It'd be good if you can handle it better !
Thank you!

Aha nice catch! some may also use aliases too, my first thought is to just make the script executable and run ./play.py which would technically solve this particular issue but I still feel like it can be better handled with threading or multiprocessing, will look into the possibilities
Thanks for bringing it up 🖤

Thanks for the details, I'm hoping to make a video on it. Will share once done :)

Yay!!! 😄

I don't know if it does justice to your work @Sangarshanan but here's the humble video demo - https://youtu.be/qkyQfIjvPmM

Woah this is so awesome, thank you so much for doing this. Made my day : ) Would you mind if I add this to the Readme ?

If you feel it's worthy to be there, please feel free to. It's my pleasure!


Add -j flag for invoking data-less plugins

Some plugins (like yubikey-agent, or an sshpass equivalent) just need the user to inform rage that they exist and should be used, but not to actually pass any data across. A user can currently achieve this with an "empty plugin identity", which looks like:
AGE-PLUGIN-NAME-1SIXCHR
where name is the plugin name, and SIXCHR is the Bech32 checksum. This has two UX flaws:

The empty identity is a "magic string", that users need to know about in order to use these plugins.
It needs to go into a file (since -i only accepts files). For a user that only uses yubikey-agent this would mean having a loose file around with a single magic string, the location of which they need to remember.

In a long UX discussion with @FiloSottile and @benjojo, we decided to add a new -j flag, which does this all for the user. When rage sees -j name, it internally behaves as if it had seen a -i file where the file contained AGE-PLUGIN-NAME-1SIXCHR (with valid checksum).
This has a downstream effect on plugins: they can now distinguish a "default" behaviour. If a plugin only normally gives out plugin identities containing data, they can behave differently if they are sent (via the plugin protocol) an add-identity command with a known plugin name but empty data. This could be used to e.g. decrypt with a default set of identities, instead of a specific one.
-j is intended to be handled in-line with -i for deterministic decryption (#236). For simplicity, rage will only support a single -j flag, and make it incompatible with -i flags.

So is there a way to invoke the ssh-agent?
I have my GPG private subkeys stored on Yubikey and I derive from them also the SSH keys.
Therefore I'm able to encrypt anything with the public key but can't decrypt the file.

As far as I understand, due to the way that SSH public key encryption
works, we can't ask the agent to decrypt in the way we need it to for age.
So in your situation age files encrypted to SSH keys on yubikeys (via the
GPG/SSH menthod in particular) are not decryptable.
On Sun, 18 Jul 2021, 13:27 Petr Hodina, @.***> wrote:

So is there a way to invoke the ssh-agent?
I have my GPG private subkeys stored on Yubikey and I derive from them
also the SSH keys.
Therefore I'm able to encrypt anything with the public key but can't
decrypt the file.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/str4d/rage/issues/237#issuecomment-882041979, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AALPK4WYPEM7TR3JLTH7PCDTYK3ALANCNFSM46GFYGCQ
.

Thanks @benjojo. If I understand it correctly we would have to patch the ssh-agent (or gpg-agent) to support this functionality?

Sure. But I believe there is a fundamental issue in how the GPG smartcard
works rather than how the agent protocol works
On Mon, 19 Jul 2021, 11:13 Petr Hodina, @.***> wrote:

Thanks @benjojo https://github.com/benjojo. If I understand it
correctly we would have to patch the ssh-agent (or gpg-agent) to support
this functionality?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/str4d/rage/issues/237#issuecomment-882386759, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AALPK4SMBCOKENRW6PQJE6DTYPUFBANCNFSM46GFYGCQ
.

We can't use the proper ssh-agent protocol because it only provides signing operations, not decryption, so the ability to decrypt an age ciphertext depends on where the key is actually stored:

if it's stored as a local SSH key file, it can be just used with -i
if it's a remote ssh-agent, we can't do much unless a custom ssh-agent extension (FiloSottile/age#7) is implemented on the remote side, which on the age side someone could write a plugin for
if it's actually a gpg-agent acting as an ssh-agent, it might be possible to write a plugin that talks directly to the gpg-agent, which might support the decryption operations we need, I am not sure
if using gpg-agent directly is not possible, and the key is a standard gpg keyring on disk, it's possible to write a plugin that uses it
if the key is held on an OpenPGP card like a YubiKey, it might be possible to write a plugin that uses it by talking the OpenPGP card protocol directly

(3) would be interesting, but the gpg-agent docs are a pain. See https://www.gnupg.org/documentation/manuals/gnupg/Agent-PKDECRYPT.html#Agent-PKDECRYPT and Section 6.3 of https://gnupg.org/documentation/manuals/gcrypt.pdf.

@FiloSottile thanks for excellent explanation and links.

if it's stored as a local SSH key file, it can be just used with -i

The simplest solution now seems to bt to use additional SSH key as a plain file.

if it's a remote ssh-agent, we can't do much unless a custom ssh-agent extension (ssh agent support FiloSottile/age#7) is implemented on the remote side, which on the age side someone could write a plugin for

As you already pointed out the ssh-agent is used for authentication. I'll have to check the issue/discussion further with the extension.

if it's actually a gpg-agent acting as an ssh-agent, it might be possible to write a plugin that talks directly to the gpg-agent, which might support the decryption operations we need, I am not sure

Leveraging gpg-agent acting as ssh-agent might be better way though in the end it won't work for everybody. But it's possible to interact with the gpg keyring itself though as you already mentioned unfortunately the documentation is hard to read and develop something on that at least for somebody who didn't develop gpg

if using gpg-agent directly is not possible, and the key is a standard gpg keyring on disk, it's possible to write a plugin that uses it

Given that there is an extension to the gpg-agent itself to act as a ssh-agent I think the previous point makes more sense as I'd rather not redo the stuff the gpg-agent does in handling and interacting with the keyring itself. Also the point is that I'd love to use age as a replacement for encrypting files with gpg and reimplementing what gpg does seems like step backwards

if the key is held on an OpenPGP card like a YubiKey, it might be possible to write a plugin that uses it by talking the OpenPGP card protocol directly

Not sure if this is the right move as there might be other daemons that want to talk to the card, meaning solving some arbitration through some locks and hoping the card internal state does not change, and also the documentation on this topic is kinda hard to swallow

Sorry to re-open this thread but I want to be sure I properly understand it.
Currently there is no way to use rage if yubikey-agent is running, right? I am following a bunch of issues here and there and a lot of stuff seems to be in progress.
As far as I get it someone need to implement a ssh agent plugin to handle the decryption right? Because only one process can keep a hold on the Yubikey, right?
If I am wrong, can someone tell me which ID I need to pass to rage -j ... in order for this to work? I am looking everywhere and there is no mention of this Bech32 in yubikey-agent binary.


ImportError: cannot import name 'builder' from 'google.protobuf.internal'

I updated the googlefonts-project-template for my Fragment Mono repo and now when I try to make build locally, I get the follwoing error:
▶ make build
rm -rf fonts
(for config in sources/config*.yaml; do . venv/bin/activate; gftools builder $config; done)  && touch build.stamp
Traceback (most recent call last):
  File "/Users/weihuang/type-build-projects/fragment-mono/venv/bin/gftools", line 8, in <module>
    sys.exit(main())
  File "/Users/weihuang/type-build-projects/fragment-mono/venv/lib/python3.10/site-packages/gftools/scripts/__init__.py", line 90, in main
    mod = import_module(f".{module}", package)
  File<EMAIL_ADDRESS>line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/Users/weihuang/type-build-projects/fragment-mono/venv/lib/python3.10/site-packages/gftools/builder/__init__.py", line 122, in <module>
    from gftools.builder.schema import schema
  File "/Users/weihuang/type-build-projects/fragment-mono/venv/lib/python3.10/site-packages/gftools/builder/schema.py", line 16, in <module>
    from gftools.packager import CATEGORIES
  File "/Users/weihuang/type-build-projects/fragment-mono/venv/lib/python3.10/site-packages/gftools/packager.py", line 43, in <module>
    from gftools.util import google_fonts as fonts
  File "/Users/weihuang/type-build-projects/fragment-mono/venv/lib/python3.10/site-packages/gftools/util/google_fonts.py", line 40, in <module>
    import gftools.fonts_public_pb2 as fonts_pb2
  File "/Users/weihuang/type-build-projects/fragment-mono/venv/lib/python3.10/site-packages/gftools/fonts_public_pb2.py", line 5, in <module>
    from google.protobuf.internal import builder as _builder
ImportError: cannot import name 'builder' from 'google.protobuf.internal' (/Users/weihuang/type-build-projects/fragment-mono/venv/lib/python3.10/site-packages/google/protobuf/internal/__init__.py)
make: *** [build.stamp] Error 1

Protobuf is already pinned, https://github.com/googlefonts/gftools/blob/main/pyproject.toml#L41. I'll take a look in a min.

fd495cf regenerated the _pb2.py file; I don't know what version of the compiler it used (the protobuf team closed my PR which adds the compiler version number to the generated files, grr.) but now it uses google.protobuf.internal.builder whereas it didn't before. So yeah, we either have to recompile or move to a new protobuf dependency.

@weiweihuanghuang would you mind checking again?


Determine license for SCons graphics

This issue was originally created at: 2008-05-23 14:40:49.
This issue was reported by: gregnoel.
gregnoel said at 2008-05-23 14:40:49

Per the discussion in the mailing list and at the bug party, determine the best
license for SCons logos and trademarks.  Get a release signed by contributors.

stevenknight said at 2009-11-10 18:00:19

stevenknight => issues@scons

gregnoel said at 2010-01-20 02:05:56

Bug party triage.  Steven to consult with lawyer and get determination prior to
the 2.0 release.

gregnoel said at 2010-01-20 02:06:47

Oops, forgot to set owner.

gregnoel said at 2010-01-20 03:29:00

Correct priority.

garyo said at 2012-09-01 10:01:49

Bumping all old issues targeted for past releases to 2.x.

Resolved by #2985


APIView Feature Request: Visual affordances around comment intent?

@KrzysztofCwalina and I were discussing how we're using and understanding APIView comments differently and wondering if the tool could provide visual UI affordances to help comment authors indicate varying intent.  For example some different comment intents might be:

This is a P0 ship blocker
This is something I want to stash as a reminder where everyone can see, but I'm still thinking about whether or not we need to act on it.

More whimsical intents also include:

If we make the change you suggested, it will introduce problems elsewhere -- we need to back up and think about this in holistic way (@KrzysztofCwalina and I are calling this class of comments/problem a "whac-a-mole problem")
I don't have an answer now, but maybe if I think about something else for it for a few days, when I come back to it, my brain will have given me the gift of a solution (we're calling this one "giving it to the elves" per the fairy tale the Elves and the Shoemaker)

It might be cool to have expressive emojis or other tags for indicating these common cases.

@annelo-msft,
https://www.freepik.com/icon/whack-mole_1695590

https://www.freepik.com/icon/whack-mole_1695590

Amazing!

I don't have memorable stories for these emotes, but it would also be good to have the ability to:

thumbs down (or less aggressive variant)
either way works for me
thanks

Possible related to https://github.com/Azure/azure-sdk-tools/issues/7420


Fix format check in workflow

https://github.com/serena-ruan/unitycatalog-ai/actions/runs/11231132276/job/31219900918?pr=25 proves the fix


Attachment not working for gmail?

Hi. Attachment content not working for gmail?
How to fix it?
Thank you,

Hello, @Ajtak !
Some solution to this problem with the attachments in Gmail?
Do you know if this works in other mail server?
Thanks. I am starting to work in this project now...

Hello!
This bus has been fixed here: https://github.com/natanfelles/php-imap-client/commit/de9df0bd3271170f0a8248bf0496fc6d4aee612e
I will do a Pull resquest when I implement the ability to define what dparameters to use automatically.

@Ajtak If you are still active close this issue please


Creation of LICENSE, Contributing.md, Screenshots.md and Updated README.md file.

PR for Issue #269: [Feature Request]: Creation of dedicated Contributing.md file & License file along with Updation of README.md [SOLVED]
1. Creation of LICENSE.

2. Updating the README.md file for better readability of the users.

Added animated borders separating each section.

Added a Screenshots.md file redirect in the Description section.

Screenshots.md contains the images previously in the README.md file and a link to the live demo website. This increases the cleanliness and readability of the README.md file.

3. Creation of Contributing.md file for Contributors.

Also added a redirect to Contributing.md from README.md

Please do assign this PR to me and also make sure you assign the labels:

level3
gssoc-ext
hactoberfest-accepted
Thanks for reviewing the PR.

in license, change ambuflow instead of name? and did you change screenshot format, change this also?

in license, change ambuflow instead of name? and did you change screenshot format, change this also?

Sorry, can you please explain what you said? Change what?

change "ambuflow" that's name of project in license instead of name "anurag vishwakarma"

and did you change image format??? also

change "ambuflow" that's name of project in license instead of name "anurag vishwakarma"

Yes will change that just noticed that

and did you change image format??? also

Format of the Screenshots? If so then all I did was shift the code into a new file (Screenshots.md) and added a redirect to it in the description section(image provided above).

I have added the image for the Screenshots.md file code in the previous message.
Also here is the modified LICENSE:

Please review the changes and let me know.

create another pr

Just a min


Show images and headlines in RSS feeds

Is your feature request related to a problem? Please describe.
I am using a self-hosted instance of TT-RSS. For browsing through the feeds, I usually use the Android app instead of the web UI (although this issue affects both the app and the web UI).
When scrolling through the Bluesky feeds, only the date and time of the post is shown - no headline and no images. The RSS feed of other web services are showing the headline and an image related to the article.
To illustrate this request, please have a look at the attached pictures.
Describe the solution you'd like
I would like to see the headline and the image of the post, while scrolling through the RSS feed. Just seeing the date and time of a post without any content does not show, well... does not show any content ;-)
Maybe there is already a solution around, which I am not aware of. Any help is very appreciated!
Additional context
Please see the attached screenshots, showing a feed of Bluesky compared to any other feed:

I very much agree with these sentiments. The current RSS feed from BlueSky is disappointingly "bare bones" as it stands. I would like to be able to incorporate my BlueSky feed on my website, but as most of my posts contain images, it would currently be completely pointless to do so.

@peterjdann: As a workaround I am using openrss.org at the moment. It is able to generate RSS feeds from BlueSky accounts, including images.


Refactor to allow download of generated report

Description
Hi @statik !
So here is what I have so far with downloading the generated reports. This uses the RPC to grab the file for download.

@statik Hi! This will now all the user to download the file from the db using the file name that it was inserted into the db with.


⚠ Samsung has degraded performance

In 5f54291, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2410 ms

Resolved: Samsung performance has improved in f985138.


fix header name for case sensitive file systems

Fails to compile on Linux due to case sensitive file system. This PR corrects this issue.
../go/pkg/mod/github.com/veandco/go-sdl2@v0.3.1-0.20190819015742-0ac831f22fa9/sdl/syswm_windows.go:6:10: fatal error: WinDef.h: No such file or directory
    6 | #include <WinDef.h>
      |          ^~~~~~~~~~
compilation terminated.

Thanks @jclc!


bin\tar.exe: Unexpected EOF on archive file

Describe the bug
bin\tar.exe: Unexpected EOF on archive file.
To Reproduce
Steps to reproduce the behavior:

run 'python wa_kdbe.py --tcp-ip <IP_ADDRESS>'
Enter 'Run usually'
#. See error

Expected behavior
Extract files.
Screenshots

Terminal output
================================================================================
========                                                                ========
========  db   d8b   db  .d8b.         db   dD d8888b. d8888b. d88888b  ========
========  88   I8I   88 d8' `8b        88 ,8P' 88  `8D 88  `8D 88'      ========
========  88   I8I   88 88ooo88        88,8P   88   88 88oooY' 88ooooo  ========
========  Y8   I8I   88 88~~~88 C8888D 88`8b   88   88 88~~~b. 88~~~~~  ========
========  `8b d8'8b d8' 88   88        88 `88. 88  .8D 88   8D 88.      ========
========   `8b8' `8d8'  YP   YP        YP   YD Y8888D' Y8888P' Y88888P  ========
========                                                                ========
================================================================================

============ WhatsApp Key / Database Extrator for non-rooted Android ===========

================================================================================
===                                                                          ===
===  xxxxx  PLEASE TAKE WHATSAPP CHAT BACKUP BEFORE GETTING STARTED.  xxxxx  ===
===                                                                          ===
===    For that go to 'WhatsApp settings => Chat Settings => Chat Backup'    ===
===              here take a local backup. Prepare for Worst.                ===
===                                                                          ===
===     This script can extract your WhatsApp msgstore.db (non crypt12,      ===
===   unencrypted file) and your 'key' file from '\data\data\com.whatsapp'   ===
===  directory in Android 4.0+ device without root access. However you need  ===
===   to have JAVA installed on your system in order to 'view the extract'.  ===
===  If you don't have JAVA installed then you can 'view extract' later by   ===
===   running 'view_extract.py'. The idea is to install a 'Legacy WhatsApp'  ===
===       temporarily on your device in order to get the android backup      ===
===    permission. You should not lose any data and your current WhatsApp    ===
===   version will be installed after this process so don't panic and don't  ===
=== stop this script while it's working. However if something fails you can  ===
===    run 'restore_whatsapp.py' and reinstall current WhatsApp or simply    ===
===                    update that from Google Play Store.                   ===
===                                                                          ===
===                      Script by : Yuvraj Raghuvanshi                      ===
===                      Github.com/YuvrajRaghuvanshiS                       ===
================================================================================

[19:28:08.375181] Found Java installed on system.

[19:28:08.376183] Please read above instructions carefully ↑ . Continue? (default y) :
[19:28:09.735760] Connected to Redmi 5 Plus
[19:28:10.290134] WhatsApp V2.11.431 installed on device
[19:28:10.429188] Backing up WhatsApp 2.11.431 apk, the one installed on device to tmp/WhatsAppbackup.apk
426 KB/s (18329558 bytes in 42.011s)
[19:28:52.826569] Apk backup complete.
[19:28:52.826569] Uninstalling WhatsApp, skipping data.
Success
[19:28:53.595912] Uninstalled.
[19:28:53.595912] Rebooting device in TCP mode break the connection and won't work until explicitly turned on in device and/or in PC. Skipping...
[19:28:53.595912] Installing legacy WhatsApp V2.11.431, hold tight now.
243 KB/s (18329558 bytes in 73.382s)
Success
[19:30:14.235645] Installation Complete.
Starting: Intent { cmp=com.whatsapp/.Main }
[19:30:14.366871] Press any key after running Legacy WhatsApp for a while.
[19:30:28.186941] Backing up WhatsApp data as tmp/whatsapp.ab. May take time, don't panic.
Now unlock your device and confirm the backup operation.
[19:35:33.137229] Done backing up data. Size : 121174613 bytes.
[19:35:33.137229] Reinstallting original WhatsApp.
230 KB/s (18329558 bytes in 77.589s)
Success

[19:37:01.151420] Our work with device has finished, it is safe to remove it now.

[19:37:01.151420] Found whatsapp.ab in tmp folder. Continuing... Size : 121174613 bytes.
[19:37:01.151420] Enter a reference name for this user. : pppp
[19:37:06.818587] Enter same password which you entered on device when prompted earlier. : pppp
[19:37:13.420116] Successfully 'fluffed' tmp/whatsapp.ab tmp/whatsapp.tar. Size : 283204608 bytes.
[19:37:13.420116] Folder extracted/ already exists.
[19:37:13.420116] Taking out main files in tmp/ folder temporaily.
apps/com.whatsapp/f/key
bin\tar.exe: Unexpected EOF on archive file
bin\tar.exe: Error is not recoverable: exiting now
apps/com.whatsapp/db/msgstore.db
bin\tar.exe: Unexpected EOF on archive file
bin\tar.exe: Error exit delayed from previous errors
bin\tar.exe: Unexpected EOF on archive file
bin\tar.exe: Error is not recoverable: exiting now
[19:37:24.998517] [WinError 2] The system cannot find the file specified: 'tmp/apps/com.whatsapp/db/wa.db' -> 'extracted/pppp/wa.db'
[19:37:24.998517] Cleaning up tmp folder...

Desktop (please complete the following information):

OS: Windows 10

Smartphone (please complete the following information):

Device: Redmi 5 Plus
Android Oreo
Version Same

Additional context
Add any other context about the problem here.

This issue occurs only when backup is created using adb over tcp.

@nelenkov You're the only person I can think of who has enough experience with ADB backup, can you help me with what's going on here?
PS : whatsapp.ab header are correct.
Here's how I'm doing it if you're curious.
.
.
.
if(os.path.isfile(tmp + 'whatsapp.ab')):
    CustomPrint('Found whatsapp.ab in tmp folder. Continuing... Size : ' +
                str(os.path.getsize(tmp + '/whatsapp.ab')) + ' bytes.')
    userName = CustomInput(
        'Enter a reference name for this user. : ') or 'user'
    abPass = CustomInput(
        'Enter same password which you entered on device when prompted earlier. : ')
    try:
        os.system('java -jar ' + bin + 'abe.jar unpack ' + tmp +
                  'whatsapp.ab ' + tmp + 'whatsapp.tar ' + str(abPass))
        CustomPrint('Successfully \'fluffed\' ' + tmp + 'whatsapp.ab to ' + tmp +
                    'whatsapp.tar. Size : ' + str(os.path.getsize(tmp + 'whatsapp.tar')) + ' bytes.')
        TakingOutMainFiles(userName, sdPath, ADBSerialId)

def TakingOutMainFiles(userName, sdPath, ADBSerialId):
    os.mkdir(extracted) if not (os.path.isdir(extracted)) else CustomPrint(
        'Folder ' + extracted + ' already exists.', 'yellow')
    os.mkdir(extracted + userName) if not (os.path.isdir(extracted + userName)
                                           ) else CustomPrint('Folder ' + extracted + userName + ' already exists.', 'yellow')
    CustomPrint('Taking out main files in ' + tmp + ' folder temporaily.')
    try:
        bin = '' if(isLinux) else 'bin\\'
        os.system(bin + tar + ' xvf ' + tmp + 'whatsapp.tar -C ' +
                  tmp + ' apps/com.whatsapp/f/key')
        os.replace('tmp/apps/com.whatsapp/f/key',
                   extracted + userName + '/key')
        os.system(bin + tar + ' xvf ' + tmp + 'whatsapp.tar -C ' +
                  tmp + ' apps/com.whatsapp/db/msgstore.db')
        os.replace('tmp/apps/com.whatsapp/db/msgstore.db',
                   extracted + userName + '/msgstore.db')
        os.system(bin + tar + ' xvf ' + tmp + 'whatsapp.tar -C ' +
                  tmp + ' apps/com.whatsapp/db/wa.db')
        os.replace('tmp/apps/com.whatsapp/db/wa.db',
                   extracted + userName + '/wa.db')
        os.system(bin + tar + ' xvf ' + tmp + 'whatsapp.tar -C ' +
                  tmp + ' apps/com.whatsapp/db/axolotl.db')
        os.replace('tmp/apps/com.whatsapp/db/axolotl.db',
                   extracted + userName + '/axolotl.db')
        os.system(bin + tar + ' xvf ' + tmp + 'whatsapp.tar -C ' +
                  tmp + ' apps/com.whatsapp/db/chatsettings.db')
        os.replace('tmp/apps/com.whatsapp/db/chatsettings.db',
                   extracted + userName + '/chatsettings.db')

        CleanTmp()

        CustomPrint(
            'You should not leave these extracted database and other files hanging in folder, it is very insecure.')
.
.
.

Instead of using adb backup using adb shell "bu backup com.whatsapp ^> /sdcard/whatsapp.ab"  seems to solve this.
echo -e "\nYou can backup using 'adb backup' command (option A)\n"
echo -e "or you can use 'bu' command and then 'adb pull' (option B) (need enough storage on sdcard)\n"
read -n1 -p "Please select an option? [A,B]" backup_option

            if [[ $input == "A" || $input == "a" ]]; then
                if [ $sdkver -ge 23 ]; then
                    adb backup -f tmp/whatsapp.ab com.whatsapp
                else
                    adb backup -f tmp/whatsapp.ab -noapk com.whatsapp
                fi
            elif [[ $input == "B" || $input == "b" ]]; then
                if [ $sdkver -ge 28 ]; then
                    echo -e "Android 9.0 or higher\n"
                    adb shell "bu backup com.whatsapp ^> /sdcard/whatsapp.ab"
			        adb pull /sdcard/whatsapp.ab tmp/whatsapp.ab
                elif [ $sdkver -ge 23 ]; then
                    echo -e "Android 6 to 8.1\n"
                    adb shell "bu 1 backup com.whatsapp ^> /sdcard/whatsapp.ab"
				    adb pull /sdcard/whatsapp.ab tmp/whatsapp.ab
                else
                    echo -e "Android before 6\n"
                    adb shell "bu 1 backup -noapk com.whatsapp ^> /sdcard/whatsapp.ab"
				    adb pull /sdcard/whatsapp.ab tmp/whatsapp.ab
                fi
            else
                echo -e "Sorry, unsupported option\n"
            fi

adb v1.0.41 on TCP also avoids this issue.

Looks like a bug in adb then? Maybe depends on file size? In any case, glad it's resolved.

Can't say if depends on file size, I believe creating backup and sharing it over TCP at the same time calls for it. Whatever the case is I'm also glad it is solved.


Fixed iterator marker key in JavaScript sample

Response returns "continuationToken" as opposed to "nextMarker"

Thanks for the PR @kevinprasanna!
Am guessing the same would apply to the sample in the iterators-containers.js file as well?

Hi @ramya-rao-a, I just found this one while using in Node. Updated the container iterator too.

Looks good! @kevinprasanna thank you for the contribution! @XiaoningLiu @ljian3377 @jiacfan Please review.

@XiaoningLiu, @ljian3377, Can you please take a look here?


Add test IDLs

PR #30 adds some test cases, however there are many more we should cover:

Interface
Comments (single and multiline) on different levels
struct
delegate
attributes on different kind of elements (such as the ones named above)


Add STScI footer to ACS notebooks

This PR adds the STScI footer to ACS notebooks.

@dulude, Any objections to merging this PR?


HomeMatic Addon configuration, Home Assistant OS 6.5

Moin Jens,
the installation and configuration of the RaspberryMatic Addon works like a charm.
I also could add my HomeMatic RF and IP devices without a problem.
I also added the code in the config.yaml. as you mentioned.
But after that I fail to get the HomeMatic Addon running to use the devices in Home Assistant.
What configuration do I need for this second Addon?
Even when I try to start the HomeMatic addon with the standard configuration of the Addon (RF, IP and wired deactivated)
the HomeMatic Addon won't start.
Do I need to enter the port of my HM-MOD-RPI-PCB here as well?
the Addon says the connected device does not exist on that port.
What ever I try, as soon as I want to start the HomeMatic Addon I get an message on it't gui
"502 Bad Gateway" and the log file of it only produces a couple of lines....
I already asked in Home Assistant Community, they couldn't help me.
Do you have a clue?

Soweit ich weiß kann man nicht beide AddOns gleichzeitig betreiben.
Du musst dich entscheiden welches du nutzen willst.

@DudeMasterDE As @Baxxy13 pointed out: Both Add-ons are NOT meant to be installed/used in parallel. In fact, the RaspberryMatic HA Add-on is a drop-in replacement for the traditional "Homematic HA Add-on" the HA developers provide themselves. Thus, that's exactly the reason why there is no documentation about using both in parallel!. Therefore this is a usage error!


Add support for getting path from request

From<EMAIL_ADDRESS>on February 12, 2011 12:30:52
E.g.
List shoppingCategories = get("/somewhere").read("shopping.category");
and:
xmlPath = new XmlPath(get("/somewhere").asString());
int foo = path.read("..");
List bar = path.read("..");
Original issue: http://code.google.com/p/rest-assured/issues/detail?id=26

From<EMAIL_ADDRESS>on February 18, 2011 08:30:08
Status: Fixed


Little nightmare fix

closes: https://github.com/oldschoolgg/oldschoolbot/issues/1023
Description:

Fixes Little nightmare drop rates.
"The pet has a 1/800 drop rate in the original encounter, increasing by said amount for every additional player in the room when the fight started; 1/1600 in a duo, 1/2400 in a trio, 1/3200 in a 4-man and 1/4000 in a 5 or higher man encounter. At Phosani's Nightmare, the pet has a flat 1/1400 drop rate." Source: https://oldschool.runescape.wiki/w/Little_nightmare

Changes:

Makes Little nightmare drop scale based on party size.

5% for MVP

"Mass nightmare" is capped at user + 3 simulated users but I still added a check to make sure this never goes above 4000.

[X] I have tested all my changes thoroughly.

The commented out leagues Highscore checks are causing the test to fail. I'm guessing that's because Leagues 4 is releasing tomorrow and messing with the Highscores.


Remove the link for downloading photos from the non-staff view

To discourage unauthorized use of submitted photographs, the "Download" link on photograph pages should be removed for all but logged in staff users.

Agreed to include in other image feature milestone along with related improvements.

Will revisit after the SCI photo request to see if this needs to happenl

The reason we bike racked this, is because there are images, like this infographic, that are better viewed at full-size. It makes sense to provide the full-size image here and probably in many other cases.
Perhaps we could add some sort of not about valid use?

There is a workaround to the download tab - right click - open in new window. I don't recall having issues with this in the past so okay as is for now.


a11y - default text block minimum contrast and focus - cms ui

Describe the bug
The empty fields have a 'Type text...' placeholder, but the text contrast is very low, and the field lacks borders/focus, making it less noticeable. In general, light gray text on white background should be avoided.
To Reproduce
Steps to reproduce the behavior:

Go to https://demo.plone.org/edit
enter in edit mode by clicking on the edit button (top-left)
press "enter"

Expected behavior

The placeholder text color must have an acceptable minimum contrast.
The input field created by the text block needs to have a visible focus when focused.

Screenshots
If applicable, add screenshots to help explain your problem.

okay so may i work on this issue

@YashGupt29 please read and follow Contributing to Plone and First-time contributors.


Need to consider merge

If I merge a feature into my branch, I have to rebuild the databases. _build in essence disappears when this happens.
To do this:

Take the flyway migrate file with the same branch name
Remove the version number from it
Run flyway migrate
Add the new version to the same branch migration file.

Will have to consider flyway tables by default ie without handing them to the class.

Addressed 1.1.4.


Backup and restore without GUI

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
Backup and restore without GUI
Hello,
I would like to create a task to backup my main uptime Kuma without the GUI and restore it in another instance, all in CLI if possible.(for sync the probe)
Is this possible?
Regards
🐻 Uptime-Kuma Version
Version: 1.11.3
💻 Operating System and Arch
Debian 11
🌐 Browser
Version 96.0.4664.110 (Build officiel) (64 bits)
🐋 Docker Version
Docker version 20.10.12, build e91ed57
🟩 NodeJS Version
docker image

would like to see this option

adding a +1 on that. I think as a first implementation, having an API Endpoint to get a backup would suffice being able to save that configuration

Also would like to see this. Maybe a menu where you can generate and remove API tokens so only valid tokens can get the data. Then you could execute something like a curl command for something like automatic backups
curl -X POST https://status.domain
   -H 'Content-Type: application/json'
   -d '{"login":"my_login","key":"api_key"}'

This issue is still relevant in my opinion...

No i want this feature

+1 for /remove-stale having being able to have automatic backup would be a game changer

I wait this feature with the API

Also think this is an important feature.

After more than a year came back to see if automated / scripted config import is available, sadly not it seems? 😢
Am I currectly understanding that its not possible to load a config backup at startup (preferably docker container)?
Would not need a fully fledged rest api with tokens and whatnot, a file mounted to the container would suffice for us.
This keeps us from using uptime-kuma since it has to be deployable as easy as possible, from a git version-controlled committed default configuration (complete monitoring stack prometheus, grafana, loki, ........).
Having users at the customer site manually import some config is tedious and error prone.
Has anybody hacked something together to support this?

All the application data is currently stored in an SQLite file, which can be mounted as docker volume as per setup instructions. If you have no security requirements you can just setup once then copy the database on deployment.

I was able to extract a compressed data folder from the uptime-kuma local repo using scp Secure Copy Protocol.
First cd into the uptime-kima directory.
Then compress the data folder using:
tar -zcvf ~/backups/kuma-data.tar.gz data/

This will compress everything in the data folder and save as kuma-data.tar.gz in ~/backup/
If you want to copy it onto a remote machine use the scp command from the remote machine.
Make sure that the uptime-kuma host machine have SSH enabled:
scp pi@raspberrypi.local:~/backups/kuma-data.tar.gz ~/tools/backups

Replace pi with the user and raspberrypi.local with the IP of the host machine respectively.

See https://github.com/louislam/uptime-kuma/issues/4872#issuecomment-2182798632


File Size Over 30mb is crashing app

Support plan

which support plan is this issue covered by? (e.g. Community, Sponsor, or
Enterprise): community
is this issue currently blocking your project? (yes/no):no
is this issue affecting a production system? (yes/no):yes

Context

node version: v10.17.0
module (formidable) version:1.2.2 and 1.2.1
environment (e.g. node, browser, native, OS):browser
used with (i.e. popular names of modules):foalts, react
any other relevant information:

What are you trying to achieve or the steps to reproduce?
Hi, Just trying to upload a file. Someone noticed an issue when they tried to upload a 65mb file but I am noticing that when I go over 30mb I get errors in the console of VS code. Please see the stack trace from the error. I was on version 1.2.1 but its not working on 1.2.2 either. If you need anymore info, I will be happy to provide it. Thank you :)

What was the result you got?
<--- Last few GCs --->

[15084:000001BC6302C4B0]   287751 ms: Mark-sweep 1053.9 (1070.7) -> 1053.9 (1067.2) MB, 718.5 / 0.0 ms  (average mu
= 0.602, current mu = 0.000) last resort GC in old space requested
[15084:000001BC6302C4B0]   288447 ms: Mark-sweep 1053.9 (1067.2) -> 1053.9 (1067.2) MB, 696.1 / 0.0 ms  (average mu
= 0.413, current mu = 0.000) last resort GC in old space requested

<--- JS stacktrace --->

==== JS stack trace =========================================

    0: ExitFrame [pc: 000003DE8C2DC5C1]
    1: StubFrame [pc: 000003DE8C95C882]
Security context: 0x032fc8b1e6e9 <JSObject>
    2: DoJoin(aka DoJoin) [0000032FC8B05E91] [native array.js:1] [bytecode=00000333C45FB9D1 offset=182](this=0x02f50b7826f1 <undefined>,l=0x01df193c2dc1 <JSArray[60171968]>,m=60171968,A=0x02f50b7828c9 <true>,w=0x02f50b7829f1 <String[0]: >,v=0x02f50b7829a1 <false>)
    3: Join(aka Join) [0000032FC8B05EE1] [native arra...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: 00007FF6E0D47DDA v8::internal::GCIdleTimeHandler::GCIdleTimeHandler+4506
 2: 00007FF6E0D22876 node::MakeCallback+4534
 3: 00007FF6E0D231F0 node_module_register+2032
 4: 00007FF6E103B6BE v8::internal::FatalProcessOutOfMemory+846
 5: 00007FF6E103B5EF v8::internal::FatalProcessOutOfMemory+639
 6: 00007FF6E1221DE4 v8::internal::Heap::MaxHeapGrowingFactor+9620
 7: 00007FF6E12202AB v8::internal::Heap::MaxHeapGrowingFactor+2651
 8: 00007FF6E134A2B8 v8::internal::Factory::AllocateRawArray+56
 9: 00007FF6E134AC32 v8::internal::Factory::NewFixedArrayWithFiller+66
10: 00007FF6E10C82DF v8::internal::HashTable<v8::internal::NumberDictionary,v8::internal::NumberDictionaryShape>::NewInternal+63
11: 00007FF6E10C8252 v8::internal::HashTable<v8::internal::NumberDictionary,v8::internal::NumberDictionaryShape>::EnsureCapacity+226
12: 00007FF6E10C8811 v8::internal::Dictionary<v8::internal::NumberDictionary,v8::internal::NumberDictionaryShape>::Add+129
13: 00007FF6E13652D7 v8::internal::Factory::NewCallHandlerInfo+49095
14: 00007FF6E10BCF88 v8::internal::SharedFunctionInfo::SetScript+23528
15: 00007FF6E109FF33 v8::internal::JSReceiver::class_name+20595
16: 00007FF6E133B539 v8::internal::wasm::WasmCodeManager::LookupCode+15273
17: 00007FF6E1248BFC std::vector<v8::internal::compiler::MoveOperands * __ptr64,v8::internal::ZoneAllocator<v8::internal::compiler::MoveOperands * __ptr64> >::_Umove+57468
18: 000003DE8C2DC5C1

What result did you expect?
File uploaded I was hoping for. :)

Sorry about that. Stack traces doesn't help me much. :disappointed:

Someone noticed an issue when they tried to upload a 65mb file but I am noticing that when I go over 30mb I get errors in the console of VS code.

Is it failing randomly only some times or it's constantly?
Also, could you please try the v2 canary. I'm seeing it's on a production system, but it worth trying. The v1 has a ton of problems and there were such issues posted in the past too.

Thanks for the quick reply. Ye stack traces aren't great at all!
It's consistent when its comes to files over 30mb. I zipped up one file that was over 30mb and that brought it down to 27mb and it worked fine then.
I have a test environment, so I can try out the v2 canary and let you know how I get on. I have been testing pdfs so far.

when its comes to files over 30mb. I zipped up one file that was over 30mb and that brought it down to 27mb and it worked fine then.

Good catch it's around the 30mb mark, haha.
Strange. Sounds like some system limit? Probably the firewalls, the network configurations? :thinking: Does testing is on the same env as prod?

so I can try out the v2 canary and let you know how I get on.

Okay, great. :)

Same story with  v2 canary unfortunately.

Sounds like some system limit? Probably the firewalls, the network  configurations?

This was my initial thought but I couldn't find any setting relating to this. Will have to look more into that area I think!

I just tried uploading 10 GB of files and it works fine. Can you reproduce the issue using node native http module ? If not, it means the issue is inside foalTS.

I dont think its a issue with Formidable. In our code there is a section  that encrypts the code and I think its running out of memory with large files:
export const encryptFile: (
  fsPath: string,
  encryptionKey: string,
) => Promise<void> = async (fsPath, encryptionKey) => {
  if (!encryptionKey) throw new Error('Customer encryption key not found');

  const fileData = await readFile(fsPath);
  const dataBase64 = fileData.toString('base64');
  const encryptedFile = CryptoJS.AES.encrypt(dataBase64, encryptionKey);
  const buffer = Buffer.from(encryptedFile.toString(), 'base64');
  writeFileSync(fsPath, buffer);
};

I was trying to achieve the same with streams but no joy yet.

Use streams to encrypt files without memory overflow.
Closing as it is not an issue in Formidable


Add tick formatter plot options

Adds plot options to control the axis formatting directly rather than using the Dimension.value_format which only accepts formatter functions. These accept:

Format strings like '%d', '%.3f' etc.
Python functions which are compiled to JS with flexx (or converted to a FuncFormatter in mpl)
TickFormatter instances (or matplotlib.ticker.Formatter instances for mpl)

[x] Add unit tests
[x] Add documentation (to styling plots notebook)

@jlstevens Ready to review and merge once tests are passing.

Looks good!
I feel that maybe we should have used bokeh's PrintfTickFormatter earlier but better late than never! I'll merge once the push build is green.

I feel that maybe we should have used bokeh's PrintfTickFormatter earlier but better late than never!

Definitely, I've never been able to give a good answer to questions about tick formatting.

Hmm, one thing...shouldn't matplotlib match the plot options here?

Hmm, one thing...shouldn't matplotlib match the plot options here?

Aren't they?


API: disengages all motors when reading from pipette

overview
This will require a hardware fix, but on Moon-Moon the pipettes are able to be consistently read after fully disengaging the motors. This is a hardware error that should be addressed asap.

We're you able to test if this also fixed the problem with home_pipette?


Allow for future nwctxt versions

This change allows the converter to at least attempt conversion with future version of nwctxt.
The nwcut.* files are used to generate a jar file, which can be used directly in the NWC User Tool mechanism.
Signed-off-by: Noteworthy Software, Inc<EMAIL_ADDRESS>

About nwcut files, you use another build system or it should be used in the ant build.xml ?

I used the nwcut.jardesc to Create JAR in Eclipse. I will look into the Ant build.xml.

I added package.nwc.usertool to the Ant build.xml, and deleted the jardesc file.


Recording metrics for action result response statusCode in user-events service.

This PR is the implementation of #4718, recording action's statusCode in Activation event, if it is set by the developer in action response.
Description
Currently, we can capture the error based on Application, Developer and System, with this change, the developer/operator can get visibility of actual status code sent in action response, i.e. 4XX, 5XX, etc by action.
Action statusCode will be added in "Activation" event as actionStatusCode and consumed by user-event service.
Note - For now statusCode present only if statusCode field is set by action developer.
"result": {
            "error": {
                "body": "Authentication credentials are invalid.",
                "statusCode": 401
            }
        }

With this change Activation eventwill look like this -
{
   "body": {
      "actionStatusCode": 404,
      "conductor": false,
      "duration": 46,
      "initTime": 34,
      "kind": "nodejs:10",
      "memory": 256,
      "name": "guest/helloWorld3",
      "size": 53,
      "statusCode": 1,
      "waitTime": 9
   },
   "eventType": "Activation",
   "namespace": "guest",
   "source": "invoker0",
   "subject": "guest",
   "timestamp":<PHONE_NUMBER>958,
   "userId": "23bc46b1-71f6-4ed5-8c54-816aa4f8c502"
}

Note - actionStatusCode only present when -

Activation response has error field with statusCode set
or Activation has statusCode set by developer.

Sample Dashboard (added "Action Error Status Code" Panel) -

TODO

[ ] Add panel to default dashboards.

Related issue and scope

[x]  I opened an issue to propose and discuss this change (#4718 )

My changes affect the following components

[ ] API
[ ] Controller
[ ] Message Bus (e.g., Kafka)
[ ] Loadbalancer
[ ] Invoker
[ ] Intrinsic actions (e.g., sequences, conductors)
[x]  User events
[ ] Data stores (e.g., CouchDB)
[ ] Tests
[ ] Deployment
[ ] CLI
[ ] General tooling
[ ] Documentation

Types of changes

[ ] Bug fix (generally a non-breaking change which closes an issue).
[ ] Enhancement or new feature (adds new functionality).
[ ] Breaking change (a bug fix or enhancement which changes existing behavior).

Checklist:

[x] I signed an Apache CLA.
[ ] I reviewed the style guides and followed the recommendations (Travis CI will check :).
[x] I added tests to cover my changes.
[ ] My changes require further changes to the documentation.
[ ] I updated the documentation where necessary.

Codecov Report

Merging #4726 into master will decrease coverage by 6.61%.
The diff coverage is 87.5%.

@@            Coverage Diff             @@
##           master    #4726      +/-   ##
==========================================
- Coverage   84.99%   78.38%   -6.62%
==========================================
  Files         198      198
  Lines        8845     8867      +22
  Branches      615      617       +2
==========================================
- Hits         7518     6950     -568
- Misses       1327     1917     +590

Impacted Files
Coverage Δ

...penwhisk/core/monitoring/metrics/MetricNames.scala
100% <100%> (ø)
:arrow_up:

...nwhisk/core/monitoring/metrics/KamonRecorder.scala
83.05% <75%> (-0.59%)
:arrow_down:

.../org/apache/openwhisk/core/connector/Message.scala
79.2% <88.88%> (+0.38%)
:arrow_up:

...k/core/monitoring/metrics/PrometheusRecorder.scala
82.11% <90%> (+0.69%)
:arrow_up:

...core/database/cosmosdb/RxObservableImplicits.scala
0% <0%> (-100%)
:arrow_down:

...enwhisk/connector/kafka/KamonMetricsReporter.scala
0% <0%> (-100%)
:arrow_down:

...e/database/cosmosdb/cache/ChangeFeedConsumer.scala
0% <0%> (-100%)
:arrow_down:

...ore/database/cosmosdb/cache/CacheInvalidator.scala
0% <0%> (-100%)
:arrow_down:

...core/database/cosmosdb/CosmosDBArtifactStore.scala
0% <0%> (-96.23%)
:arrow_down:

...sk/core/database/cosmosdb/CosmosDBViewMapper.scala
0% <0%> (-93.85%)
:arrow_down:

... and 14 more

Continue to review full report at Codecov.

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

Thanks @rabbah, @chetanmeh and @selfxp for the feedback. Based on your feedback, I modified below -

More defensive checks when parsing the result response.

if the result response contains an error field, check if it has statusCode defined by the user, as other fields are discarded if the error field is present in result response."result": {
       "error": {
           "body": "Authentication credentials are invalid.",
           "statusCode": 401
       }
   }

else check if statusCode is set by the user without the error field in the result response."result": {
           "body": "Authentication credentials are invalid.",
           "statusCode": 401
   }

statusCode value is being checked for valid integer (401) and string value ("401").
If there is any issue in getting the intValue (i.e. statusCode like "i401" or any string "xyz") return set userDefinedStatusCode as 400` bad request.
Using value.convertTo[BigInt].intValue() takes care of JSNumber and JSString type. I tried alternate approach like handling the status code for webaction https://github.com/apache/openwhisk/blob/master/core/controller/src/main/scala/org/apache/openwhisk/core/controller/WebActions.scala#L234, but for normal action use case it will miss a case where return statusCode is a valid integer (like "1") but not a http statusCode.

Changed actionStatusCode to userDefinedStatusCode as statusCode is not limited to http status codes. Please let me know if you have any better suggestions.
Other tests and doc changes per feedback.

Please let me know your feedback.

Changes lgtm. Sorry @neerajmangal for my delayed response. Can you resolve the conflict. Is there anything remaining on this PR?


Speed up github actions for PRs

This PR splits up the GitHub actions a bit so we can be more granular (and therefore faster) on CI in PRs.

Most PRs do not need to run across Windows/OSX - so by default, PRs will only run Ubuntu/Chromium test suites (test-pr-ubuntu.yml)
PRs touching create-remix or remix-dev are the most susceptible to Windows/OSX issues so when files in those packages are touched we also run the tests for Windows/OSX (test-pr-windows-macos.yml)
main/dev branches should still have the full suite run against them (test-full.yml)

Need to dig in and see why a bunch of expected things still say Waiting for a runner to pick up this job...

@brophdawg11 You probably also need to update the required workflows for PRs, ... in the repo settings

Looks like something about the npx playwright install --with-deps msedge isn't working right - it's then looking for a chrome.exe file when it runs.  Will dig into that tomorrow...

🥳 ok all are passing now, going to revert the comments that triggered the windows tests, then once merged I can update the required checks.  I guess technically the Windows/OSX checks can't be "required" anymore since they won't run on most PRs.  Required will be lint + build + unit test on ubuntu + remix-cla-bot

@brophdawg11 Required steps are now failing if docs-only PRs are made (see https://github.com/remix-run/remix/pull/7190)


Support ORDER BY within GROUP_CONCAT

This is used by the dolt workbench
Example query:
SELECT
    table_name, index_name, comment, non_unique, GROUP_CONCAT(column_name ORDER BY seq_in_index) AS COLUMNS
  FROM information_schema.statistics
  WHERE table_catalog='doltgres/main' AND table_schema='public' AND table_name='test' AND index_name!='PRIMARY'
  GROUP BY index_name;

Skipped test here

Related: https://github.com/dolthub/doltgresql/issues/793


Test data: categorical obs fields

@ordabayevy I may be wrong about this, but in trying to write a test for the scvi CLI using the test files
https://storage.googleapis.com/dsp-cellarium-cas-public/test-data/test_{0..1}.h5ad

I found that the categorical obs column adata.obs["dataset_id"] seems to have categories which are specific to the given shard.  By this I mean that if I download test_0.h5ad and test_1.h5ad and run
>>> import scanpy as sc

>>> adata0 = sc.read_h5ad('test_0.h5ad')
>>> adata1 = sc.read_h5ad('test_1.h5ad')

>>> len(adata0.obs['dataset_id'].cat.categories)
66
>>> len(adata1.obs['dataset_id'].cat.categories)
75

I see that the two shards do not contain the same categories.  This makes it impossible to run scvi, since we need the categories to match in every shard.  (We use cellarium.ml.utilities.data.categories_to_codes and it returns values of -1 sometimes, which is what caused me to investigate.)
Can these test data files be regenerated so that all categorical obs values contain every possible category (in .cat.categories) in each shard?

Great catch! I've updated the test anndata files. Can you check if it works now?

Woohoo, works now!  Thank you!


Powershell startup performance just slowed down by 10x?

Hi all, again. :-)
Sorry for the mail out of the blue.
We recently switched our beefy appliances (40 logical processors, NVMe, 128GiB RAM) from COSINE build 5B to 6B -- we are on a private branch, so the issue might be limited to us: RS5_RELEASE_SVC_ASDB_PROD1?
And now running the following command takes over two seconds just to launch an empty powershell:
PS C:\Users\Administrator> (measure-command { powershell.exe -command "&{12}" }).totalseconds
2.2435018
PS C:\Users\Administrator> (measure-command { powershell.exe -command "&{12}" }).totalseconds
2.2792461
PS C:\Users\Administrator> (measure-command { powershell.exe -command "&{12}" }).totalseconds
2.2730729
Older builds were 10x faster:
PS C:\Users\Administrator> (measure-command { powershell.exe -command "&{12}" }).totalseconds
0.1868931
PS C:\Users\Administrator> (measure-command { powershell.exe -command "&{12}" }).totalseconds
0.2052852
PS C:\Users\Administrator> (measure-command { powershell.exe -command "&{12}" }).totalseconds
0.1922806
Our current OS build is:
$Script:Rs5SvcBaseDevBinaryImageBranch = "RS5_RELEASE_SVC_ASDB_PROD1"
$Script:Rs5SvcBaseDevBinaryImageBuild = "17763.10153.200514-1750"
You can remote powershell into this system (e-mail richardt) and try it for yourself.
Would you have any suggestion how to track this?
I've taken precise xperf traces, but nothing has jumped out at me -- trace is here: "\redmond\wsscfs\Foundata\vpetter\logs\richardt\profile.cswitch2.etl"
The whole system is just idle, waiting.
If it is a clue, setting parent powershell affinity to one core makes the time almost double -- and still, the whole system is idle.
-- Rich

The repo is only for PowerShell Core developers. To report Windows PowerShell issues you should use other channels like Windows Feedback tool, MSFT forums, UserVoice site.


My Experience

I really wanted to make use of Cosmo, as it's conceptual basis was quite appealing. The issue standing is the actual application itself, I couldn't even get it running. After hours of debugging, here's my DIY fix it list for the bugs I encountered -

Fresh install won't write to ./core/app/autoload.php because it's not writable, had to chmod before installing.

Script won't query 'install.sql', had to manually import after my account and what not was written to the document.

"angular not found" -- After snooping, I realized the js minifier was broken, not returning anything on request. I didn't bother trying to solve this issue and called it quits.

As I stumbled upon Cosmo and also thought it looks very appealing, this doesn't sound good.
But thanks for your information on your experience!

Sorry about the delay in response @James-Dunn and I have been on vacation. Will be heading back to deal with any issues that have come up since then and to prep for v5 to be released in the coming week or so. A quick question, your install - were you trying to install in a sub-directory? If so v4 does not support sub-directory installs, it must be in the root folder for proper installation at this time. v5 will begin support for sub-directory installs.

I also tried to install it and nothing came up. Blank php page... so sorry that I'm not able to use it, seems promising.

I also tried to get Cosmo up and running but had issues with it displaying a blank page with some angular routing errors to /api/content/:content_id. Good concept though shame this version doesn't work.

Hi Guys,
Has anyone got it working? So far I have been able to access application if installed in root directory. I Umbrella icon is not seen consistently once you have logged in and when it appears you can't click on content > new page as that work flow is not appearing once you click on that umbrella icon.


InitWithValue without scheme

Hi!
In my project, I would initialize an RealmObject with a dictionary. This object has a primary key "identifier". When I use initWithValue with a dictionary (which does not contain identifier) in order to start fill the object, app crashes. Why? Because initWithValue validates each realmObject's property value.
I see initWithValue like an init method but with "default values". Given that addObject method validates primaryKey or optional property. Why verify the property in the initWithValue method?
It's possible to use a method taking a dictionary or array variable and fill the realmObject without validating?
Thanks.

I believe this is the intended behavior, as it mirrors how createWithValue: works.

Hum... it's seems inconsistent.
When I use createWithValue, I know I will save into realm.
But with initWithValue, I just want to initialize the object. So, rules checking like property type are ok but rules checking like mandatory properties => not now.

I personally don't find it inconsistent with init, since the promise there is that you will fill in all of the properties without default values. If you're not creating the object all in one go, just using init and manually setting properties is probably going to be the recommended approach.

I use initWithValue if I want manipulate object after that but If I can't because of the rules checking, as well use createWithValue directly. On my opinion, init is just initialization, nothing others.
But it's your choice and I accept it. It's just two different visions  :)

I agree that -[RLMObject initWithValue:] shouldn't validate that all required properties are set at that point, so I'm adding this as a feature request.

Wow that's really good news @jpsim :tada: Your comment just made my day!! :smiley:
Having a huge JSON dictionary with only 1 or 2 key missing, it would really be a PITA to affect the properties and relationships (recursively) one by one manually… just because of this.
And mutating the dictionary before calling initWithValue: (only workaround to far) is far from ideal either (string-typed + not this code's responsibility to know the JSON keys anyway)
I'm really looking forward for this change, would make much more sense to the API and our life much easier! :+1:

@jpsim If I'm understanding correctly, this issue is requesting that required properties not be checked on initialization. The properties only ought to be required once added to a Realm. Is this correct?

I imagine we should still validate the type at the very least since initWithValue avoids compile-time type checks.

@JadenGeller your understanding is correct.


CU-86a1hunvc - Refactor test_contract_interface.py to use BoaTestConstructor

Summary or solution description
Refactored test_contract_interface file to use boatestconstructor in place of TestRunner for unit testing.

Task linked: CU-86a1hunvc Refactor test_contract_interface.py to use BoaTestConstructor

coverage: 92.113%. remained the same
when pulling 381658f535b536562070ca7781e31fd1693bbcef on CU-86a1hunvc
into d5575f6ad28d6f36053c41ba05fbb023663d4b16 on development.


[5.4][5.5] whitCount() problem with ordering

Laravel Version: 5.5.2
PHP Version: 7.1.7
Database Driver & Version: 10.1.25 MariaDB

Description:
withCount() function doesn't work with relationship ordered
I know that it's useless to order a sub query just to obtain the count of some elements, but the problem happens when in the related element there are a GlobalScopes that a default order "orderBy"
Steps To Reproduce:
This is the relationship
class Designer extends Model
{
    public function images()
    {
        return $this->morphMany('App\Image', 'uploadable');
    }
}

What I Do
This is an example of the code that i exec for obtain a list of element with 'images_count'.
In the original versione I'm using a global scope for order the images.
return \App\Designer::withCount(['images' => function($query){
    $query->orderBy('position');
}])->get();

and this is the query that I obtain:
select `designers`.*, (select count(*) from `images` where `designers`.`id` = `images`.`uploadable_id` and `images`.`uploadable_type` = App\Designer order by `position` asc) as `images_count` from `designers` where `designers`.`deleted_at` is null order by `position` asc

If you see the App\Designer string, it's without quote and this is the cause of the error.
How it work without order
PHP code:
return \App\Designer::withCount('images')->get();

Sql result:
select `designers`.*, (select count(*) from `images` where `designers`.`id` = `images`.`uploadable_id` and `images`.`uploadable_type` = 'App\Designer') as `images_count` from `designers` where `designers`.`deleted_at` is null order by `position` asc

Without the ordering, the query builder add correctly the quote.

This isn't a bug. You can't order a query by a column from its  related table in Eloquent using eager loading (even without a count).


[Program]: Write a Rust program to convert time from 24-hour to 12-hour format

Description
Write a Rust program to convert time from 24-hour to 12-hour format
Input  : 12:05:45
Output : 12:05:45PM

How to contribute

Save the solution in program/program/convert-time-from-24-hour-to-12-hour-format/program/convert_time_from_24-hour_to_12-hour_format.rs file

!assign


lumpsum test steps - update SASS-5239

Description
Please include a brief summary of the change you've made and the issue that it fixes.
Add a link to the relevant story in Jira
SASS-5239
Checklist PR Reviewer
Before Reviewing

[ ]  Have you pulled the branch down?
[ ]  Have you assigned yourself to the PR?
[ ]  Have you moved the task to “in review” on JIRA?
[ ]  Have you checked to ensure all dependencies are up to date?
[ ] Have you checked to ensure its been rebased against the current version of main?

Whilst Reviewing

[ ]  Have you run the journey tests?
[ ]  Have you looked at the JIRA story to make sure all Acceptance Criteria has been met?

After Reviewing

[ ] Have you checked for merge conflicts or any changes in the current main that may affect the current pull request? i.e. does it need another rebase?
the current pull request?
[ ]  Have you checked to make sure there are no builds in the pipeline before you merge?
[ ]  Have you moved the task to “in pipeline” on Jira?

[ ]  Have you addressed warnings where appropriate?
[x]  Have you rebased against the current version of main?

Closed


First price auction

@bherd-rb This PR adds an example of a one-sided auction to the API.  Note that I have now created two new interfaces called AuctionLike and ReverseAuctionLike in order to separate the inserting and removing of ask orders from bid orders (i.e., we do not want users to be able to insert an ask order into a one-sided auction, we only want them to be able to insert/remove bid orders).

@bherd-rb Negligence on my part.  Good catch! The "diamond problem" is handled by the order in which traits are mixed in from right to left.  In this case, DoubleAuction would look for implementation of the clear method first in ReverseAuctionLike and then in AuctionLike.

@bherd-rb Assuming that all of the status checks pass, this is ready for merge.  Note that this PR fixes a substantial bug in my implementation of the FourHeapOrderBook...that bug now has a unit test!

@bherd-rb Let me know if you have questions about this PR, I would like to get it merged today if possible as it fixes a bug.

@bherd-rb Are you happy to merge this PR? It is good to go on my end...


Upgrade to styled-components v4

Styled-components recently released the beta of version 4. They deprecated injectGlobal in the process. This also requires updating React and React-DOM dependencies to a version >=16.3. https://www.styled-components.com/docs/faqs#what-do-i-need-to-do-to-migrate-to-v4

Hi @ReasonableDeveloper, thanks! I think I will prepare it and release Smooth UI v6 compatible with Emotion 10 & Styled Components v4.

I came across this too, I had to use:
import React, { Component, Fragment } from 'react';
import { createGlobalStyle } from 'styled-components';
import { globalStyle } from '@smooth-ui/core-sc';

const GlobalStyle = createGlobalStyle`
    ${globalStyle()}
`;

class App extends Component {

    render () {
        return (
            <Fragment>
                <GlobalStyle>
                <RestOfApp />
            </Fragment>
        );
    }

}

@smebberson answer doesn't seem to work for me, with a fresh react-app from create-react-app I get the following error:
<EMAIL_ADDRESS>Attempted import error: 'injectGlobal' is not exported from 'styled-components'.

package.json
  "dependencies": {
    "@smooth-ui/core-sc": "^5.1.3",
    "react": "^16.5.2",
    "react-dom": "^16.5.2",
    "react-scripts": "2.0.5",
    "styled-components": "^4.0.0"
  }```

@jordanoverbye, looks like you're trying to use injectGlobal rather than createGlobalStyle? Checkout number 4... https://www.styled-components.com/docs/faqs#what-do-i-need-to-do-to-migrate-to-v4


pod controller don't spawn.

when playing a multiplayer game the pod controller don't spwan. so all advanced duplication working with it like a drone or the drunk combine wont work. you can still spawn it manually but for the drunk combine exemple... it is hard to redefine all functions. and when you finally make it and save your work the pod controller dont spawn :/
it works fine in singleplayer tho.
(there is another problem with the drunk crow or the drunk raptor. when using them they turn invisible. this apeared since wiremod came back to steam after it got deleted. don't know if itis wiremod's fault tho.)

If you're still having camera controller problems feel free to open another issue, but the duplication seems to work fine.


[ft_stop_words_remover()] How to apply custom stopwords?

I do appreciate the new ft_stop_words_remover()! Just wondered if there is any way to build additional custom stopwords to use it together with ft_stop_words_remover().
This is how I normally do in R.
 STOP_TOTAL <- unique (c(tm::stopwords('en'), CUSTOM_STOP))
CORPUS_CLEAN <- CORPUS_ALL %>%  tm_map (removeWords, STOP_TOTAL)
I wonder if the similar tactic is available in sparklyr. Thank you in advance!

If you're using dev sparklyr you can pass a vector to stop_words, e.g.
sc <- spark_connect(master = "local")
df <- data.frame(words = "I like cats")
df_tbl <- sdf_copy_to(sc, df, overwrite = TRUE)
df_tbl %>%
  ft_tokenizer("words", "tokenized") %>%
  ft_stop_words_remover(input_col = "tokenized", output_col = "clean_words",
                        stop_words = c("i", "like")) %>%
  dplyr::glimpse()

You can also augment your stop words with ml_default_stop_words():
ml_default_stop_words(sc, "english") %>%
  head()

It works beautifully! Thank you for your help!


Update maxheap.cpp

Please star this repository to show your support, in the meantime I am reviewing your code.

Please star this repository to show your support, in the meantime I am reviewing your code.


Revert filtering unknown pods, as I believe that it is causing e2e flakes.

This passes e2e, and current e2e is flaking.  self merging.


Improve CI

Expected: null
Received: [Error: ENOENT: no such file or directory, open './public/main.js']


Add a Jenkins file.

Add a Jenkins file.

Let us also include the Unit test plugin as a follow-up

Let us also include the Unit test plugin as a follow-up

Unit test plugin

@mageshn We only skipped tests in other modules. MySQL Postgres and SQL Server connector modules are kept.

Unit test plugin

@mageshn We only skipped tests in other modules. MySQL Postgres and SQL Server connector modules are kept.

@Cyril-Engels My bad, I mean unit test coverage plugin.

@Cyril-Engels My bad, I mean unit test coverage plugin.


add a readme for the workbuilder and workapplier

Signed-off-by: Zhiwei Yin<EMAIL_ADDRESS>

/assign @qiujian16

/approve
/lgtm


Druid timezone problem

When start druid, I set timezone
java -Xmx256m -Duser.timezone=UTC+08:00 -Dfile.encoding=UTF-8 `cat conf-quickstart/druid/broker/jvm.config
or
java -Xmx256m -Duser.timezone=Asia/Shanghai -Dfile.encoding=UTF-8
on all nodes(broker,  coordinator, historical, middleManager, overlord)
Neither of these two method takes effect.
Druid time is still later 8 hours than linux system time.
How to set timezoen of druid?

In the file of linux
/etc/sysconfig/clock
ZONE="Asia/Shanghai"
Maybe, there is no relation with jvm timezone setting

Druid does support running on UTC only.

@JLLNANA http://druid.io/docs/latest/operations/recommendations.html

@b-slim system timezone is widely used yet though, see #4611

@leventov am not sure am getting your comments, currently as per https://github.com/druid-io/druid/issues/2619 we still highly recommend to run the JVM on UTC timezone otherwise bad things will happen, haven't looked at your PR yet but hope it fixes 2619

@b-slim
Think about this:
I want to aggregate the data into a one-day granularity at ingestion time. Obviously it is related to the timezone. The definition of one day is different at different timezone. In this situation, forcing user to use UTC makes things weird.
Best regards,
Ryan


unclear firewall requirements

Under 'Check Network availability' the second point says, 'Access to HTTP ports 80 and 443.'
Does that mean to any destination? if so, it should be stated! And if not the necessary destinations should be in linked document

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: a711c07e-10b3-baf0-b92c-9dbcf6ab9474
Version Independent ID: 2038cd48-44b1-1ed1-6e50-48290eef5605
Content: Prepare your Environment - Microsoft Teams
Content Source: Teams/rooms/rooms-prep.md
Service: msteams
Sub-service: itpro-rooms
GitHub Login: @tonysmit
Microsoft Alias: tonysmit

Hello @DrLippert Peter, I'm working on this

I'm working on this.

Fixed the article and submitted a PR to main. I changed the text to: Open ports HTTP (port 80) and HTTPS (port 443). To see the destinations when you are configuring the firewall rules, please see  the
Skype for Business Online and Microsoft Teams table in Microsoft 365 and Office 365 URLs and IP address ranges
for those destinations.


[WIP] enhancement(language): Add Bahasa (Indonesia's Language) support

This is a work in progress. Do not merge.
Just heads  up to Indonesians if you see this PR, you can contribute.
Will working gradually on  this.

@martabacc Do you still want to work on this?  It's been several years.... so if we don't back from you in a week or so, I'm going to close this, since there hasn't been any activity in 2.5 years.

Closing since it seems to have been abandoned.


Add vdmk option

Is your feature request related to a problem? Please describe
Add the VMDK option: https://github.com/osbuild/bootc-image-builder/pull/251 to webview + quickpick
Describe the solution you'd like
Added to webview and quickpick
Describe alternatives you've considered
No response
Additional context
No response

This came up yesterday in the context of https://issues.redhat.com/browse/HMS-3663.
@cdrage is this doable by 1.0?  I added it to the milestone for now.

This will be a very quick fix (just need to add the option on the webview + quickpicks).
It'll be done by 1.0 👍

Awesome, thank you, @cdrage !


Consider having a block height "expiration date" on transactions

This is dependent on the work that @psteckler is now doing

Slot number might be better?


added dir variables in the sh scripts to avoid pathing issues

I added directory variables in the startceo.sh and the startgeegateway.sh to avoid any path issues.

Add a return character at the end of files for github.


ImportError: cannot import name 'SchemaInferenceError' from 'datasets.arrow_writer' (/opt/conda/lib/python3.10/site-packages/datasets/arrow_writer.py)

Describe the bug
While importing from packages getting the error
Code:
import os import torch from datasets import load_dataset, Dataset from transformers import (     AutoModelForCausalLM,     AutoTokenizer,     BitsAndBytesConfig,     HfArgumentParser,     TrainingArguments,     pipeline,     logging ) from peft import LoraConfig, PeftModel from trl import SFTTrainer from huggingface_hub import login import pandas as pd
Error:
`---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
Cell In[5], line 14
4 from transformers import (
5     AutoModelForCausalLM,
6     AutoTokenizer,
(...)
11     logging
12 )
13 from peft import LoraConfig, PeftModel
---> 14 from trl import SFTTrainer
15 from huggingface_hub import login
16 import pandas as pd
File /opt/conda/lib/python3.10/site-packages/trl/init.py:21
8 from .import_utils import (
9     is_diffusers_available,
10     is_npu_available,
(...)
13     is_xpu_available,
14 )
15 from .models import (
16     AutoModelForCausalLMWithValueHead,
17     AutoModelForSeq2SeqLMWithValueHead,
18     PreTrainedModelWrapper,
19     create_reference_model,
20 )
---> 21 from .trainer import (
22     DataCollatorForCompletionOnlyLM,
23     DPOTrainer,
24     IterativeSFTTrainer,
25     PPOConfig,
26     PPOTrainer,
27     RewardConfig,
28     RewardTrainer,
29     SFTTrainer,
30 )
33 if is_diffusers_available():
34     from .models import (
35         DDPOPipelineOutput,
36         DDPOSchedulerOutput,
37         DDPOStableDiffusionPipeline,
38         DefaultDDPOStableDiffusionPipeline,
39     )
File /opt/conda/lib/python3.10/site-packages/trl/trainer/init.py:44
42 from .ppo_trainer import PPOTrainer
43 from .reward_trainer import RewardTrainer, compute_accuracy
---> 44 from .sft_trainer import SFTTrainer
45 from .training_configs import RewardConfig
File /opt/conda/lib/python3.10/site-packages/trl/trainer/sft_trainer.py:23
21 import torch.nn as nn
22 from datasets import Dataset
---> 23 from datasets.arrow_writer import SchemaInferenceError
24 from datasets.builder import DatasetGenerationError
25 from transformers import (
26     AutoModelForCausalLM,
27     AutoTokenizer,
(...)
33     TrainingArguments,
34 )
ImportError: cannot import name 'SchemaInferenceError' from 'datasets.arrow_writer' (/opt/conda/lib/python3.10/site-packages/datasets/arrow_writer.py
`
transformers version: 4.36.2
python version: 3.10.12
datasets version: 2.16.0
Steps to reproduce the bug

Install packages
!pip install -U datasets trl accelerate peft bitsandbytes transformers trl huggingface_hub

import packages
import os import torch from datasets import load_dataset, Dataset from transformers import (  AutoModelForCausalLM,  AutoTokenizer,  BitsAndBytesConfig,  HfArgumentParser,  TrainingArguments,  pipeline,  logging ) from peft import LoraConfig, PeftModel from trl import SFTTrainer from huggingface_hub import login import pandas as pd

Expected behavior
No error while importing
Environment info

datasets version: 2.16.0
Platform: Linux-5.15.133+-x86_64-with-glibc2.35
Python version: 3.10.12
huggingface_hub version: 0.20.1
PyArrow version: 11.0.0
Pandas version: 2.1.4
fsspec version: 2023.10.0

Hi ! Are you sure you have datasets 2.16 ? I just checked and on 2.16 I can run from datasets.arrow_writer import SchemaInferenceError without error

I have the same issue - using with datasets version 2.16.1. Also this is on a kaggle notebook - other people with the same issue also seem to be having it on kaggle?

I have the same issue now and didn't have this problem around 2 weeks ago.

Hi ! Are you sure you have datasets 2.16 ? I just checked and on 2.16 I can run from datasets.arrow_writer import SchemaInferenceError without error

Yes, I am sure
!pip show datasets
Name: datasets
Version: 2.16.1
Summary: HuggingFace community-driven open-source library of datasets
Home-page: https://github.com/huggingface/datasets
Author: HuggingFace Inc.
Author-email<EMAIL_ADDRESS>License: Apache 2.0
Location: /opt/conda/lib/python3.10/site-packages
Requires: aiohttp, dill, filelock, fsspec, huggingface-hub, multiprocess, numpy, packaging, pandas, pyarrow, pyarrow-hotfix, pyyaml, requests, tqdm, xxhash
Required-by: trl

I have the same issue - using with datasets version 2.16.1. Also this is on a kaggle notebook - other people with the same issue also seem to be having it on kaggle?

Don't know about other people. But I am having this issue whose solution I can't find anywhere. And this issue still persists.

I have the same issue now and didn't have this problem around 2 weeks ago.

Same here

I was having the same issue but the datasets version was 2.6.1, after I updated it to latest(2.16), error is gone while importing.

I was having the same issue but the datasets version was 2.6.1, after I updated it to latest(2.16), error is gone while importing.

I also have datasets version 2.16, but the error is still there.

Can you try re-installing datasets ?

Can you try re-installing datasets ?

I tried re-installing. Still getting the same error.

Can you try re-installing datasets ?

I tried re-installing. Still getting the same error.

In kaggle I used:

%pip install -U datasets
and then restarted runtime and then everything works fine.

Can you try re-installing datasets ?

I tried re-installing. Still getting the same error.

In kaggle I used:

%pip install -U datasets
and then restarted runtime and then everything works fine.

This isn't working for me.

Can you try re-installing datasets ?

I tried re-installing. Still getting the same error.

In kaggle I used:

%pip install -U datasets
and then restarted runtime and then everything works fine.

Yes, this is working. When I restart the runtime after installing packages, it's working perfectly. Thank you so much. But why do we need to restart runtime every time after installing packages?

https://stackoverflow.com/questions/57831187/need-to-restart-runtime-before-import-an-installed-package-in-colab

Can you try re-installing datasets ?

I tried re-installing. Still getting the same error.

In kaggle I used:

%pip install -U datasets
and then restarted runtime and then everything works fine.

Yes, this is working. When I restart the runtime after installing packages, it's working perfectly. Thank you so much. But why do we need to restart runtime every time after installing packages?
For some packages it is required.
https://stackoverflow.com/questions/57831187/need-to-restart-runtime-before-import-an-installed-package-in-colab

Thank you for your assistance. I dedicated the past 2-3 weeks to resolving this issue. Interestingly, it runs flawlessly in Colab without requiring a runtime restart. However, the problem persisted exclusively in Kaggle. I appreciate your help once again. Thank you.

Closing this issue as it is not related to the datasets library; rather, it's linked to platform-related issues.


Allow control of zfs-tests iteration count

Recent changes to zfs-tests allow multiple zfs-test iterations
to be executed. Make this accessible to developers in the
buildbot.
Signed-off-by: Giuseppe Di Natale<EMAIL_ADDRESS>

@behlendorf good point, refreshed.


Support for open and fixes for event triggers

@seanfuture thanks!

Thank you @magrinj ;)  Really appreciate the component - While I didn't have time to compose tests, I can say I'm using the events and new methods and they work well for the instances I'm using them for -Best, S

I'm not the real author of this component but thanks :)
The real repository is: https://github.com/dancormier/react-native-swipeout
You're on my fork ;)


Error when a unit is misspecified in the netcdf files attributes

I have a file of tracks in NetCDF format (from TRACK). In there, slp units are "hpa" (which is incorrect for pint/metpy.units). When running get_pressure_cat, I can specify slp_units, but it will in fact ignore it... I get an error saying the unit 'hpa' is incorrect. I can fix it by rewriting the unit attribute, but I think it's desirable to be able to override it as an argument.
It seems to have to do with the @preprocess_and_wrap, which I don't know how it works yet. Can you have a look at it @leosaffin ? Thanks!
>>> data = huracanpy.load("data/NATL.nc",)
>>> data.psl
<xarray.DataArray 'psl' (record: 24865)> Size: 199kB
array([1012.330017, 1015.466003, 1011.830994, ...,  993.535217,  996.716919,
        995.981079])
Dimensions without coordinates: record
Attributes:
    standard_name:  psl
    long_name:      air pressure at mean sea level
    units:          hpa

>>> huracanpy.utils.category.get_pressure_cat(data.psl, slp_units="hPa")
---------------------------------------------------------------------------
UndefinedUnitError                        Traceback (most recent call last)
Cell In[95], line 1
----> 1 huracanpy.utils.category.get_pressure_cat(data.psl, slp_units="hectoPascal")

[...]

UndefinedUnitError: 'hpa' is not defined in the unit registry

>>> data.psl.attrs["units"] = "hPa"
>>> huracanpy.utils.category.get_pressure_cat(data.psl,)
<xarray.DataArray (record: 24865)> Size: 199kB
<Quantity([-1. -1. -1. ...  0.  0.  0.], 'dimensionless')>
Dimensions without coordinates: record

This was intentional. The slp_units argument is only a backup the psl array doesn't already have units. preprocess_and_wrap calls metpy.quantify() which converts the input to a pint array with units from the array attributes. I think it's a good thing that it is flagging if the units are not valid rather than overwriting them, but we could flip it around so that it uses slp_units by default.


Missing external_* checks in some roles

Hey ,
I'm trying to use bluebanquise to deploy a cluster stack. I'm not interested in using external servers at all. So I just removed values from example in my inventory. The file (/etc/ansible/inventory/gorup_vars/general_settings/external.yml) is like this :
external_time:
  time_server:
    server: # List of possible time servers
    pool: # List of possible time pools
  time_client:
    server:
    pool:

external_dns:
  dns_server: # set as forwarders in named.conf
  dns_client: # set directly on client side in resolv.conf

# Hosts defined here will be automatically added into /etc/hosts and into DNS configuration
external_hosts:

Then I got the following error on several roles (at least hostsfile, dns_client, dns_server) :
AnsibleError: Unexpected templating type error occurred on (#### Blue Banquise file ####
): 'NoneType' object is not iterable

It feels like templates need to check if lists length is more than 0.
Mathis

Hello @gavillom ,
Many thanks for this issue.
I corrected it this evening, and now solved in https://github.com/oxedions/bluebanquise/commit/bfab905a0301439b52786f164b0414bd87843de2
You can pull to get latest fix.
I also updated a false atftp package name in pxe_stack.
With my best regards
Ben

Hi Ben,
Commented commit bfab905. I think fix is missing from some other roles.
Mathis

Fixed, now closing.
Thanks for the bug report ;-)
Ben


Put change firing event in async

Put the change firing event in async block to avoid an infinite loop
@dlasky Please CR

👍  -- waiting on tests run.


Add Catrecharc's file

created a branch, created a file and made a commit, and opened a pull request


Request for assistance with errorHandler()

Hi there, I'm playing with errorHandler and having some trouble figuring it out.
Consider the following code:
var connect = require('connect');
var app = connect()
//.use(connect.errorHandler())
.use(function(req, res) {
var x = JSON.stringify(req); // this line will crash
res.write('this is a test');
res.end(req.url);
})
.listen(8080);

When I run this, and visit the page, I get a text/plain stacktrace along with a 500 HTTP error code. So far so good.

BUT when I un-comment the `.use(connect.errorHandler())` I don't see any change in the behavior of the app ... still seeing text/plain stacktrace. Was expecting pretty HTML stacktrace or something?

What's more, if I swap two lines:
    	.use(function(req, res) {
    		res.write('this is a test');
    		var x = JSON.stringify(req); // this line will crash
    		res.end(req.url);
    	})

Now the app outputs nothing to the browser at all (but I still see the stack trace in the console.log).

I even threw a couple console.log statements into node_modules/connect/lib/middleware/errorHandler.js to see what's going on but it doesn't appear the code in that middleware ever executes.

I've tried The Google but not finding much in the way of documentation ... can anyone assist?

Thanks!

PS. Apologies for the code formatting ...  Thanks very much.