Error on libnotify

Error messages $ ulauncher -v --dev
ulauncher log
2022-07-16 13:48:11,681 | INFO | ulauncher.api.server.ExtensionRunner: _run_process() | Extension "com.github.friday.ulauncher-clipboard" started. PID 26512
  File "/home/system7/.local/share/ulauncher/extensions/com.github.friday.ulauncher-clipboard/main.py", line 3, in <module>
  File "/home/system7/.local/share/ulauncher/extensions/com.github.friday.ulauncher-clipboard/lib.py", line 5, in <module>
2022-07-16 13:48:11,736 | ERROR | ulauncher.api.server.ExtensionRunner: _run_process() | Extension "com.github.friday.ulauncher-clipboard" exited instantly with code 1
2022-07-16 13:48:11,737 | ERROR | ulauncher.api.server.ExtensionRunner: _run_process() | Extension "com.github.friday.ulauncher-clipboard" failed with an error: ValueError: Namespace Notify not available for version 0.7
PID 26750
  File "/home/system7/.local/share/ulauncher/extensions/com.github.friday.ulauncher-clipboard/main.py", line 3, in <module>
    from lib import logger, try_int, ensure_status, set_clipboard, show_message
  File "/home/system7/.local/share/ulauncher/extensions/com.github.friday.ulauncher-clipboard/lib.py", line 5, in <module>
    gi.require_versions({
  File "/usr/lib/python3.10/site-packages/gi/__init__.py", line 149, in require_versions
    require_version(module_name, module_version)
  File "/usr/lib/python3.10/site-packages/gi/__init__.py", line 129, in require_version
    raise ValueError('Namespace %s not available for version %s' %
ValueError: Namespace Notify not available for version 0.7

libnotify
$ pacman -Qi libnotify
Enter Password or Place finger on fingerprint reader: ***
Name            : libnotify
Version         : 0.8.0-1
Description     : Library for sending desktop notifications
Architecture    : x86_64
URL             : https://gitlab.gnome.org/GNOME/libnotify
Licenses        : LGPL
Groups          : None
Provides        : libnotify.so=4-64
Depends On      : gdk-pixbuf2  libglib-2.0.so=0-64  libgobject-2.0.so=0-64  libgio-2.0.so=0-64  libgdk_pixbuf-2.0.so=0-64
Optional Deps   : None
Required By     : avvie  discord  file-roller  geary  gnome-bluetooth-3.0  gnome-disk-utility  gnome-online-accounts  gnome-remote-desktop  gnome-settings-daemon  gnome-user-share  ibus  insomnia-bin
                  runjs-bin  solaar  system-config-printer  timeshift  ulauncher  vino  visual-studio-code-bin  webkit2gtk  webkit2gtk-4.1  zenity
Optional For    : balena-etcher  brave-bin  firefox  geoclue  vlc
Conflicts With  : None
Replaces        : None
Installed Size  : 321.34 KiB
Packager        : Jan Alexander Steffens (heftig<EMAIL_ADDRESS>Build Date      : Fri 15 Jul 2022 01:02:12 CEST
Install Date    : Fri 15 Jul 2022 10:44:09 CEST
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

Already fixed. Update the extension.

Omg, sry. I updated, it works! Thx!

It would be good, if the ulauncher had an auto-update feature... have a good weekend!

It would be good, if the ulauncher had an auto-update feature... have a good weekend!

I'm not sure this is the exact solution that would be the best (it could be). But I agree something similar is warranted :+1: I think it will be more manual like package managers.


Reduce code duplication in drivers, tests and test data

After enough drivers are implemented, refactor to reduce code duplication

Idea regarding tests: single tests set may be parametrized via parametrized fixture. Test queries may be preprocessed (#7) to cope with database syntax differences (e.g. pgsql %(foo)s may be replaced with sqlite :foo).

Idea regarding driver code: the code for psycopg2, mysql and sqlite really IS similar - the small difference is that mysql requires cursor argument (buffered=True) and sqlite3 cursors are not context managers. So we can use a single function for all three, and parametrize it with a function which creates and yields a cursor.


It's compatible with Instagram message platform?

hi, nice job!
have a question, can be used to automatize Instragram messaging?
best regards!

Hello @puppetm4st3r.
Thanks for the issue, currently it doesn't have the function directly, but the requests are very similar (but the configuration on the Meta platform for developers not so much). Anyway Pynani is an active project and will soon have integration with Instagram messages.


why the node is unconfigured after restarting.

After the installation, the node's configstate is configured:
hzn node list
{
  "id": "node1",
  "organization": "myorg",
  "pattern": "",
  "name": "node1",
  "nodeType": "device",
  "token_last_valid_time": "2020-11-30 16:25:02 +0800 CST",
  "token_valid": true,
  "ha": false,
  "configstate": {
    "state": "configured",
    "last_update_time": "2020-11-30 16:25:02 +0800 CST"
  },
  "configuration": {
    "exchange_api": "http://host.docker.internal:3090/v1/",
    "exchange_version": "2.56.0",
    "required_minimum_exchange_version": "2.44.0",
    "preferred_exchange_version": "2.44.0",
    "mms_api": "http://host.docker.internal:9443",
    "architecture": "amd64",
    "horizon_version": "2.27.0-173"
  }
}

However, I have stopped and started it, the state is unconfigured:
huleis-mbp:mgmt-hub root# ./deploy-mgmt-hub.sh -S
Unregistering this node, cancelling all agreements, stopping all workloads, and restarting Horizon...
Waiting for Horizon node unregister to complete: No Timeout specified ...
Waiting for Horizon node unregister to complete: No Timeout specified ...
Waiting for agent service to restart and checking the node configuration state...
Horizon node unregistered. You may now run 'hzn register ...' again, if desired.
Stopping the Horizon agent...
Unregistering the node, then stopping/removing the horizon container (this may take a minute)...
horizon1
horizon1
horizon1_var
horizon1_etc
Killing socat PIDs: 36507...
Stopping Horizon management hub services...

Pulling openhorizon/amd64_agbot:latest...
Pulling openhorizon/amd64_exchange-api:latest...
Pulling openhorizon/amd64_cloud-sync-service:latest...
Pulling postgres:latest...
Pulling mongo:latest...
Pulling openhorizon/sdo-owner-services:latest...

Starting socat to listen on port 2375 and forward it to the docker API socket...
testing: Pulling from openhorizon/amd64_anax
Digest: sha256:fd84578b134ff65b58288514056492254acff716842a48bf7edef658421863b0
Status: Image is up to date for openhorizon/amd64_anax:testing
docker.io/openhorizon/amd64_anax:testing
Starting the Horizon agent container openhorizon/amd64_anax:testing...
43be3b110277b3616e2f4eb2d92eca7156afabfe08186064b4f21503dc7236fc
Horizon agent started successfully. Now use 'hzn node list', 'hzn register ...', and 'hzn agreement list'
huleis-mbp:mgmt-hub root# hzn node list
{
  "id": "node1",
  "organization": null,
  "pattern": null,
  "name": null,
  "nodeType": null,
  "token_last_valid_time": "",
  "token_valid": null,
  "ha": null,
  "configstate": {
    "state": "unconfigured",
    "last_update_time": ""
  },
  "configuration": {
    "exchange_api": "http://host.docker.internal:3090/v1/",
    "exchange_version": "2.56.0",
    "required_minimum_exchange_version": "2.44.0",
    "preferred_exchange_version": "2.44.0",
    "mms_api": "http://host.docker.internal:9443",
    "architecture": "amd64",
    "horizon_version": "2.27.0-173"
  }
}

I am confuse to this, Could I know if it is OK.  or  Are there some missing in my side ? Thanks

@xauthulei I can see how this is a little confusing, but it is working as designed. Since ./deploy-mgmt-hub.sh -S shuts down the open-horizon management hub components, the edge node needs to be unregistered first (because it doesn't make sense to have a registered edge node when its management hub isn't running).
Then when you start the mgmt hub again using ./deploy-mgmt-hub.sh -s then only way we could register the edge node automatically is if we had saved all of the registration parameters in a file. But we don't know that's what the user wants to do. There can be a lot of reasons why the user will stop the mgmt hub and then start it again at a later time.
If you are satisfied with this response, please close this issue. Thx.

I am fine to this, Thanks @bmpotter


New toHaveStyle custom matcher

As discussed in #4, this library needs a .toHaveStyle custom matcher. It should receive an object of css properties and their values, and will pass if the element has all the css properties in that object with the expected values.
expect(element).toHaveStyle({
  backgroundColor: '#fff',
  height: '100%',
})

How?
This should be implemented to take advantage of window.getComputedStyle to obtain all the styles applied to an element. This includes styles acquired from css classes applied to it, as well as styles applied directly via the style="..." attribute.
Also, this probably would have to deal with supporting css properties specified in camelCase, and covert them to the "kebab-case" before comparing them to the actual styles. It'd be nice to do that without adding too many external dependencies if possible, or better yet, none at all.
Why?
Doing the equivalent check with vanilla DOM APIs would be a bit verbose. It's not just about checking the style=".." attribute, and decode information out of it (which by itself would be even more verbose), but it involves using the DOM api mentioned above. Also the fact that it'd enable users to check for multiple style properties at the same time makes it even more useful, and the alternative even more verbose.
For instance, the above example would be something like this:
expect(getComputedStyle(element).getPropertyValue('background-color')).toEqual('#fff')
expect(getComputedStyle(element).getPropertyValue('height')).toEqual('100%')

I think it'd be super if it could also accept a string of css:
expect(element).toHaveStyle(`
  background-color: #fff;
  height: 100%;
`)

May need to use https://www.npmjs.com/package/css which I've used before and it's not terrible :)

Nice! I had not thought of that. I'd even say that between the two options I'd even settle for this supporting this one first. I know a lot of people are not thrilled about writing css as js objects, partly because of the camel case thing.

:tada: This issue has been resolved in version 1.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Bug: $ark restore create  creates successfully

Should ideally throw an error?

Thanks for the report, this is something I meant to file a long time ago & forgot. Would you be interested in submitting a PR to address this?

I also experienced this issue. I +1 on a quick fix


Fix how Gradle resolves Android plugin

Fixes https://github.com/flutter/flutter/issues/97729
When the tool migrated to .flutter-plugins-dependencies, the Gradle plugin was never changed.
Until now, the plugin had the heuristic that a plugin with a android/build.gradle file supported the Android platform.

Reverted in #98050


Using curl to fetch lyrics

Is there a way to fetch lyrics with curl, something like
curl --get -F "title=<-" https://liyasthomas.github.io/ludacris/

it makes usage much simple..

Hi there, I make use of https://lyrics.ovh API to fetch lyrics.
Kindly refer to their API Doc for other supported methods.
EDIT: I afraid there's no option to fetch lyrics on a cURL with this API.


Upgrade grpc, net, go-systemd and godbus pkgs to latest version

Related to: https://github.com/giantswarm/giantswarm/issues/512

This branch is currently running in our test cluster in leaseweb without any issue at this moment.

ping @htr

Of course, we'll omit the dependencies in the PR but we'll keep the Godeps.json with the selected versions

@zeisss @htr we upgraded go-systemd and godbus in this branch :)

lgtm

This PR is obsolete. We'll use another with updated dependencies. Moreover, it would be possible to use glide to manage the deps in the next days so ...


A problem about 'set image for UIButton'

Use this method to set the image for UIButton
- (void)sd_setImageWithURL:(nullable NSURL *)url forState:(UIControlState)state placeholderImage:(nullable UIImage *)placeholder;

When the url is nil, The placeholderImage can not be displayed correctly!
If the UIButton in UITableViewCell,there will be a reusable problem!
...
I remember that was not the case before

@gaowanli can you please conform to the ISSUE_TEMPLATE on this project?

@bpoplauschi Fact: People just gonna keep ignoring ISSUE_TEMPLATE until Github enforces it. I'm telling you how I found out though. That's a secret. 😉

closing this. please reopen with all the necessary info filled in. thanks


Improve UrlManager::createUrl() cache

Similar bug to #9091 - if rule is skipped because of param value does not match pattern, it is also ignored in all further URL creations.
Fixes #11288
Fixes #14094
Replaces #14104

BTW: In 2.1 we could add getCreateUrlStatus() to UrlRuleInterface and force to return bool - this will simplify some conditions.

Done.

@rob006 is it possible to address https://codeclimate.com/github/yiisoft/yii2/pull/13350 ?

@samdark https://github.com/yiisoft/yii2/pull/13350/commits/fa9760cd465a4a6e2e0c7b6af1c8fc060d19838e ?

Done.

Done.

Seems everything's fine. Merge?

Merged. Thank you very much!


Support for adding and configuring all "plugins" in Meltano UI

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/3532
Originally created by @aaronsteers on 2022-05-25 22:44:12

Per https://gitlab.com/meltano/meltano/-/issues/3527#note_960415549
Without writing a ton of code, we should try to open up all plugin types to being added and configured via Meltano UI.

Option A: Consolidate Extractors and Loaders into Plugins.
Option B: Add one more Page for Utilities or Plugins or Other Plugins.
Option C: Add another page for each plugin type.

I think my personal preference is just to have a single "Plugins" page where plugins are added and configured (option A). But what we choose will depend on many factors including long-term product direction and relative effort of each approach after sizing/scoping.

View 3 previous comments from the original issue on GitLab

Closing as no longer relevant on account of the removal of the UI for Meltano 3.0


Bcbio docker images on quay.io

Is it still planned to release updated docker images (bcbio-vc and bcbio-rnaseq) on quay.io? The latest available images are for version 1.1.7 and were updated on the 11th of October 2019 (bcbio versions 1.1.8 and 1.1.9 are missing): https://quay.io/repository/bcbio/bcbio-vc?tab=tags.

Another release came out in the mean time. https://github.com/bcbio/bcbio-nextgen/commit/9289bdf1a48adab55b8ce51058d4bdc7f5d81f97
Is it safe to assume that bcbio Docker images are a thing of the past?

No, we definitely still want to do them. The conda solving times is breaking the builds is the problem.

Hi @roryk,
Do you think changing conda for mamba might be a solution?
Or perhaps just skip the solving altogether and feed conda the urls to the required packages ( + requirements)? It should be relatively easy to do a 'local' install with the dependency resolvement, from which we'd be able to pull a comprehensive list of required packages. This would also help with pinning the software to exact versions.
For local install we could keep what we have, but for the docker builds we could work with the generated pkg list.
Cheers
M

I tried switching the few conda calls here to mamba but it didn't help any, let me mess around a little bit more and see if I can come up with a way to get this going faster. Your idea is a good one.

Hi @amizeranschi,
I've managed to fix the docker image building, so we should be all good for new releases going forward. Thanks!

Hi @roryk
Great job and thanks a lot for looking into it!


Support for devices 096e:0854 and 1ea8:fc25

Hi,
I have two FIDO2 keys, both from Token2 (https://token2.swiss) but based on Feitian (096e:0854) and Excelsecu (1ea8:fc25).
They work nicely with ecdsa-sk ssh keys under regular Linux, but I'd like to use them with ChromeOS. Is it as simple as adding those identifiers to the manifest and to other config files, or maybe some additional testing will be needed?

Hello, the devices aren't present in the upstream CCID driver's matrix (https://ccid.apdu.fr/ccid/section.html), so I can't say if they are supported or not.
The CCID project describes how to report new devices to be added into the config: https://ccid.apdu.fr/#CCID_compliant. Would it be possible for you to follow these steps? Thanks.

Hm.. if this software supports only CCID devices, then the both devices mentioned above are pure FIDO2/U2F devices, using the HID class, so probably not something supported by the software. I'll close it then.

I see, yes, I should've started from checking that. Correct - Smart Card Connector only works with CCID devices at the moment.
As for FIDO2/U2F tokens you mentioned - I would recommend you filing a bug to Chromium bug tracker (crbug.com).

Yup, thanks for the pointer - I think they're discussing it in the context of Crostini VMs, and I'm more interested in the Chrome OS Secure Shell extension. The Yubikey's CCID interface works well with the connector BTW (both in the Chrome OS Secure Shell and in Crostini - here natively, as a USB passthrogh).
PS: Given that the FIDO2 application tokens usage is probably growing, b/c more and more tokens support fido2 now, maybe that's something you'd consider supporting in this app as an additional protocol? Unfortunately the Chrome OS Secure Shell applet doesn't support FIDO2.

Yup, thanks for the pointer - I think they're discussing it in the context of Crostini VMs, and I'm more interested in the Chrome OS Secure Shell extension. The Yubikey's CCID interface works well with the connector BTW (both in the Chrome OS Secure Shell and in Crostini - here natively, as a USB passthrogh).
PS: Given that the FIDO2 application tokens usage is probably growing, b/c more and more tokens support fido2 now (though w/o CCID), maybe that's something you'd consider supporting in this app as an additional protocol? Unfortunately the Chrome OS Secure Shell applet doesn't support FIDO2.

Should it be a feature request for the Secure Shell app? I'm not sure the Smart Card Connector should be the right component, given that IIUC Chrome provides native FIDO2 support for websites.


[BEAM-10829] pass kafka header to producer.send

The header from producer record should be passed on, instead of vomiting it.
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @aromanenko-dev).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

@omkardeshpande8 Thank you for contribution. It would be great to update KafkaIO unit tests as well to make sure that headers were properly written. Please, take a look on testSinkToMultipleTopics and testSinkProducerRecordsWithCustomTS tests.


Specify Click version to pickup new autocompletion

This PR needs to be against the develop branch in client-python for the CI to work. We'd then backport it to master. That is, this is now the same process as for the server.

Huh, mildly surprised CI passed but sure.


Refactor weaviate.classes structure

title

we are moving .query out of the .config but leaving .data inside?

I'll make this the last split, but I won't do the same for the .tenants namespace


add Move Object node

This PR implements a 'Move Object' node.
The move node simply copies an S3 object from one location to another, and then removing the original object from the old location.

Thanks @KIKOmanasijev
Some questions, does this move an object:

between S3 instances with different credentials?
between different S3 buckets?
between different S3 folders/paths?

Thanks @KIKOmanasijev, in addition to @trajche's questions I took a look at the code and I have some suggestions for the code base, which will be left in the review

Thanks @KIKOmanasijev
Some questions, does this move an object:

between S3 instances with different credentials?
between different S3 buckets?
between different S3 folders/paths?

And secondly:

does this do two operations, copy + delete?

between S3 instances with different credentials?

Nope, this node is intended to be used for moving objects between different locations in a single S3 instance.

between different S3 buckets?

Yes, you can move objects from one bucket to another.

between different S3 folders/paths

Yes, you can move objects between different folders/paths - in same bucket or different buckets.

@rristov60 I've resolved most of the issues/suggestions. Can you take another look at the new commits?


mons.yml.sample crush warning unclear

Bug Report
What happened:
mons.yml.sample says
# Caution: this will create crush roots and racks according to hostvars {{ osd_crush_location }}
# and will move hosts into them which might lead to significant data movement in the cluster!
#
# In order for the playbook to create CRUSH hierarchy, you have to setup your Ansible inventory file like so:
#
# [osds]
# ceph-osd-01 osd_crush_location="{ 'root': 'mon-roottt', 'rack': 'mon-rackkkk', 'pod': 'monpod', 'host': 'ceph-osd-01' }"
#
# Note that 'host' is mandatory and that you need to submit at least two bucket type (including the host)
#create_crush_tree: false

This implies, but does not state, that if create_crush_tree is not set and osds don't include the specific variable overrides in the inventory file, no crush hierarchy will be created.  Is that really true?  If so, the required variables need to be mentioned when describing the inventory file above; if not, this section needs to be clarified about when such inventory file settings are necessary.
What you expected to happen:
Clear docs

Thanks for reporting this.
I don't think this implies that no CRUSH hierarchy will be created, you won't get a customized CRUSH, instead, you will have what comes with Ceph by default. Basically: root > host > osd.
We can clarify all of that.


build: update bazel version

Matching upstream Envoy's current version.
Signed-off-by: Michael Rebello<EMAIL_ADDRESS>

in the failed CI job it looks like bazelisk is ignoring your requested version, which isn't good

Seems to be working correctly now:
Bazelisk version: development
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
Build label: 3.6.0
Build target: bazel-out/darwin-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Tue Oct 6 13:16:23 2020<PHONE_NUMBER>)
Build timestamp:<PHONE_NUMBER>
Build timestamp as int:<PHONE_NUMBER>


Unable to create new "react-native init myAwesomeProject"

This is the first time I setup react-native. I'm trying to create new react-native project. Nodejs, Python, JDK, Android SDK and react-native cli all are correctly installed on my Windows Server 2012 64-bit.
node -v : v6.11.0
npm -v : 5.1.0
yarn --version : 0.27.5
react-native -v : 2.0.1
When I create my first react-native project from Command Prompt run as Administrator.
react-native init albums
About a miniute late the following error occur.

Arguments:
C:\Program Files (x86)\nodejs\node.exe C:\Users\Administrator\AppData\Roaming\npm\node_modules\yarn\bin\yarn.js add react-native --exact
PATH:
C:\Python27;C:\Python27\Scripts;C:\Program Files\PHP\v5.3;
C:\ProgramData\Oracle\Java\javapath;
C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;
C:\Windows\system32;
C:\Windows;
C:\Windows\System32\Wbem;
C:\Windows\System32\WindowsPowerShell\v1.0;
C:\Program Files\Microsoft SQL Server\110\DTS\Binn;
C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio;
C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn;C:\Program Files\Microsoft SQL Server\110\Tools\Binn;
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn;
C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;
C:\Windows\system32\config\systemprofile.dnx\bin;
C:\Program Files\Microsoft DNX\Dnvm;
C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit;
C:\Program Files\Microsoft SQL Server\130\Tools\Binn;
C:\Program Files\Microsoft\Web Platform Installer;
C:\android_sdk\platform-tools;
C:\android_sd;C:\ProgramData\chocolatey\bin;
C:\Program Files (x86)\nodejs;
C:\Users\Administrator\AppData\Local\atom\bin;
C:\android_sdk\platform-tools;
C:\android_sdk\tools;
C:\Python27;
C:\Python27\Scripts;
C:\Users\Administrator\AppData\Roaming\npm
Yarn version:
0.27.5
Node version:
6.11.0
Platform:
win32 ia32
npm manifest:
{"name":"albums","version":"0.0.1","private":true,"scripts":{"start":"node node_modules/react-native/local-cli/cli.js start"}}
yarn manifest:
No manifest
Lockfile:
No lockfile
Trace:
Error: 0:error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac:openssl\ssl\s3_pkt.c:535:
  at Error (native)

P.S : I aready tried with node.js 64-bit and 32-bit. Both are same error.

Same. Re-installed everything (Including node), but still this error.

What react native version are you using? Seems like #14866 (which is newer, admittedly) may already cover the issue where new projects in 0.46 fail to run.

react-native -v : 2.0.1
I'm not reach that stage that you mention. #14866
My error occur after execute the following command
react-native init albums

Thanks. @hramos
My current npm version is 5.1.0.
Problem solved by changing npm version to 4.0
npm install -g npm@latest-4


Fix Operator nightly

Closes #23

Updated PR here:
https://github.com/keycloak-rel/keycloak-rel/pull/26

The latest changes built a new operator image, but failed to update the nightly branch of the kubernetes-k8s-resources repository: https://github.com/keycloak/keycloak-k8s-resources/tree/nightly/kubernetes
The resources there are still a month old. As they don't contain the latest changes when the operator changed from "deployment" to "statefulset", the current nightly operator image can't be installed with the resources provided in that repository branch.
Even though the latest action is now green, the changes didn't end up there: https://github.com/keycloak-rel/keycloak-rel/actions/runs/2718813993


Material theme send button is the microphone icon

No content

Issue created by BlueBubbles Bot in the BlueBubbles commnity on behalf of @Clamscrambler in #nightly-bugs.

Fixed my nightly


Backstage doesn't load in Safari (when using @backstage/integration-react)

Expected Behavior
I should be able to load a page in Safari.
Current Behavior
I get a white screen and a console log saying:
SyntaxError: Invalid regular expression: invalid group specifier name

Possible Solution
Possibly parsing git urls some other way? or somehow pin the normalize-url version, and live with the security vulnerability (see context below). neither option seem great.
Steps to Reproduce

Use @backstage/integration-react in app
Boot the app
Visit any page in Safari
💥

Context
There is a fair bit of context, it seems:

Safari doesn't support Lookbehinds in regex in Javascript
the bug is in this package and they claim it shouldn't be used in browsers, stating if you need it to work in browsers then you should use the previous version (v4.5.0)
This package gets used because: @backstage/integration-react > @backstage/integration > git-url-parse > git-up > parse-url ><EMAIL_ADDRESS>So even though the version of git-url-parse is pointing at the right one I think yarn is picking up the latest normalize-url?
At leat that is what yarn why normalize-url suggests Found<EMAIL_ADDRESS> info This module exists because "_project_#backend#@backstage#backend-common#git-url-parse#git-up#parse-url" depends on it.

However in newer versions, git-up uses a later version because of a security vulnerability, knowing it will break Safari
Someone more well versed in yarn versioning might be able to see through this sea of versions better than I.

Your Environment

NodeJS Version: v14.15.1
Operating System and Version (e.g. Ubuntu 14.04): macOS Big Sur 11.2
Browser Information: Version 14.0.3 (166<IP_ADDRESS>.4)

Thanks for reporting! This may be the same as #6039?

@timbonicus yes, I missed it, sorry about that, I'll close as a duplicate


[BUG] Network proxy declared as external, but could not be found.

When running fresh-start, I got:
....
✔ success Function 'local_update_docker_compose_file'
Building with native build. Learn about native build in Compose here: https://docs.docker.com/go/compose-native-build/
ERROR: Network proxy declared as external, but could not be found. Please create the network manually using `docker network create proxy` and try again.
 ✔ success Function 'docker_compose_start'
 ✘ ERROR   There was an error starting the service at '/home/docker/proxy/bin/../'
....

Screenshots

Server info (please complete the following information):

Linux release: Debian Buster
Server type: OMV
Docker version: 20.10.6
docker-compose version : 1.28.4

did you try to create the network by yourself and start the environment?

No I stopped here because it was to late yesterday. I mostly wanted to point out there is a glitch in the script.
I'll try over the weekend and let you know.

Ok,  I created the network in docker, deleted the whole directory tree and started over, and the container did start.

I followed the main README.md guidelines and got the same error. If the network must be created manually, shouldn't it be part of the quickstart documentation?


When trying to switch from one wifi network to another I have not been able to make the change over reliably.

Prerequisites

[x] I have written a descriptive issue title
[x] I have verified that I am using the latest version of esp32-wifi-manager
[x] I have searched open and closed issues to ensure it has not already been reported

Description
When trying to change the wifi details from one network to another problems occur. Many end in a crash with the wifi and password details being erased.
Steps to Reproduce
If you setup your phone to act as an access point and connect to the phone AP using the wifi manager you can switch off the phone AP and try to change wifi networks. The application also has a button which will stop the STA and restart the wifi manager AP.
System Configuration

xtensa-esp32-elf: Toolchain for Xtensa (ESP32) based on GCC

esp-2020r1-8.2.0 (recommended, installed)

xtensa-esp32s2-elf: Toolchain for Xtensa (ESP32-S2) based on GCC

esp-2020r1-8.2.0 (recommended, installed)

esp32ulp-elf: Toolchain for ESP32 ULP coprocessor

2.28.51-esp-20191205 (recommended, installed)

esp32s2ulp-elf: Toolchain for ESP32-S2 ULP coprocessor

2.28.51-esp-20191205 (recommended, installed)

cmake: CMake build system (optional)

3.16.4 (recommended, installed)

openocd-esp32: OpenOCD for ESP32

v0.10.0-esp32-20200420 (recommended, installed)

ninja: Ninja build system (optional)

1.10.0 (recommended, installed)

Environment (Operating system, version and so on):
Eclipse on ubuntu

Additional information:

I have corrected for the malloc issue:
wifi_event_sta_disconnected_t* wifi_event_sta_disconnected = (wifi_event_sta_disconnected_t*)malloc(sizeof(wifi_event_sta_disconnected_t));
I have also included the following in the WM_ORDER_START_WIFI_SCAN code as the error check was stalling the code.
/* if a scan is already in progress this message is simply ignored thanks to the WIFI_MANAGER_SCAN_BIT uxBit */
uxBits = xEventGroupGetBits(wifi_manager_event_group);
if(! (uxBits & WIFI_MANAGER_SCAN_BIT) ){
xEventGroupSetBits(wifi_manager_event_group, WIFI_MANAGER_SCAN_BIT);
//		ESP_ERROR_CHECK(esp_wifi_scan_start(&scan_config, false));
esp_err_t error = esp_wifi_scan_start(&scan_config, false);
if (error!=ESP_OK)
ESP_LOGI(TAG, "MESSAGE: WIFI SCAN FAILED WITH CODE %d",error);
}
}

Problem

When trying to switch from one wifi network to another I have not been able to make the change over reliably.
The application has a button which if you hold for 6 seconds the wifi configuration can be changed. This button executes the following....
wifi_manager_send_message(WM_ORDER_DISCONNECT_STA, NULL);
wifi_manager_send_message(WM_ORDER_START_AP, NULL);
Connecting to the ESP32 wifi manager AP I have had several different problems which often cause a crash. On some occasions the SSID and password are erased. Crash reports are listed below.
**** Following happened when stopped STA and started AP then entered new wifi details. Please note I have not removed the SSID and Password. The wifi manager has saved these as blank for no reason.
I (198409) wifi_manager: WIFI_EVENT_STA_DISCONNECTED
I (198409) wifi_manager: MESSAGE: EVENT_STA_DISCONNECTED with Reason code: 200
I (198409) wifi_manager: Set STA IP String to: <IP_ADDRESS>
I (198419) wifi_manager: About to save config to flash!!
I (198479) wifi_manager: wifi_manager_wrote wifi_sta_config: ssid:
I (198489) wifi_manager: wifi_manager_wrote wifi_sta_config: password:
I (198489) wifi_manager: MESSAGE: ORDER_START_AP
/home/melvin/Desktop/esp/esp-idf/components/freertos/tasks.c:3094 (xTaskRemoveFromEventList)- assert failed!
abort() was called at PC 0x4008ab4e on core 1
Setting breakpoint at 0x4008909e and returning...
**** following happened when reset ESP32 and tried to setup new wifi details
I (165919) dns_server: Replying to DNS request for go.trouter.skype.com from <IP_ADDRESS>
I (165919) dns_server: Replying to DNS request for go.trouter.skype.com from <IP_ADDRESS>
I (166109) GATEWAY_MAIN: Host lookup failed. Will Retry
W (167979) httpd: httpd_accept_conn: error in accept (23)
W (167979) httpd: httpd_server: error accepting new connection
W (167989) httpd: httpd_accept_conn: error in accept (23)
W (167989) httpd: httpd_server: error accepting new connection
W (167999) httpd: httpd_accept_conn: error in accept (23)
W (167999) httpd: httpd_server: error accepting new connection
I (170259) dns_server: Replying to DNS request for browser.pipe.aria.microsoft.com from <IP_ADDRESS>
I (171489) dns_server: Replying to DNS request for blackboxcontrols-my.sharepoint.com from <IP_ADDRESS>
I (176109) GATEWAY_MAIN: Host lookup failed. Will Retry
I (186109) GATEWAY_MAIN: Host lookup failed. Will Retry
I (188339) wifi_manager: WIFI_EVENT_AP_STACONNECTED
I (189309) dns_server: Replying to DNS request for content-notes-pa.googleapis.com from <IP_ADDRESS>
I (189309) dns_server: Replying to DNS request for clients4.google.com from <IP_ADDRESS>
I (189329) dns_server: Replying to DNS request for content-notes-pa.googleapis.com from <IP_ADDRESS>
I (189339) dns_server: Replying to DNS request for clients4.google.com from <IP_ADDRESS>
I (189349) http_server: POST /connect.json
I (189349) http_server: ssid: G5_2388, password: MyPassword
I (189349) wifi_manager: MESSAGE: ORDER_CONNECT_STA
I (189369) dns_server: Replying to DNS request for content-notes-pa.googleapis.com from <IP_ADDRESS>
I (189379) dns_server: Replying to DNS request for clients4.google.com from 10.1                                                             SP_ERROR_CHECK failed: esp_err_t 0xffffffff (ESP_FAIL) at 0x40087f54
file: "../components/esp32-wifi-manager/src/wifi_manager.c" line 1020
func: wifi_manager
expression: esp_wifi_scan_start(&scan_config, false)
abort() was called at PC 0x40087f57 on core 1
Setting breakpoint at 0x4008909e and returning...
Many Thanks,
MPC.

I am also have same issue and reported here https://github.com/tonyp7/esp32-wifi-manager/issues/118


Obsidian's non-standard YAML syntax of list is causing problem in digital-garden

I'm a fairly new user to obsidian, but I can tell the following syntax of list (only commas as separators, no brackets) is not standard YAML (IIRC only comma separated list in square brackets, or new lines starting with hyphen are correct syntax):
See official doc: https://help.obsidian.md/Editing+and+formatting/Tags
tags: list, abcd

Such syntax would work with Obsidian's own tag search (i.e. they are considered two tags), but it would cause problem because digital-garden just converting the frontMatter key-value pair into a YAML string.
The rendered outcome would be like:
{"dg-publish":true,"permalink":"/game-smuggler/outline/","title":"Outline","tags":["list, abcd"],"created":"2023-07-31T19:02","updated":"2023-07-31T22:00:50.634+08:00"}

So basically the tag is recognized as one instead of two.

Should we do something special, or keep it as is?

I'm running in to the same issue.
Frankly I find that writing tags with the proper yaml array syntax is slow and cumbersome for my workflow. I much prefer just listing my tags as a comma separated list.
tags: tag1, tag2, etc

I think it would be beneficial if this formatting would be recognized as well!

Would using the linter plugin to automatically save these as valid YAML make sense for you guys?


add INNER for join

Hello,
We miss the keyword INNER for the join condition.
Thanks!

@GammaSquare , I'll see what I can do. I spotted the same issue with the VSCode version

Hi @okeeffdp! Let me know if the PR will resolve this issue. Let me know other files need an update for VSCode. Cheers!

Thanks for the help with that. I have added you as a contributor.


Add documentation to setup and run the data filtering pipeline

There currently is no documented process for running the data filtering pipeline for Oscar.
We should document to make this reproducible and make contributions easier for newcomers.
Some ideas:

Add a docs/setup.md doc
Add a wiki
update the README with run instructions (dev setup + run examples)

Done here https://github.com/bigscience-workshop/data_tooling/blob/master/ac_dc/README.md


⚠ Fortnite has degraded performance

In 522297a, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1569 ms

Resolved: Fortnite performance has improved in 1346ff8.


New release from parse community version

New Pull Request Checklist

[ ] I am not disclosing a vulnerability.
[ ] I am creating this PR in reference to an issue.

Issue Description

Related issue: FILL_THIS_OUT
Approach

TODOs before merging

[ ] Add test cases
[ ] Add entry to changelog
[ ] Add changes to documentation (guides, repository pages, in-code descriptions)

@valerycolong This mail adapter has been designed specifically to allow adding any 3rd party API adapters like Sendgrid. This should not require any changes in the adapter code itself like you did in this PR. See the existing API adapters for how to add a Sendgrid adapter. The benefit of submitting a PR to our repository would be that you don't have to maintain a custom fork, which, given the vast changes in this PR, could become quite complex quite quickly.


fix (kelzFormatParser): TB id lookup and TB LCs

Pull Request
Description

LC search will prefer direct key matching for all trailblazer builds, the same behavior as searching for other characters. This will fix the issue of the same LC being used across all builds seen in the linked issue. The previous .startsWith() search is left in place as a fallback to prevent the current state from degrading further
Without appropriate breaks (in this case early returns) the current getTrailblazerId() implementation will always fall through to the final matching current path regardless of name. This results in duplicate builds as seen in the screenshot below

Related Issue
Closes #416
Checklist

[x] I have added commit messages that are descriptive and meaningful.
[x] I have tested the changes locally.
[x] I have reviewed the code changes.

Screenshots

Forgot to add an additional note - none of these changes will impact hsr-scanner users

My name is Silver Wolf and I'll be injecting some hack into your pull request code

Thanks for helping out with the fixes! Sending it to beta


invite others to submit a pull request to add a derived product (e.g., 3D model) to an existing specimen data package publication

proposed workflow:

track DwC-A

e.g.,
preston track https://library.big-bee.net/portal/content/dwca/UCSB-IZC_DwC-A.zip

extract content hashes from records somehow

e.g.,
preston head  | preston cat | preston dwc-stream | grep -E 'hash://[a-zA-Z0-9]+/[a-fA-F0-9]+'  | jq --raw-output '.["http://rs.tdwg.org/dwc/terms/associatedOccurrences"]' | grep -v null

derivedFromSameIndividual: https://zenodo.org/record/7114665 | derivedFromSameIndividual: https://zenodo.org/record/7114665/files/96bfde1efa599e0e8e61de18b14d61dd308737f684950e4079c04e9bc0f33958 | derivedFromSameIndividual: https://linker.bio/hash://md5/4940f68c84cffa4412f7ffb98bb255bd
derivedFromSameIndividual: https://zenodo.org/record/7510912 | derivedFromSameIndividual: https://zenodo.org/record/7510912/files/3a178bd2f588c35eb9729309d1baa769ea819bcd5bb5142c2de208dd8e299d1a

which means that two records had a "associatedOccurrences" value with something "hash://...." in it.

Once you have the content hash, you should be able to discover it
e.g.,
preston ls --anchor hash://md5/4940f68c84cffa4412f7ffb98bb255bd --remote https://linker.bio

Also, you can extend it, by adding tracked content:
e.g.,
preston track "donald duck"
or you can make statements:
echo "  hash://sha256/abcd
  "a pretty cool ASCII animation of a spinning bee" . " | preston append
to extend the specimen data package.
Optionally, you can submit the extension for review with Katja via tool XYZ (e.g., github, reference to a zenodo publication, os just a hash).
E.g.,
Hey, I looked at your publication A (hash://sha256/abcdef.....) , and I've annotated and extended your bee data package through my publication B (hash://sha256/xyz123... ) .
Now, publicatoin B (hahs://sha256/xyz123...) contains a reference to publication A (hash://sha256/abcdef.....)  in their provenance (or origin log).

To make specific claims on how pub A and pub B are related, you can used . . . provenance logs! with specific claims on how, who, what and where, when, pub A and pub B were related.

an in DwC-A you can make shortcuts like:
hasExtension: hash://sha256/abcdef
hash://sha256/abcdef: datapackage
hash://sha256/abcdef: application/otn-traits

suggest to borrow relations from Provenance Ontology (aka Prov-O) or its related Provenance Authoring and Versioning  (PAV) ontology.


Corrects viewingHint omission and refactors services.

References

Fixes #8048

Description
This PR adds a new field to the generator for IIIF Ranges and uses it to set the viewing hint on the root (table of contents) range (IIIF Presentation API 2.1.1). It also refactors the manifest and range services to separate responsibilities.
Instructions for Reviewers
The 7.1 release omitted the viewing hint from the Range resource. From the IIIF docs:

top: A Range with this viewingHint is the top-most node in a hierarchy of ranges that represents a structure to be rendered by the client to assist in navigation.

In Mirador, the viewingHint omission resulted in redundant layouts in which the TOC elements appeared twice, once in the collapsable table of contents node and again separately in a list. With the viewing set correctly, Mirador displays the list only.
List of changes in this PR:

Modified RangeGenerator to include a viewHint.
In RangeService, adding the viewing hint to the top-level Range
Added check for viewingHint to ITs
Refactored ManifestService and RangeService so that logic related to generating ranges lives in the RangeService.

Include guidance for how to test or review your PR.
Testing the behavior requires an item with multiple bitstreams that include iiif.toc metadata.
Checklist
This checklist provides a reminder of what we are going to look for when reviewing your PR. You need not complete this checklist prior to creating your PR (draft PRs are always welcome). If you are unsure about an item in the checklist, don't hesitate to ask. We're here to help!

[x] My PR is small in size (e.g. less than 1,000 lines of code, not including comments & integration tests). Exceptions may be made if previously agreed upon.
[x] My PR passes Checkstyle validation based on the Code Style Guide.
[x] My PR includes Javadoc for all new (or modified) public methods and classes. It also includes Javadoc for large or complex private methods.
[x] My PR passes all tests and includes new/updated Unit or Integration Tests based on the Code Testing Guide.
[ ] If my PR includes new, third-party dependencies (in any pom.xml), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.
[ ] If my PR modifies the REST API, I've linked to the REST Contract page (or open PR) related to this change.

@abollini : It appears to be a stale report, but I'll close & reopen this to trigger the tests to run again just to be safe.


Error loading webview

Type: Bug
Error loading webview: Error: Could not register service worker: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state..
VS Code version: Code 1.89.1 (dc96b837cf6bb4af9cd736aa3af08cf8279f7685, 2024-05-07T05:16:23.416Z)
OS version: Linux x64 6.2.0-39-generic
Modes:

Hi @Fabiano-Vaz
Thanks for reaching VS Marketplace Team, could you please share more details about your concern to investigate better.
If you think this issue is specific to vscode, could you please reach out to the VS Code Team https://github.com/microsoft/vscode/issues for further assistance.
Regards,
VS Marketplace Team


issue in write my own data iterator

Hi,
Thank you for providing Mxnet!
I'm trying to write my own data iterator. I want to use some meta data to generate batch data for training.  The generated data is much bigger than the meta data.
Here is a very simple example:
class DataGen(mx.io.DataIter):
    def next(self):
        data = np.ones(shape=(2,98))
        label = np.ones(98)
        data_batch = mx.io.DataBatch(data, label)
        return data_batch

In my test, I got this error:
File "/home/wb/.pyenv/versions/anaconda2-2.4.1/lib/python2.7/site-packages/mxnet-0.7.0-py2.7.egg/mxnet/model.py", line 745, in fit
self._init_params(dict(data.provide_data+data.provide_label))
AttributeError: 'DataGen' object has no attribute 'provide_data'
Actually there is no 'provide_data' in DataIter class.
I did similar task in Keras, which is pretty easy. In Keras, the fit_generator function only need a data iterator which returns (training_data, training_target). In Mxnet, it is much harder to do this. Would you please provide similar api? or tell me how to implement customized data iterator?
Many thanks again!
Ben

Check if this help.

Thanks! @Godricly
I'm reading some examples in the example folder.
Still don't know what does 'provide_data' mean? I'll read them all.

The provided_data is giving the shape info of your data. you can try with rnn example and print them out to have an idea of what they are.

That makes sense. Thanks!


💡[Feature]: AI Code Reviewer

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
The main aim of the AI Code Reviewer is to assist developers in writing cleaner, more reliable, and well-structured Python code. By providing feedback on common coding errors, style issues, and comments, the reviewer helps developers identify areas of improvement and promotes adherence to coding standards.
Use Case
The script is an AI Code Reviewer implemented in Python. Its aim is to analyze and provide feedback on programming code, specifically Python code. The script uses a combination of rule-based checks and code style analysis to identify common coding errors, suggest improvements, and evaluate the overall code quality. Additionally, it performs comment analysis to identify areas where code comments may need improvement.
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Assign this issue to me @sanjay-kv


Update styling on application bottom bar so it flows better

Description
Updates the alignment on the bottom bar so it flows better in narrow screen sizes. The two changes are:

replace the empty divs with justify-content: end as a method for right aligning the buttons (there was extra padding on mobile because of the empty divs, hence the updated browser screenshots)
add flex-wrap so that if the screen is narrow enough that all the content doesn't fit on one line but not so narrow that we make each button take up the entire width, we flow the buttons instead of making the buttons oddly tall with strange text alignment (see bug for example)

Desktop

Mildly narrow

Narrow

Checklist
General
Read the full guidelines for PRs here

[x] Added the correct label: < feature | enhancement | bug | dependencies | infrastructure | ignore-for-release | database >
[x] Assigned to a specific person, civiform/developers, or a more specific round-robin list.
[x] Created unit and/or browser tests which fail without the change (if possible)
[x] Performed manual testing (Chrome and Firefox if it includes front-end changes)

User visible changes

[x] Tested on mobile view. See mobile device mode
[x] Manually tested at 200% size

Issue(s) this completes
Fixes #6437

question (blocking): Is there an easy way to write a screenshot test for the example you have in the PR description for the "mildly narrow" case?

So yes it wouldn't be too difficult to do screenshot tests at that size. I'd want to do it for all the applicant view though (take a large, medium, and small screenshot for each test). The hesitation that I have is that the "mildly narrow" kind of depends on what changes are being made. In this case, the mildly narrow case exists because 1) the UI switches to flowing vertically under size M (tailwind's definition of medium), and 2) the text of these 4 buttons happens to be wider than the dividing line between S and M screen sizes. Together those two conditions create the odd middle ground case. In a more general sense, for other UI elements, the dividing lines creating odd middle grounds could happen at other screen widths (for instance, some style kicks in at size L or S or something).
So moral of the story, I think it's totally reasonable, and just comes down to what size we think would catch most things (this particular case happens between 768 and 854 px wide, in english at least)


why upgrade from Ubuntu 18.

have a nice day @elgeeko1
can I ask a question? I'm new with Jetson... :smile:
I want to use Ubuntu on Jetson and need install it. I have a project for study that I maked it on raspi4 with ROS2 humble.
is it possible if i use ubuntu 22.04 from your share? i see you guide to update from ubuntu 18. to ubuntu 22., why is that, i don't understand?
-thanks-

NVIDIA customizes some Linux features specifically for Jetson, including the kernel and some drivers for peripherals such as the GPU. This software is programmed on the Jetson using the NVIDIA SDK Manager. The latest version of Ubuntu that was supported for the Jetson Nano is Ubuntu 18.04.
The guide here starts with the NVIDIA SDK to program Ubuntu 18.04 on the Jetson Nano, and then the operating system is upgraded from 18.04 to 20.04 and then finally 22.04.
An alternate method is to use an operating system image that was created in a similar fashion, but distributed after the upgrade was completed, saving you a step. The latest I see for pre-made images is Ubuntu 20.04. See Q Engineering - Jetson Nano Ubuntu 20.
You may consider running ROS in Docker, which would allow you to use the standard 18.04 image without needing to upgrade. You will need to search for instructions on how to do this.
Good luck!


Example 2 is a copy of example 1 and does not set recurring schedule

There is no difference in <Operation> node in these to examples. Moreover, the second example lack the ConfigurationOnly node which cardinality is denoted as 1..1 so should be mandatory

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

ID: bf51a7e8-9ae4-5b55-c61c-2dc31abe6621
Version Independent ID: 934ab5eb-0b75-c8de-a76d-efd2ded27609
Content: Data task automation - Finance & Operations | Dynamics 365 | #MSDyn365FO
Content Source: articles/fin-ops-core/dev-itpro/data-entities/data-task-automation.md
Service: dynamics-ax-platform
Product: ****
Technology: ****
GitHub Login: @Sunil-Garg
Microsoft Alias: sunilg

@Sunil-Garg Can you take a look? Thanks.

Bug 393508 created to track this issue.

Thanks, swidz. The literature has been updated.


Turn into go module so package can be imported

Fixes #10

Thank you @awnumar, I did not realize anyone still used this 😄


cargo-expand: 1.0.88 -> 1.0.89

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/cargo-expand/versions.
meta.description for cargo-expand is: Cargo subcommand to show result of macro expansion
meta.homepage for cargo-expand is: https://github.com/dtolnay/cargo-expand
meta.changelog for cargo-expand is: https://github.com/dtolnay/cargo-expand/releases/tag/1.0.89
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.0.89 with grep in /nix/store/s2qj435pkh0jxibwnvb8k1i951mabzhx-cargo-expand-1.0.89
found 1.0.89 in filename of file in /nix/store/s2qj435pkh0jxibwnvb8k1i951mabzhx-cargo-expand-1.0.89

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath

cargo-expand
irust

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/s2qj435pkh0jxibwnvb8k1i951mabzhx-cargo-expand-1.0.89 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A cargo-expand https://github.com/r-ryantm/nixpkgs/archive/de6c2799c5209fcbac02070ae7e19d4672e0f37b.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/de6c2799c5209fcbac02070ae7e19d4672e0f37b#cargo-expand

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/s2qj435pkh0jxibwnvb8k1i951mabzhx-cargo-expand-1.0.89
ls -la /nix/store/s2qj435pkh0jxibwnvb8k1i951mabzhx-cargo-expand-1.0.89/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

cargo-expand
irust

Maintainer pings
cc @figsoda @xrelkd for testing.

@NixOS/nixpkgs-merge-bot merge


python37Packages.langcodes: 2.1.0 -> 3.0.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python37Packages.langcodes is: "A toolkit for working with and comparing the standardized codes for languages, such as ‘en’ for English or ‘es’ for Spanish"
meta.homepage for python37Packages.langcodes is: "https://github.com/LuminosoInsight/langcodes"
meta.changelog for python37Packages.langcodes is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 3.0.0 with grep in /nix/store/zjji0k01kfy5svqcpl1j8l1ibs07cvfa-python3.7-langcodes-3.0.0

directory tree listing: https://gist.github.com/bab76de5bbb1941d973f624c1120de66

du listing: https://gist.github.com/514031720eb4c489320b541dbd6305f9

Rebuild report (if merged into master) (click to expand)

24 total rebuild path(s)

6 package rebuild(s)

6 x86_64-linux rebuild(s)
6 i686-linux rebuild(s)
6 x86_64-darwin rebuild(s)
6 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
python37Packages.langcodes
python37Packages.wordfreq
python38Packages.langcodes
python38Packages.wordfreq
python39Packages.langcodes
python39Packages.wordfreq

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/zjji0k01kfy5svqcpl1j8l1ibs07cvfa-python3.7-langcodes-3.0.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python37Packages.langcodes https://github.com/r-ryantm/nixpkgs/archive/41c9ff229048cfddd59a92c1a090e1943bc398b8.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/zjji0k01kfy5svqcpl1j8l1ibs07cvfa-python3.7-langcodes-3.0.0
ls -la /nix/store/zjji0k01kfy5svqcpl1j8l1ibs07cvfa-python3.7-langcodes-3.0.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

4 packages failed to build:

python37Packages.wordfreq
python38Packages.wordfreq
python39Packages.langcodes
python39Packages.wordfreq

2 packages built:

python37Packages.langcodes
python38Packages.langcodes

Maintainer pings
cc @ixxie for testing.

Result of nixpkgs-review pr 113038 at 41c9ff22 run on aarch64-linux 1

4 packages failed to build:

python37Packages.wordfreq
python38Packages.wordfreq
python39Packages.langcodes
python39Packages.wordfreq

2 packages built:

python37Packages.langcodes
python38Packages.langcodes


use non-root user for container

Q
A

Bug fix?
no

New feature?
no

API breaks?
no

Deprecations?
no

Related tickets
fixes banzaicloud/logging-operator#1147

License
Apache 2.0

What's in this PR?
make config container container to run as normal user
Why?
With new config reloader image, fluentd can't start in restricted environment (when you forbid root user in your containers) using logging operator
Additional context
N/A
Checklist

[x] Code meets the Developer Guide --> I guess ^_^

Hello ?

Hey, we want to fix this in the operator by making this configurable.


Update dependencies

@charlierudolph @allewun

:ship: after fixing the new linter errors

Looks like there are a few bugs in cucumber_lint.
./features/git-ship/current_branch/commit_message_containing_double_quote.feature:18: Fix table whitespace

appears to be that I don't handle escaped quotes correctly.
./features/git-sync/all_branches/no_conflicts/remote_only_branches/without_open_changes.feature:28: Fix table whitespace

is because the file does not have an empty line after the table

@charlierudolph Indeed. Do you want to go ahead and fix those in cucumber_lint before we merge this?

The first is actually a bug within Gherkin
# table row
| main    | git commit -m "message containing \"double quotes\"" |
# is pretty printed as
| main    | git commit -m "message containing \\"double quotes\\"" |

I am using Gherkin to ensure that the table matches the pretty printed format.

In the short term just change the table row to
| main    | git commit -m "message containing \\"double quotes\\"" |

for some reason that is equivalent to the string with only single backslashes

Just to make sure I'm clear. Both of these can be fixed in git-town instead of waiting on cucumber_list. For the first: change the single backslashes to double backslashes.
For the second: add an empty line at the end of the file.

Cool, thanks! All lint issues fixed.

:ship:


Add CI tests for rusty-hermit running on uhyve.

Currently it seems that all tests only use rusty-hermit on Qemu. Travis CI has nested virtualization enabled by default (seems to be a recent change). This enables us to test rusty-hermit using uhyve.
I'm currently working on a travis pipeline and I'll be opening a pull request for this.
Meanwhile I'd like to link the following two uhyve issues here, which are important for CI.

https://github.com/hermitcore/uhyve/issues/6
https://github.com/hermitcore/uhyve/issues/7

I'm currently working on two Travis CI pipelines.
The first one builds everything as described in the Readme, i.e.

Build rusty-hermit demo with rust nightly from rustup and run with uhyve from cargo

The second pipeline compiles everything from source so that regressions due to changes in uhyve or in the rust repo can be quickly identified.

The rust compiler fork from hermitcore is used
uhyve and rusty-hermit are built from source with the the newly built compiler
run rusty-hermit demo on uhyve

@stlankes What do you think about this? And which method of pinning the dependencies (rust and uhyve) do you prefer? I've thought of the following options:

Add another repo that includes rusty-hermit, hermitcore/rust and uhyve as submodules. (This is the solution that I'm currently working with)
Add rust and uhyve as submodules to this repo
Make a config file in this repo
Hardcode the branches that should be checked out for rust and uhyve in the travis pipeline ( This is a bit too unflexible in my opinion)

@jschwe I removed Travis CI support because we have our own pipeline. Using uhyve is not so easy in CI environment. As fas as I know, Travis CI doesn't support nested virtualization. In our environment, we are able to support nested virtualization. It is currently deactivated because we are reconfiguring our setup. @stv0g is our CI expert.
We provide also the compiler as docker image. But this image based on the original nightly compiler and doesn't run any tests.

Of the major CI providers to my knowledge only Travis CI provides nested virtualization by default. This seems to be somewhat recent too (late 2019 or early 2020 from what I can tell).
Based on your comment I'm assuming you are working on configuring your self hosted gitlab runner to provide nested virtualization, is this correct? Using that would of course be preferred, I just chose Travis because it works by default.
Basically this issue also isn't about which CI provider should be used, but I think it would be good if there where a CI test that tests rusty-hermit running on uhyve, both on current nightly rust builds as well as the current compiler and uhyve version in the repository. This requires specifying the dependency in some form, e.g. via submodules or a config file.

I agree. I will talk @stv0g if we are enable tests with uhyve on our CI.

@jschwe Do we solve this issue?

Ah yes, thanks for reminding me. CI tests with uhyve were added so I'm closing the issue.


RPi-Jukebox installer for raspbian buster

The installscript shows lots of errors.
Do you want to start the installation? [Y/n]
Error for wireless request "Set Power Management" (8B2C) :
    SET failed on device wlan0 ; No such device.
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'linux-headers-4.9.0-6-all' for regex 'linux-headers-4.9'
Note, selecting 'linux-headers-4.9.0-6-rpi' for regex 'linux-headers-4.9'
Note, selecting 'linux-headers-4.9.0-6-all-armhf' for regex 'linux-headers-4.9'
Note, selecting 'linux-headers-4.9.0-6-rpi2' for regex 'linux-headers-4.9'
Note, selecting 'linux-headers-4.9.0-6-common' for regex 'linux-headers-4.9'
Note, selecting 'linux-headers-4.9.0-6-common-rt' for regex 'linux-headers-4.9'
Note, selecting 'php7.0-thrift' for regex 'php7.0'
Note, selecting 'php7.0-remctl' for regex 'php7.0'
Note, selecting 'php7.0-common' for regex 'php7.0'
Note, selecting 'php7.0-curl' for regex 'php7.0'
Note, selecting 'php-remctl' instead of 'php7.0-remctl'
Package php7.0-common is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

W: --force-yes is deprecated, use one of the options starting with --allow instead.
E: Package 'php7.0-common' has no installation candidate
E: Unable to locate package php7.0-cgi
E: Couldn't find any package by glob 'php7.0-cgi'
E: Couldn't find any package by regex 'php7.0-cgi'
E: Unable to locate package php7.0-fpm
E: Couldn't find any package by glob 'php7.0-fpm'
E: Couldn't find any package by regex 'php7.0-fpm'
Cloning into 'RPi-Jukebox-RFID'...
remote: Enumerating objects: 4843, done.
remote: Total 4843 (delta 0), reused 0 (delta 0), pack-reused 4843
Receiving objects: 100% (4843/4843), 11.15 MiB | 1.55 MiB/s, done.
Resolving deltas: 100% (3218/3218), done.
sudo: pip: command not found
sudo: pip: command not found
sudo: pip: command not found
sudo: pip: command not found
sudo: pip: command not found
sudo: pip: command not found
sudo: pip: command not found
sudo: pip: command not found
Error for wireless request "Set Power Management" (8B2C) :
    SET failed on device wlan0 ; No such device.
Added user pi.
cp: cannot create regular file '/etc/php/7.0/fpm/php.ini': No such file or directory
chown: cannot access '/etc/php/7.0/fpm/php.ini': No such file or directory
chmod: cannot access '/etc/php/7.0/fpm/php.ini': No such file or directory
sudo: lighttpd-enable-mod: command not found
sudo: lighttpd-enable-mod: command not found
Failed to restart lighttpd.service: Unit lighttpd.service not found.
Failed to restart php7.0-fpm.service: Unit php7.0-fpm.service not found.
### Deleting older versions of service daemons. This might throw errors, ignore them
Failed to disable unit: Unit file idle-watchdog.service does not exist.
Failed to disable unit: Unit file rfid-reader.service does not exist.
Failed to disable unit: Unit file startup-sound.service does not exist.
Failed to disable unit: Unit file gpio-buttons.service does not exist.
rm: cannot remove '/etc/systemd/system/rfid-reader.service': No such file or directory
rm: cannot remove '/etc/systemd/system/startup-sound.service': No such file or directory
rm: cannot remove '/etc/systemd/system/gpio-buttons.service': No such file or directory
rm: cannot remove '/etc/systemd/system/idle-watchdog.service': No such file or directory

Seems to be related to https://github.com/MiczFlor/RPi-Jukebox-RFID/issues/553

Hi @ckuetbach
that is true. Following your post I am adding these lines to the install instructions (and probably you want to give this a go? :)
Written for an tested on Raspbian GNU/Linux 9.4 (stretch) Kernel version: 4.14
IMPORTANT: the install script works and has been tested with the following stretch distribution which you can download here: 2018-03-13-raspbian-stretch.zip.
If you want to modify the install script to run on buster, commit your work (under the filename: buster-install-default.sh) to the develop branch and create a pull request.

Looks good to me.
Right now, I am trying to create a buster-install-default.sh.

I just started: https://github.com/ckuetbach/RPi-Jukebox-RFID/tree/buster-install and it looks somewhat promising. I am n ot sure, how I can make the script not load from you github-repo while installing. Bu as long if I create new files and not edit existing ones, I getr further :)

Hi @ckuetbach
Thanks! I will be off until the 5th of August and then make the time to bust into buster.
You could create a pull request for your work or I will copy it and then work from there. Looking forward to see how far you‘ll be. The main issues will be the apt-get install line and possibly the config files for webserver and mpd.
Good luck :)
All the best, micz

The apt-get part wasn't hard, but the strech sudo file seems to be incompatible for buster. Now I can't sudo anymore ;)
Why do you include the sudoer config?

Well... I should not let git change the lineendigs to windows and use this file als sudoers ;( My fault.

I think I got it; But I need to make some tests with my RFID reader and the latest release Buster-Image.
I forked the master branch and now I am behind development-branch. Should I merge your development-branch into my buster-feature?

Hi @ckuetbach
Thanks! If you create a pull request to master, i can change the base to develop. So no need to make it more complicated for you.
Kudos to open a new chapter :)
All the best, micz

I still have one error:
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting evdev==0.7.0 (from -r requirements.txt (line 7))
  Downloading https://files.pythonhosted.org/packages/67/15/eac376f3e1fc1960a54439c21459b2582e68340001aff83b4ace9e5bd110/evdev-0.7.0.tar.gz
Collecting spi-py from git+git://github.com/lthiery/SPI-Py.git#egg=spi-py (from -r requirements.txt (line 8))
  Cloning git://github.com/lthiery/SPI-Py.git to /tmp/pip-install-owNU8Z/spi-py
Collecting youtube_dl (from -r requirements.txt (line 9))
  Downloading https://files.pythonhosted.org/packages/b1/ec/fe552181d6bd05a9e5b6b51f6f7ea4fed9f121ce595d788217e59318e47c/youtube_dl-2019.7.30-py2.py3-none-any.whl (1.8MB)
    100% |████████████████████████████████| 1.8MB 22kB/s
Collecting pyserial (from -r requirements.txt (line 10))
  Downloading https://files.pythonhosted.org/packages/0d/e4/2a744dd9e3be04a0c0907414e2a01a7c88bb3915cbe3c8cc06e209f59c30/pyserial-3.4-py2.py3-none-any.whl (193kB)
    100% |████████████████████████████████| 194kB 149kB/s
Collecting spidev (from -r requirements.txt (line 11))
  Downloading https://files.pythonhosted.org/packages/fb/14/4c2e1640f0cb04862c76d9d76ed7c945b0f67876e503ac02f7f675fe86a0/spidev-3.4.tar.gz
Requirement already satisfied: RPi.GPIO in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 12)) (0.6.5)
Collecting pi-rc522 (from -r requirements.txt (line 13))
  Downloading https://files.pythonhosted.org/packages/84/f2/e3d02257949e9caa9bff26044e0185e743ff45d3e0e099a93880e10bf718/pi-rc522-2.2.1.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-owNU8Z/pi-rc522/setup.py", line 11, in <module>
        from pirc522 import __version__  # flake8: noqa
      File "pirc522/__init__.py", line 4, in <module>
        from .rfid import RFID
      File "pirc522/rfid.py", line 2, in <module>
        import spidev
    ImportError: No module named spidev

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-owNU8Z/pi-rc522/

This seems to be my last error. Any ideas?

Greetings Gents! Is there any update on this thread (installer for Buster)? I'm about to build my fourth box (for my three kids and my goddaughter), and this will be the first on Buster, so: can I try the current installer and help if needed?

Hi @AdmiralVS hi @ckuetbach
I added @ckuetbach first steps to the develop branch:
https://github.com/MiczFlor/RPi-Jukebox-RFID/blob/develop/scripts/installscripts/buster-install-default.sh
@AdmiralVS please take it and run with it :) I will also work on the weekend on a buster install, so we might both want to create pull requests frequently... :)
And congrats to the fourth Phoniebox. Have you posted any pictures already to:
https://github.com/MiczFlor/RPi-Jukebox-RFID/issues/5
All the best, micz

I will work with the raspbian lite image found here:
https://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2019-07-12/2019-07-10-raspbian-buster-lite.zip

Pictures! Of course! I've added them for two I have in house.
I'm basing my install on the Raspbian Lite you get from NOOBS; that's probably the same as yours.
The part about the "frequent pull requests" implies I know how to speak git and github. Which I don't really. I did manage to clone the repository and switch to the develop branch. And now:

just checking: there are mentions of Buster files in the installer, e.g. "lighttpd.conf.buster-default.sample" but they aren't there, yet. Right?
I'm installing packages and dependencies via apt where possible as opposed to via sudo pip install. Is there a problem with that approach as it seems somewhat cleaner from my perspective. But then: I'm not a huge Python guy either.
I'd be happy to contribute these little changes already. Any hints how to do that gratefully received.

And, by the way: Thanks for this great project!

Hi @AdmiralVS
I guess we are both working on the same "latest" Raspbian.
Have you started? Because I could try to push the conf files to the develop branch.
Regarding the install process via pip or sudo, makes little difference at this stage and I can clean that up once we have somethng :)
Awesome design work on your phonieboxes, btw!

Hi @MiczFlor
I have barely started. I believe I circumvented the last error reported by @ckuetbach (about missing spidev while building pi-rc522) by installing spidev from apt. So software wise I believe everything is installed. If you already have Buster versions of some of the config files I'd be happy to plug them in.
What is the preferred way to share my modifications?
The design of the boxes is courtesy of my wife. I'll relay the praise. :-)

Hi @ckuetbach @AdmiralVS
I think I got something close enough to working:
cd; rm buster-install-*; wget https://raw.githubusercontent.com/MiczFlor/RPi-Jukebox-RFID/develop/scripts/installscripts/buster-install-default.sh; chmod +x buster-install-default.sh; ./buster-install-default.sh

It's also in the wiki, so I will close this thread and start a new one with into about the buster install at the top.

I hope I was helpful. This is a great project and my children loves their box.

Hi @ckuetbach
don't forget to share pictures as inspiration - and potentially for the 2020 Phoniebox calendar coming up in December :)
Also, if you find the time, please have a look at the install script, if it works for you. Sometimes the devil is in the detail...


Manual clock 1-step function RC network design area review request

Please review the use of R7/R12/C1 around the manual clock 1-step function.
The concern is in relation to the impact of RC circuit on the signal integrity of the project_clk line which is an important aspect to many projects.  Especially as the clock rate is increased through the MHz, towards 50MHz planned max RP2040 and 66MHz the documented max sky130 IO input rate (maybe 66MHz should be the PCB design limit for any computations, for example if someone attaches their own clock source while the RP2040 pin is tri-state/HiZ).
In particular it would be ideal to validate and measure (possibly with a breadboard setup) how the signal changes at a variety of clock frequencies.  Also the shape of the signal from the button use.  Possibly also against a misconfigurated RP2040 also trying to provide a stable output.
Maybe a reduction of C1 (100nF) to a smaller value turns out to meet requirements ?
@MichaelBell suggested an additional resistor between C1/R12 junction and project_clk net may also resolve concerns.
Other thoughts in the area:

consideration to using GPIO29 (if unused) to connect the clock 1-step switch to this GPIO only, make project_clk driven only by the RP2040 firmware and the removal of any extra capacitance on the project_clk net.  This might have other benefits, a button able to communicate with RP2040 firmware directly opens up other project possibilities?
if GPIO29 is possible, potential to leave unpopulated option in PCB design to relink manual clock switch back to project_clk (with the customer using a 1x2 header pin + jumper) where the track near R12<>project_clk was disconnected.
confirmation if an RC debounce approach is enough to provide intended project reliability to students for edge triggered flopflops, some people might consider a schmitt-trigger to provide output to project_clk line from a switch+RC to be the minimum approach

Related discord discussion area links:
https://discord.com/channels/1009193568256135208/1009395924017086475/1167335321365651496
https://discord.com/channels/1009193568256135208/1011201396659474432/1167393079456714783

resolved


KP-7421 Make the text bodies wider

The default GitHub pages theme used with the default Jekyll build pipeline at the time of writing uses a 980 px wide div for the page content, whereas the pandoc-goodies version added some extra padding on the sides. This made the text etc on our videos harder to see, so the extra padding was removed. Padding on top and bottom was kept as is.
The "real" change was done to the _github-markdown.scss file: the rest
are autogenerated based on it.
Also replaced the template-building bats with a Makefile for usability on non-windows systems. Build instructions now also reflect this. Did not make changes to the preview building stuff, as it's not clear whether we want to use pp (or UPP/Panda) at some point.
Some files also had trailing whitespace, those were autoremoved from the edited files.

Sorry, wrong repo! You surely aren't interested in our changes.


Update autocomplete doc

PR needs rebase.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


OPEN SOURCE PROJECT

Hey Myself Jwala ,I want to start contributing in open source project but i dont have much idea about it ,so anyone over here can help me in this thing .What should i do?

Hey Myself Jwala ,I want to start contributing in open source project but i dont have much idea about it ,so anyone over here can help me in this thing .What should i do?

This isn't an issue pertaining to this repository. Please read the contributions guidelines before opening issues. Thank you.


Optimized dump_indent to reduce the number of fwrite calls.

Previous version would invoke an fwrite for each depth-level. This version tries to minimize that.

Coverage increased (+0.01%) to 90.31% when pulling 5d42e1520ad420bdc3feb1cf41f8dd1e53a5a1b1 on flok99:master into d8753db4ace03e8fa317875ab516f2e6e71375ff on akheron:master.

Merged, thanks!

@akheron I wonder: wouldn't it help to keep a bucket sorted and then use a binary search to find keys in it?

If you're talking about the hashtable implementation, then probably no. Each buckets is meant to have at most one item on average, and when the ratio of one item per bucket is exceeded, the hashtable is rehashed with twice the amount of buckets.
Furthermore, the lookup3 hashing algorithm should have a good distribution to avoid hash collisions, and because of hash seeding, malicious inputs that would degrade all items to a single bucket are not easy to construct.


Layout/SpaceBeforeFirstArg AllowForAlignment does not work as expected

I have a file where 2 lines of parameters are the same other than a prefix, so additional spacing was added for visual clarity.
Here is a stripped down version of the file
class PromoImage < ActiveRecord::Base
  belongs_to :promo_zone

  attr_accessor    :attr_href,    :attr_link_id
  attr_accessor :bg_attr_href, :bg_attr_link_id
end

The cop Layout/SpaceBeforeFirstArg does not properly detect this case.
It appears the culprit is the preceding line belongs_to :promo_zone. If it is commented or removed then the cop passes without issue.
This version of the test file also fails
class PromoImage < ActiveRecord::Base
  attr_accessor :bg_attr_href, :bg_attr_link_id
  attr_accessor    :attr_href,    :attr_link_id
  attr_accessor :fg_attr_href, :fg_attr_link_id
end

for reference:
macOS
rubocop --version
0.72.0

I don't think we explicitly support this style. I haven't encountered it before. 🤔 Marking this as a feature request.

If this is actually an enhancement and not already intended behavior, would it be possible to enhance the documentation for this cop to show additional examples of what is supported behavior? Including examples for the optional flag AllowForAlignment?
Here is what the documentation currently says:
Alternatively, extra spaces can be added to align the argument with something on a preceding or following line, if the AllowForAlignment config parameter is true.


Live Server is not opening tabs.

So i press live server and it loads port 5500, but it doesn't open a browser.
No error code or anything. If i type in the port number and loaded in chrome it shows the website and sometime it would auto update.
It is weird and i tried the "liveServer.settings.CustomBrowser":"chrome:PrivateMode", any kind of browser typed in won't work.
It is really weird.
Any idea what is happening
Spec is:
VCS:1.23.1
Live Server:4.0.0
Chrome:66.0.3359.181
Running on a Surface Pro 4 Locally

Please try to set browser manually with liveServer.settings.CustomBrowser (with only chrome not with chrome:PrivateMode) settings or liveServer.settings.AdvanceCustomBrowserCmdLine and check whether it's working or not.
Example:

settings.json (User settings)

{
   "liveServer.settings.CustomBrowser":"chrome"
}

or,
{
   "liveServer.settings.AdvanceCustomBrowserCmdLine":"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe"
}

I am having the same problem. I tried the proposed solution but it didn't work either. The server runs on localhost:5500 but the it doesn't open the browser. I also tried changing the port number by the way.

Strange I don't understand why this is not working. Can you reproduce something so that it is understandable to me?

It's just live server is not auto opening the browser. And i tried all the liveserver setting for chrome and cmd line thing too, but it won't open. I have to manually type in the port and IP in order to get the live server opening.
It is a little inconvenient so i thought someone knows a solution.
I tried reinstall VCS and Live server and that didn't work either.

Can you share a screenshot of your settings?

I am closing this issue due to new feedback. Feel free to reopen it.

Hi I need help with this.
Instead of getting the output. I got this instead.

an urgent respond is appreciated :)

Having the same issue as @xtinebyrn..Kindly assist

Here's what worked for me, hope it helps:

Having the same issue as @

Please help. I always used live server and it always opened a tab when I would press "Go Live" button at the bottom of VS Code. But after I tried to use the terminal to see what gets logged to the console (node main command) instead of using chrome's console, my "Go Live" button stopped opening tabs. I tried so many solutions, including this one, and nothing works. Please help :c Could it be that node js somehow broke live server? Or is it a coincidence? I tried re installing live server but it didn't help.

Having the same issue please help

Maybe too late..... but if someone find it useful... Happend to me when im working on subfolders... I "fixed" closing working folder/subfolder on vscode, then opening working folder as root... I dont know if I explain myself... HTML need to be in root working folder... otherwise wont open tab in any browser for me, as today still had to do this in order to liver server works, vscode plu plus had same issue for me... hope it helps!

This is some of the most garbage help I've seen since Microsoft Answers. The issue people are having are that the pop-up that says "don't show again" in relation to the live server pop-up notification. Due to permissions, VSCode requires some people to manually click the pop-up to launch the server in a new browser window.
If a user turns off notifications, there is no way to 'launch' a new browser window, regardless of the live server settings in the JSON file.
This is basic functionality that has not been accounted for in the design of this extension. A setting, somewhere in VSCode is changed due to clicking on this notification, and it is like finding a needle in a haystack to turn the functionality back on.


Add a downloadable config.txt file

Description

Main Idea

we want to provide users with a config.txt file.
This way, we prevent tricky situations where people have hidden extensions in their OS, which creates a config.txt.txt file

Possible source of config file

Users can create it manually on their systems (what is currently being done)
Users can create it using a software

we create a ofApp to create a txt file
they use standard text editors in their OS to create the file

We provide them the file

in a software release
in a firmware release
in a docs release in github

Notes

Search for config.* when looking for wifi credentials
Adding a downloadable

adding a config.txt into a release as an independent file


[canalc2.tv] No video formats found

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.03.14. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2018.03.14

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'http://www.canalc2.tv/video/12163']
[debug] Encodings: locale UTF-8, fs UTF-8, out None, pref UTF-8
[debug] youtube-dl version 2018.03.14
[debug] Git HEAD: 5caee81
[debug] Python version 2.7.13 (CPython) - Linux-4.9.0-6-amd64-x86_64-with-debian-9.4
[debug] exe versions: avconv 3.2.10-1, avprobe 3.2.10-1, ffmpeg 3.4.1-static, ffprobe 3.2.10-1, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[canalc2.tv] 12163: Downloading webpage
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/home/pierre/www/alltube/vendor/rg3/youtube-dl/youtube_dl/YoutubeDL.py", line 785, in extract_info
    ie_result = ie.extract(url)
  File "/home/pierre/www/alltube/vendor/rg3/youtube-dl/youtube_dl/extractor/common.py", line 440, in extract
    ie_result = self._real_extract(url)
  File "/home/pierre/www/alltube/vendor/rg3/youtube-dl/youtube_dl/extractor/canalc2.py", line 52, in _real_extract
    self._sort_formats(formats)
  File "/home/pierre/www/alltube/vendor/rg3/youtube-dl/youtube_dl/extractor/common.py", line 1071, in _sort_formats
    raise ExtractorError('No video formats found')
ExtractorError: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description of your issue, suggested solution and other information
It seems the canalc2.tv extractor is broken. They probably changed the structure of the website.

That was quick, thanks!


chore: Update dependencies - kube, kube-lease-manager

Update crates:

kube - v0.96
kube-lease-manager - v0.5

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:


AttributeError: 'StoreModule' object has no attribute 'EpicBackend'

Good afternoon, I wanted to use your extension, for his visual novel, I kind of did everything according to the instructions, but, I get strange error, please help me understand what I did wrong.
`
File "game/epic.rpy", line 17, in script
init -1499 python:
File "game/epic.rpy", line 17, in script
init -1499 python:
File "game/epic.rpy", line 18, in
achievement.backends.insert(0, epicapi.EpicBackend())
AttributeError: 'StoreModule' object has no attribute 'EpicBackend'
`
Videos - https://utreon.com/v/DwHCwXGATDW
It happens when trying to run from the launcher - and just before actually starting
Put all the files into the game directory - also tried the root of the project directory, but no luck there either.

Same here too

This is with RenPy 8.0.3, by the way

I’ll give that a go now.
Nicholas
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows
From: @.>
Sent: 12 April 2023 16:03
To: @.>
Cc: @.>; @.>
Subject: Re: [Ayowel/renpy-epicgames-eos] AttributeError: 'StoreModule' object has no attribute 'EpicBackend' (Issue #1)
Hi,
@Andredroner1https://github.com/Andredroner1 @SlurpyToadhttps://github.com/SlurpyToad thank you for your interest in the project.
It looks like you downloaded the repository's zip instead of the release's zip, could you download epic_eos.zip from the release page (https://github.com/Ayowel/renpy-epicgames-eos/releases/latest) and try again ? Some files are generated and using the repository's content adds steps (documented in DEVELOPMENT.md).
I will update the README to disambiguate which zip should be used.
Please let me know whether it works as intended after this change.
—
Reply to this email directly, view it on GitHubhttps://github.com/Ayowel/renpy-epicgames-eos/issues/1#issuecomment-1505436233, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A64ZTFFZXSWFDGHIMCW6IJDXA275JANCNFSM6AAAAAAWPWD3CA.
You are receiving this because you were mentioned.Message ID: @.***>

Strange. I'll look into it tomorrow, thank you for testing

A video of it is here : https://utreon.com/v/SBl7SxdeSk6

Hello
The lint contains :
`Ren'Py <IP_ADDRESS>90809 lint report, generated at: Thu Apr 13 14:04:08 2023
game/init/initcharacters.rpy:31 Image oldergrendel happy uses file 'images/characters/grendel_fryingpan_1.png', which is not loadable.
game/init/initcharacters.rpy:36 Image oldergrendel pleased uses file 'images/characters/grendel_fryingpan_2.png', which is not loadable.
game/init/initcharacters.rpy:41 Image oldergrendel worried uses file 'images/characters/grendel_fryingpan_3.png', which is not loadable.
game/init/initcharacters.rpy:46 Image oldergrendel embarrassed uses file 'images/characters/grendel_fryingpan_4.png', which is not loadable.
game/init/initcharacters.rpy:51 Image oldergrendel curious uses file 'images/characters/grendel_fryingpan_5.png', which is not loadable.
game/init/initcharacters.rpy:56 Image oldergrendel annoyed uses file 'images/characters/grendel_fryingpan_6.png', which is not loadable.
game/init/initcharacters.rpy:61 Image oldergrendel neutral uses file 'images/characters/grendel_fryingpan_7.png', which is not loadable.
game/init/initcharacters.rpy:66 Image oldergrendel asleep uses file 'images/characters/grendel_fryingpan_8.png', which is not loadable.
game/init/initcharacters.rpy:71 Image oldergrendel surprised uses file 'images/characters/grendel_fryingpan_9.png', which is not loadable.
game/init/initcharacters.rpy:76 Image oldergrendel scheming uses file 'images/characters/grendel_fryingpan_10.png', which is not loadable.
game/init/initcharacters.rpy:81 Image oldergrendel evil_shocked uses file 'images/characters/grendel_fryingpan_11.png', which is not loadable.
game/init/initcharacters.rpy:86 Image oldergrendel furious uses file 'images/characters/grendel_fryingpan_12.png', which is not loadable.
Statistics:
The game contains 11,001 dialogue blocks, containing 80,135 words and 469,622
characters, for an average of 7.3 words and 43 characters per block.
The game contains 36 menus, 788 images, and 79 screens.

Lint is not a substitute for thorough testing. Remember to update Ren'Py
before releasing. New releases fix bugs and improve compatibility.
`
The odd thing is clearing the RPYC files and Check Script works, but do it again and it doesn't
If you're able to do remote access that will be fine - I've only got Discord unfortunately

https://discord.gg/4D8DTKeT

This specific issue is solved. Closing in favor of #2 for clarity.


optimize data URIs

Hi all,
according to https://codepen.io/tigt/post/optimizing-svgs-in-data-uris we can squeeze some more byte out of our data:image/svg+xml by

removing superflous charset=utf8
lowercasing URL-encoded hex pairs, via https://github.com/tigt/mini-svg-data-uri#why-lowercase-the-url-encoded-hex-pairs

Have a nice week
midzer

Seems good, but we need to test it with IE, Safari etc.

@MartijnCuppens: any thoughts?

Those changes are in production at https://feuerwehr-eisolzried.de/
Site is not compatible with IE11- though and I did not test on Edge lately

I've just tested removing the charset=utf8 and everything works as expected on IE10, IE11 and latest Chrome, FF, Edge & Safari.
All Bootstrap hex colors are lowercased by default, I don't think we can optimise something here, @midzer?
@XhmikosR, do we have the original svgs available? We might also get a small improvement by rewriting them manually.

@MartijnCuppens: no idea, these was here a long time ago. Maybe @mdo has them.

All Bootstrap hex colors are lowercased by default, I don't think we can optimise something here, @midzer?

With "hex pairs" i mean %3C to %3c for "<" sign for example. According to https://github.com/tigt/mini-svg-data-uri#why-lowercase-the-url-encoded-hex-pairs this compress better for gzip

Yeah, that's escape sequences.

@XhmikosR, do we have the original svgs available? We might also get a small improvement by rewriting them manually.

Just did a quick run over https://jakearchibald.github.io/svgomg/ for custom-checkbox-indicator-icon-checked: no improvement possible, except if we scrap xmlns attribute which we should not do according to https://developer.mozilla.org/en-US/docs/Web/SVG/Namespaces_Crash_Course#Conclusion


add Gary Liu in BBR

@dlresende is still needed?

Closing because of inactivity. Please reopen if this is still needed.


Created UI tests for each activity, and a test suite to test them all…

Test for Navigation and activity UI

Codecov Report

Merging #145 into master will increase coverage by 6.36%.
The diff coverage is 92.30%.

@@             Coverage Diff              @@
##             master     #145      +/-   ##
============================================
+ Coverage     57.51%   63.88%   +6.36%
- Complexity       31       34       +3
============================================
  Files            20       21       +1
  Lines           659      670      +11
  Branches        103      103
============================================
+ Hits            379      428      +49
+ Misses          251      202      -49
- Partials         29       40      +11

Impacted Files
Coverage Δ
Complexity Δ

...thoray/allright/ui/main/viewmodel/MainViewModel.kt
67.46% <ø> (+12.29%)
6.00 <0.00> (+3.00)

...m/sthoray/allright/utils/EspressoIdlingResource.kt
80.00% <80.00%> (ø)
0.00 <0.00> (?)

...ay/allright/ui/search/viewmodel/SearchViewModel.kt
95.85% <100.00%> (+0.88%)
16.00 <0.00> (ø)

.../com/sthoray/allright/data/api/RetrofitInstance.kt
81.81% <0.00%> (ø)
0.00% <0.00%> (ø%)

...thoray/allright/data/db/SearchHistoryDao_Impl.java
78.86% <0.00%> (+1.62%)
5.00% <0.00%> (ø%)

...c/main/java/com/sthoray/allright/utils/Internet.kt
20.00% <0.00%> (+15.00%)
0.00% <0.00%> (ø%)

...ght/ui/listing/viewmodel/ListingImagesViewModel.kt
19.04% <0.00%> (+19.04%)
0.00% <0.00%> (ø%)

... and 3 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 8c77f45...e87a758. Read the comment docs.


IOS

On IOS after a while the mfds and the controls don't work. What could be the issue??

Updating to the newest ios version fixes the issue + 6248f022cb5b3cb7ee6995cc76a28be09711f353 helps too