Fix ARC / Google Play for Chrome OS crash when starting chroot

This fixes issue #2706 .

Remounting the selinuxfs mountpoint /sys/fs/selinux in the chroot as
read-only doesn't seem to offer the protection one would expect.
This fix assumes there is no direct need for use of SELinux within
the chroot (and besides, wouldn't /etc/selinux need to be bind
mounted, too?)
TL;DR This fixes the ARC / Google Play breakage when using crouton.

I wonder if a check could be made to see if the system has enabled Google Play and, if so, then apply this fix. I don't know where exactly to check though I'm afraid, I don't know if ARC++ will show up anywhere in the crossystem output or someplace else.
No biggey I guess, just thinking out loud.

@DennisLfromGA I was curious, so I checked. crossystem doesn't seem to afford any information to us, but it's easy enough to detect ala mount |grep "/run/containers/android" (seems to return a lot of matches if it's enabled). Knowing the full ramifications of not bind-mounting the selinux mount in the changeroot (why it was there to begin with) would put me at ease, for sure, but ... well, I'm happy enough that this bug seemingly is crushed now.

@greymouser,
I agree and am happy you found a way around this.
ARC++ is still a work in progress so maybe things will change (again) before it hits stable.
I don't know all the ramifications of SELinux either but a renowned Google developer commented that it might be an SELinux interference (he hit the nail on the head) and he'd investigate - fingers crossed.

I'm also looking forward to some file system integration between Chrome OS and Android, right now, you have to do things the hard way.
-DennisL

@DennisLfromGA ARC has some SELinux misconfiguration I discovered, but it's innocuous on the host side. On the chroot side, the misconfiguration (frankly, the configuration of SELinux in general) is tricky. Regardless, the issue was fully on the crouton side in the setup script (i.e. the part running on the host as root before the chroot is fully bootstrapped and entered); remounting the selinuxfs mount point (after stringing together a shared -> slave set of mount points) effectively kills ARC on the host.
This isn't just "a way around this", honestly -- this is the fix. If someone can demonstrate how their current host<->chroot bridged SELinux setup in their chroot is broken by the fix, then it would need to be revisited. I suspect the number of people that effects is zero (I have a hard time imagining a practical use case for SELinux in a chroot).

@greymouser,
I saw your other post about the dbus errors and it looks like you've done a pretty thorough investigation of the problems. I'm just an interested novice and have no knowledge of the intricacies of SELinux & ARC++ on Chrome OS so please regard my posts as only curious observations.

As far as your PR, I'd say LGTM but that doesn't count for much I'm adraid. ;-)
Guess we'll just have to wait for the devs to take a look.
-DennisL

This indeed seems quite reasonable.  Could you please sign the CLA so I can merge this and get it rolled out posthaste?

@dnschneid I've updated the umount selinux section to check existence of the dir first, as well as silence other warnings (e.g. if the directory exists, but isn't a mount point, we really don't care).
I am now looking for the CLA to sign now ...

@dnschneid CLA signed! If there's anything else I need to do, please let me know.
Do you think I should add myself to the CONTRIBUTORS file?

No need to add yourself to CONTRIBUTORS; it gets autogenerated when I release a new version.

@greymouser & @dnschneid,
My non-Android Chromebook 'crouton' updates are failing now so I guess /sys/fs/selinux was added to the latest Chrome OS updates, or it was before and I didn't notice it or hadn't updated in a while.
Version 54.0.2837.0 dev (64-bit)
Platform 8737.1.0 (Official Build) dev-channel lulu
Firmware Google_Lulu.6301.136.57

I had to extract crouton and modify enter-chroot in order to get past the errors:
+ [ -d /run/crouton/var/crouton/chroots/trusty/sys/fs/selinux ]
+ mount -o remount,ro /run/crouton/var/crouton/chroots/trusty/sys/fs/selinux
mount: /run/crouton/var/crouton/chroots/trusty/sys/fs/selinux not mounted or bad option

       In some cases useful info is found in syslog - try
       dmesg | tail or so.

I made similar changes to @greymouser only I used mountpoint as @dnschneid suggested:
    # Unmount selinux if mounted
    if mountpoint -q "$CHROOT/sys/fs/selinux"; then
        umount "$CHROOT/sys/fs/selinux"
    fi

-DennisL

FYI: @dreveman's 'bind' mount option in PR https://github.com/dnschneid/crouton/pull/2748 seems to work well without unmounting selinux.

I was away for a week; catching up now, and checking out the other possible fix branch, too.

Thanks for all your testing, @greymouser!

@greymouser,
And I guess you were wise to ponder the 'bind' option early on too -

"Knowing the full ramifications of not bind-mounting the selinux mount in the changeroot (why it was there to begin with) would put me at ease, for sure, but ... well, I'm happy enough that this bug seemingly is crushed now."

-DennisL

@dnschneid did you put the newest version on the regular download link?? the https://goo.gl/fd3zc or is it automatically updated. I want to have the newest version.

@dnschneid omg!! It actually ran past the "Installing crash_reporter_wrapper into the host..." crossing my fingers...

@herran I guess you discovered that the normal download link was the way to go :)

@dnschneid  yeah. thanks for fixing this. I was so scared because I had a python class starting tomorrow. And I only had a chromebook. thanks!!

@dnschneid nevermind. failed again :
Installing crash_reporter_wrapper into the host...
dpkg: dependency problems prevent configuration of libc6-dev:i386:
libc6-dev:i386 depends on linux-libc-dev.
dpkg: error processing libc6-dev:i386 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libc6-dev:i386
Failed to complete chroot setup.
Unmounting /mnt/stateful_partition/crouton/chroots/precise...
chronos@localhost / $

That's a totally different issue; you'll need to skip the update, go into your chroot and fix packages.

ok.

@dnschneid is there an error page for that error too? sudo help

got it fixed and installed. Thanks!!
On Fri, Sep 2, 2016 at 3:57 PM, David Schneider<EMAIL_ADDRESS>wrote:

That's a totally different issue; you'll need to skip the update, go into
your chroot and fix packages.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dnschneid/crouton/pull/2735#issuecomment-244505906,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUrwMSrg8xxYyKXLQbjxHpUYMisB4LsJks5qmKnNgaJpZM4JoA7a
.


feat: kusion init support custom params body in JSON string, replace default value in kusion.yaml of specified template

close: https://github.com/KusionStack/kusion/issues/72

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

25 of 34 (73.53%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.05%) to 75.743%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/kusionctl/cmd/init/options.go
22
31
70.97%

Files with Coverage Reduction
New Missed Lines
%

pkg/kusionctl/cmd/init/options.go
1
72.55%

Totals

Change from base Build<PHONE_NUMBER>:
-0.05%

Covered Lines:
3694

Relevant Lines:
4877

💛  - Coveralls


NewLispLexer for *.kif files

(Original issue 1239 created by jefft0 on 2016-05-09T17:25:01.158578+00:00)
Hello. The Knowledge Interchange Format (KIF) uses LISP syntax. Can you add *.kif to the default filenames for pygments.lexers.lisp.NewLispLexer ? I ask because there are .kif files on GitHub and their support says they only use the Pygments defaults to display files. For example: https://github.com/ontologyportal/sumo/blob/master/Cars.kif
Thanks,

Jeff

(Original issue was assigned to tshatch)
(Original issue 1239 last updated on 2016-06-01T07:52:04.622122+00:00)
(Issue automaticaly closed due to status in Bitbucket: resolved)

(Original comment by tshatch on 2016-06-01T07:50:40.185808+00:00)
I'm pretty sure they switched away from Pygments a while ago, see https://github.com/github/linguist

(Original comment by tshatch on 2016-06-01T07:52:04.614706+00:00)
Add extension for kif.
Fixes #1239
→ <<cset 08da5c1ccd80>>


Invoke parent DDP configuration for torch>1.10.2

Signed-off-by: Jerome<EMAIL_ADDRESS>What does this PR do?
For torch> 1.10.2, hpu based ddp configuration was resulting in recursive calls due to self invocation.

Fixes #<issue_number>
Does your PR introduce any breaking changes? If yes, please list them.

Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you list all the breaking changes introduced by this pull request?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

@jerome-habana Could you update the Changelog please?


upgrade dependencies (use analyzer 6.0.0)

Fixes https://github.com/Iteo/theme_tailor/issues/87. Had to raise min-sdk version, so this will be a breaking-change.
Tested with flutter 3.13.8

To use this until an official update to the package is published you need to do the following in your pubspec:
Replace theme_tailor with:
  theme_tailor:
    git:
      url: https://github.com/Maatteogekko/theme_tailor.git
      path: 'packages/theme_tailor'

Add these dependency overrides:
  test_api: ^0.6.1
  theme_tailor_annotation:
    git:
      url: https://github.com/Maatteogekko/theme_tailor.git
      path: 'packages/theme_tailor_annotation'


"feat:  Identifying opportunities to leverage AI within the manufacturing sector"

""

:tada: This PR is included in version 1.87.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


python310Packages.pynetgear: 0.10.5 -> 0.10.6

Description of changes
https://github.com/MatMaul/pynetgear/releases/tag/0.10.6

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

3 packages built:

home-assistant-component-tests.netgear
python310Packages.pynetgear
python39Packages.pynetgear


Add record support

Before this PR

Previously java poet didn't support generating record types and now it does!
After this PR

==COMMIT_MSG==
Add record support
==COMMIT_MSG==
Possible downsides?

Thanks for your interest in palantir/javapoet, @xanderbailey! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request.

Would also like @carterkozak to take a brief look, just to get another opinion on this API.

@pkoenig10 sorry, I haven't had a chance to give this a thorough review yet. If you're happy with it, I trust your judgement


[OnlineMeeting&Mar.21]SeaTunnel community meeting Topic collect

Search before asking

[X] I had searched in the feature and found no similar feature requirement.

Description
EricJoy2048 invites you to a meeting on Tencent Meeting
Meeting Topic: SeaTunnel Community Meeting
Time: 2023/03/21 20:00-21:00 (GMT+08:00) China Standard Time - Beijing
Click the link to join the meeting or to add it to your meeting list:
https://meeting.tencent.com/dm/PjxSeLx0yRXj
#TencentMeeting: 435-511-603
Copy this invitation and open in Tencent Meeting app (V2.13 or later) to join the meeting
Everyone is very welcome to join:
If you have an issue, please submit it one day before the meeting, and provide a specific issue link and context.
Usage Scenario
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

About rename seatunnel-engine to seatunnel-zeta .
Here is some pull request about this.
https://github.com/apache/incubator-seatunnel/pull/4089


Build fails with NoClassDefFoundError for sun.awt.X11GraphicsEnvironment

I always get this error when I try to build GmsCore:
$ ./gradlew build
Skipping debug jar:microg-ui-tools:preBuild UP-TO-DATE
:microg-ui-tools:preDebugBuild UP-TO-DATE
:microg-ui-tools:checkDebugManifest
:microg-ui-tools:preDebugAndroidTestBuild UP-TO-DATE
:microg-ui-tools:preDebugUnitTestBuild UP-TO-DATE
:microg-ui-tools:preReleaseBuild UP-TO-DATE
:microg-ui-tools:preReleaseUnitTestBuild UP-TO-DATE
:microg-ui-tools:prepareComAndroidSupportAnimatedVectorDrawable2531Library
:microg-ui-tools:prepareComAndroidSupportAppcompatV72531Library
:microg-ui-tools:prepareComAndroidSupportPreferenceV142531Library
:microg-ui-tools:prepareComAndroidSupportPreferenceV72531Library
:microg-ui-tools:prepareComAndroidSupportRecyclerviewV72531Library
:microg-ui-tools:prepareComAndroidSupportSupportCompat2531Library
:microg-ui-tools:prepareComAndroidSupportSupportCoreUi2531Library
:microg-ui-tools:prepareComAndroidSupportSupportCoreUtils2531Library
:microg-ui-tools:prepareComAndroidSupportSupportFragment2531Library
:microg-ui-tools:prepareComAndroidSupportSupportMediaCompat2531Library
:microg-ui-tools:prepareComAndroidSupportSupportV42531Library
:microg-ui-tools:prepareComAndroidSupportSupportVectorDrawable2531Library
:microg-ui-tools:prepareComTakisoftFixPreferenceV725310Library
:microg-ui-tools:prepareDebugDependencies
:microg-ui-tools:compileDebugAidl UP-TO-DATE
:microg-ui-tools:compileDebugNdk UP-TO-DATE
:microg-ui-tools:compileLint UP-TO-DATE
:microg-ui-tools:copyDebugLint UP-TO-DATE
:microg-ui-tools:compileDebugRenderscript UP-TO-DATE
:microg-ui-tools:generateDebugBuildConfig UP-TO-DATE
:microg-ui-tools:generateDebugResValues UP-TO-DATE
:microg-ui-tools:generateDebugResources UP-TO-DATE
:microg-ui-tools:mergeDebugResources
java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment
:microg-ui-tools:mergeDebugResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':microg-ui-tools:mergeDebugResources'.
> java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 2.932 secs

This is on a headless server that doesn't even have an X server installed! This happens for release (except with mergeReleaseResources) as well. I tried running with --info and --debug but it didn't give me anything useful. I've also tried switching to use Oracle's JDK instead of OpenJDK and installing a local X server on the machine building but that didn't change anything either. This is on a freshly cloned copy of the repo.

This has nothing to do with microG but indicates that the android gradle build system does not run properly on your installation. You might want to ensure that you have a full installation of JDK, not a reduced headless version.

Ok, I'll ask on SO instead.


Upgrade to Visual Studio 2015 or 2017

Could you please update the project to support the new visual studio?

Hi, both the NetworkCommunication and the Unity projects use Visual Studio 2015. Which project opens in a different Visual Studio for you?
Marek

The HololensReceiver project. Can it be because I have community edition of VS? (message: This project is incompatible with the current edition of Visual Studio)

Hi,
Which version of VS do you have? Is it 2015 or 2017 community, is it fully updated?
I have VS 2015 community and it works for me.
Marek

I have both, and fully updated yes.

Hi,
I have just realised that you wrote that you cannot open the HololensReceiver project, all the time I thought you mean the other one. That project is not meant to be opened with Visual Studio, you should open this entire directory with the Unity Editor.
Marek


Review all settings using units

Defining units on settings makes them really rigid, e.g.:
$shell-g-border-radius: 3px;

https://github.com/campaignmonitor/shell/blob/master/src/_settings.scss#L208
If we wanted a larger radius we can't do:
$shell-g-border-radius-large: $shell-g-border-radius + 1;

Let's review all settings with units.

It seems Sass allows this now.


[Feature Request] publish using version argument

The issue
Right now, as far as I can tell, the version of a package must be set in a config json. Be that deno.json, jsr.json or other. I miss the ability to control the version of my package outside of the package itself, specifically through a GitHub workflow that gets triggered on publishing a new release. This creates the possibility of my release version and package version being out of sync (something that I have already done by mistake).
The solution
I suggest that the publish command has a --version flag that can be optionally used to provide the new version instead of including it in the config file. I primarily want to be able to pass the exact version number, but it might also be useful to pass patch, minor or major to automatically increment the version.
Potential issues

A --version argument should probably not override an existing version entry in the package config, as I imagine that could create issues or confusion when downloading a specific version of the package where the config file says it's another version.
Setting a version through an argument could allow publishing the exact same code as a new version, multiple times. Maybe this could be solved through analyzing the contents and recognizing duplicate versions?

Yes this feature makes sense to me. I think we should just hard error if the --version flag is passed, if there is also a version field specified in the config file.
Additionally, we'd still require specifying versions for individual packages when publishing a workspace.

I agree that hard error in the case of --version flag and version field makes the most sense.

Resolved by https://github.com/denoland/deno/pull/26141. Related: #544, #555.

This is implemented as of https://github.com/jsr-io/jsr/pull/868
To use it, remove the version field from the jsr.json/deno.json and then use the --set-version <verison> flag.
Also, I'd recommend checking out https://github.com/dsherret/jsr-publish-on-tag/


cassandra: how to manage cross-cluster replication

https://aiven.atlassian.net/browse/DOC-167
This is a part of the PR set covering the cross-cluster replication feature for Aiven for Apache Cassandra.
By the time they are merged, I'm not able to cross-reference between them, which is obviously needed. When all the four articles are merged, I'll include relevant links in all of them so that the user is properly guided thru the whole thing.

CCR concept https://github.com/aiven/devportal/pull/1759
Enable CCR https://github.com/aiven/devportal/pull/1732
Disable CCR https://github.com/aiven/devportal/pull/1734

Thank you, @dmitry-potepalov ! comments addressed :-)


feat: make params work

Make params from readme work. Not clean code but this codebase also is not good

@zombiQWERTY, this issue may be related to your PR (https://github.com/amorimjj/redoc-try-it-out/issues/3).  Were you able to get the Redoc options to work when calling RedocTryItOut.init()?
Secondly, do you have a dist version of your PR that I can test out and play around with?  I have a feeling @amorimjj hasn't seen your PR.

whats annoying me the most is how simple it is to fix this. It also annoys me how simple it is to test the code. For ex bare minimum test would include testing the config parsing. Which doesn't work due to the nature of readonly (I guess). Im "this" close to just forking it or submoduling it, and adding a git patch before building up the dist and including it without cdn.

I used debugger in chrome which allow me to run arbitrary code while debugging.
I debugged here right after the super

    public constructor(docUrl: string, cfg:RedocTryItOutOptions, element?: HTMLElement) {
        super(cfg);
        this.docUrl = docUrl;
        this.element = element;
    }

and did a this.redocVersion = "2.1.3" and then unpaused debugger. It continued to download v2.1.3 of redoc. Thus showing that its not limitations with readonly, but a bug in the options parsing in the super class Config

I made a smaller stab in this PR to prove that options are not overridable https://github.com/amorimjj/redoc-try-it-out/pull/5
I think its better to start with tests and fix code first when there is a test to prove whats wrong.

See this:
https://github.com/CommunityExtensions/redoc-try-it-out


overflow-x-auto on react-slick hompage website

there is currently an overflow on the homepage of react-slick
i guess this can be fixed by setting the width to 100%

We are rebuilding the docs with Docusaurus. This will be fixed in the new docs


Rename MakeStringCopy in LocalyticsUnity.mm to avoid conflicts with Facebook SDK

Per request by Localytics Support

These changes have been incorporated in another pull request (https://github.com/localytics/localytics-unity/pull/3).


feat(gulp): Add the copy:localConfig task to Gulp

Adds a task to copy the example local environment config, and save it as a development environment config.
Releated: #1175

LGTM

Should copy:localConfig task come before lint? also, I don't think you want to run copy:localConfig in parallel with nodemon/watch? do you?

@rhutchison I've updated this based on your feedback. Thanks.
Let me know how it looks to you now.

That's pretty long, can you make it shorter like copyLocalEnvConfig?

@ilanbiala Updated the name. Thanks.


Torrent tracker refuses connection

The torrent tracker for the depth data sharing is refusing connections since yesterday afternoon.
http://5adbwbq4feu2urke.myfritz.net:37101/announce
No connection could be made because the target machine actively refused it.

Indeed. Machine crashed. I need to figure out a service there. Thanks for the hint.

Oh and it is back up again


email alert always failed,all count values is 0

tail -f ./pinpoint-web/logs/catalina.out
2020-03-25 15:25:01 INFO  ErrorCountChecker result is false for application (shop-service). value is 0. (threshold : 1).
2020-03-25 15:25:01 INFO  SlowCountChecker result is false for application (shop-service). value is 0. (threshold : 1).
2020-03-25 15:25:01 INFO  SlowCountToCalleeChecker result is false for application (shop-service). value is 0. (threshold : 1).
2020-03-25 15:25:02 INFO  ResponseCountChecker result is false for application (shop-service). value is 0. (threshold : 1).
2020-03-25 15:25:02 INFO  TotalCountToCalleeChecker result is false for application (shop-service). value is 0. (threshold : 1).
why all count is 0 ?
my note is <IP_ADDRESS>:1988
shop-service run in ip:<IP_ADDRESS>  port: 1988
What value should I set in the configuration UI's "Note..." box ?
i see this url:
https://github.com/naver/pinpoint/blob/master/doc/alarm.md
it say :
" SLOW RATE TO CALLEE
Triggered when the percentage(%) of slow requests sent by the application exceeds the configured threshold.
You must specify the domain or the address(ip, port) in the configuration UI's "Note..." box
ex) www.naver.com, <IP_ADDRESS>:8080"
which is this ip or domain ？ my application ip ?

Your intention is not understood correctly.
It is expected that you may be confused with SLOW RATE TO CALLEE and SLOW RATE. Don't set it to SLOW RATE TO CALLEE but set it to slow rate to see if it works as expected.
Also, it is necessary to check whether transaction data is collected through the servermap.


How to deal with multiple host？

If there are interfaces A and B in my pressure test script, and the domain name of interface a is inconsistent with that of interface B, how can I implement these two interfaces in one pressure test script? Can I only write two scripts separately?
A:
host = "https://api.kbh.thecover.cn"
@task(2)
@tag('api_api_exhibition_hall_getconfigpath')
def api_api_exhibition_hall_getconfigpath(self):
………………
B:
host = "https://web.kbh.thecover.cn"
@task(1)
@tag('api_yzg_kbh_zh_home')
def api_yzg_kbh_zh_home(self):
………………

Not 100% sure what you mean, but you can use absolute URLs in your request. e.g.
@task
def my_task(self):
    self.client.get("https://web.kbh.thecover.cn/something")
    self.client.get("https://api.kbh.thecover.cn/something-else")

This is how I  dinamically generate HttpLocust intances given a list of target hosts:
def generate_locusts(target_hosts):
    this = sys.modules[__name__]
    for hostname in target_hosts:
        locust_name = ''.join([w.capitalize() for w in hostname.split('.')])
        locust_name = f'{locust_name}WebUser'
        logger.info(f'Creating locust {locust_name} for hostname {hostname}')
        setattr(this, locust_name, type(locust_name, (HttpLocust,), {
            'task_set': SmokeTests,
            'host': f'https://{hostname}',
            'weight': 1,
            'wait_time': between(0, 1)
        }))

generate_locusts(['t0.example.io','t1.example.io','t2.example.io'])

That looks really complicated and I dont understand why you are doing it :) Just use full URLs like in my example.
Also you should upgrade your locust version.

Don't bother, I took this snippet from a project I worked for about 2 years ago.
The full locust file was even more complex than that.
It was a very peculiar use case where we were using locust for post deployment smoke tests.

Thanks for answer, I get it.


Can camelCase?

Can any option to camelcase selectors?
example:
.any-element >> anyElement
see https://github.com/webpack/css-loader
css-loader?camelCase

There isn't an option for this yet, I'll have to see what it would take to enable.

You can do this now!
package.json:
"cssModules": {
  "jsClassNamingConvention": {
    "camelCase": true
  }
}

See the package options wiki page for more details.

@nathantreid thanks


Avoid use of indicesService in Resume replicaiton flow

Description
[Describe what this change achieves]
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Can you add some description regarding why this change is being done ?


Use qt-main 5.15

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

So the patches need updating? Unfortunately I'm not going to be able to have a proper look at this for a couple of weeks... Are you happy to have a go?

So the patches need updating? Unfortunately I'm not going to be able to have a proper look at this for a couple of weeks... Are you happy to have a go?

@gillins I am trying but my knowledge about all this is very limited and I have troubles understanding were to even begin to investigate or fi things.

One thing I have noticed is that conda-smithy has removed qt from ci support files, which doesn't make sense.
https://github.com/conda-forge/pyqtwebkit-feedstock/pull/5/files#diff-c33a37c49313edd13da48c1d74cdcf290ef18eb3e40e2276e711e1f24384baa0L25

One thing I have noticed is that conda-smithy has removed qt from ci support files, which doesn't make sense.

I don't think the migrator was live then. You can try to copy the new migrator files in.
For linux, the error seems to be:
$BUILD_PREFIX/bin/../lib/gcc/x86_64-conda-linux-gnu/10.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: $PREFIX/lib/libQt5Core.so: undefined reference to<EMAIL_ADDRESS>$BUILD_PREFIX/bin/../lib/gcc/x86_64-conda-linux-gnu/10.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: $PREFIX/lib/libQt5Core.so: undefined reference to<EMAIL_ADDRESS>
https://conda-forge.org/docs/maintainer/knowledge_base.html?highlight=glibc#using-centos-7
FYI: I think we've started to use the new docker images by default.

Superseeded by #6


Revert "Revert "Revert "adding Grenoble base hub"""

Reverts 2i2c-org/pilot-hubs#239
Not sure what is up, will investigate later.

Lol i chuckled when i saw this


Didn't see file close

https://github.com/pingcap-incubator/tinykv/blob/b6d7c442e3c9d1eac7192c3bff8372b16a7ae18b/kv/raftstore/snap/snap.go#L680-L685
cannot find where the file closed

nice catch! Please send a PR to fix it~


Negation

Added new negation functionality. If an entire valueset is being negated the user sees a drop down on the record sample form instead of a text field to enter a code. What the user sees is dependent on what the negation flag is set to. If user is an admin and ATL they see a new button that gives them the option to toggle the negation value on the record sample form. If they change the toggle from on to off and click save at the bottom of the form the dropdown will change to a text field.

I would squash this to one or 2 commits.

clicking enter in one of the text boxes opens up the Edit test


Access Violation when selecting song

Describe the bug
Crash with Access Violation:
crashinfo.txt
To Reproduce
Steps to reproduce the behavior:

Launch
Enter song selecting screen

Expected behavior
Normally select and play
Screenshots
ommited since hard to show by image
Desktop (please complete the following information):

OS: [e.g. iOS] Windows 7
Version [e.g. 22] 0.66.1
64bit or 32bit 64bit

Additional context
Add any other context about the problem here.

There are several ways to crash when on music select. I need you to be more specific.

Mmm, just was trying pick music...
But if you still need, I will take a movie that shows this

If no video or further description is provided for the next couple of days, I will have to close this issue.


Update #046 to reflect the recent change in upstream Kafka

https://issues.apache.org/jira/browse/KAFKA-14658 requires small change to the existing proposal
https://github.com/strimzi/proposals/blob/main/046-kraft-liveness-readiness.md.
Before this upstream change, Kafka broker port would be opened before the log recovery. Based on this logic, #046 proposed liveness probe for broker only mode to listen on the port 9091 which is configured in inter.broker.listener.name. However, after the upstream change in KAFKA-14658, the port is now opened when broker is ready to accept traffic which happens after log recovery. If the log recovery takes a long time, then using the listening on the port for liveness check risks Kubernetes killing the broker.
#046 proposed liveness probe for controller and combined mode to have running Java process in the container. The reason for this was because of very similar issue. For controller mode, the log recovery happens before socket bind, which happens before socket listen (the LISTEN state), so if recovery of the __cluster_metadata log takes a long time then using the port for a liveness check risks Kubernetes killing the controller.
Therefore I think it makes sense to change broker only mode to have the same liveness probe (running Java process in the container) as the controller and combined mode.

Rather than changing approved proposal like this, we decided that it's better to have a new proposal that describes this and goes through proper approval or have an implementation PR which describes and explains the reasons for not following the proposal. Therefore closing this PR.


[NESTED VIRTUALIZATION] crc fail to start properly "Failed to connect to the CRC VM with SSH"

General information

OS: Linux
Hypervisor: KVM
Did you run crc setup before starting it: Yes
Running CRC on: VM

CRC version
CodeReady Containers version: 1.20.0+ef3f80d
OpenShift version: 4.6.6 (embedded in executable)

CRC status
DEBU CodeReady Containers version: 1.20.0+ef3f80d
DEBU OpenShift version: 4.6.6 (embedded in executable)
Checking file: /home/snikolov/.crc/machines/crc/.crc-exist
DEBU About to run SSH command:
df -B1 --output=size,used,target /sysroot | tail -1
DEBU SSH command results: err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain, output:
Cannot get root partition usage: ssh command error:
command : df -B1 --output=size,used,target /sysroot | tail -1
err     : ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
output  :

CRC config
<NO OUTPUT>

Host Operating System
NAME="Springdale Open Enterprise Linux"
VERSION="8.3 (Modena)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.3"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Springdale Open Enterprise Linux 8.3 (Modena)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:springdale:enterprise_linux:8.3:GA"
HOME_URL="https://springdale.princeton.edu/"
BUG_REPORT_URL="https://springdale.princeton.edu/bugzilla"

REDHAT_BUGZILLA_PRODUCT="Springdale Open Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.3
REDHAT_SUPPORT_PRODUCT="Springdale Open Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.3"

Steps to reproduce

crc setup
crc start

Expected
crc starts properly
Actual
crc fails to start and connect
Logs
[snikolov@openshift1 ~]$ crc start --log-level debug
DEBU CodeReady Containers version: 1.20.0+ef3f80d
DEBU OpenShift version: 4.6.6 (embedded in executable)
DEBU Total memory of system is<PHONE_NUMBER>6 bytes
DEBU No new version available. The latest version is 1.20.0
DEBU Couldn't set key PLATFORM_ID, no corresponding struct field found
DEBU Couldn't set key CPE_NAME, no corresponding struct field found
DEBU Couldn't set key , no corresponding struct field found
DEBU Couldn't set key REDHAT_BUGZILLA_PRODUCT, no corresponding struct field found
DEBU Couldn't set key REDHAT_BUGZILLA_PRODUCT_VERSION, no corresponding struct field found
DEBU Couldn't set key REDHAT_SUPPORT_PRODUCT, no corresponding struct field found
DEBU Couldn't set key REDHAT_SUPPORT_PRODUCT_VERSION, no corresponding struct field found
INFO Checking if podman remote executable is cached
DEBU Currently podman remote is not supported
INFO Checking if goodhosts executable is cached
DEBU goodhost executable already cached
INFO Checking minimum RAM requirements
DEBU Total memory of system is<PHONE_NUMBER>6 bytes
INFO Checking if running as non-root
INFO Checking if Virtualization is enabled
DEBU Checking if the vmx/svm flags are present in /proc/cpuinfo
DEBU CPU virtualization flags are good
INFO Checking if KVM is enabled
DEBU Checking if /dev/kvm exists
DEBU /dev/kvm was found
INFO Checking if libvirt is installed
DEBU Checking if 'virsh' is available
DEBU 'virsh' was found in /usr/bin/virsh
DEBU Checking 'virsh capabilities' for libvirtd/qemu availability
DEBU Running 'virsh capabilities'
DEBU Found x86_64 hypervisor with 'hvm' capabilities
INFO Checking if user is part of libvirt group
DEBU Checking if current user is part of the libvirt group
DEBU Running '/usr/bin/groups snikolov'
DEBU Current user is already in the libvirt group
INFO Checking if libvirt daemon is running
DEBU Checking if libvirtd service is running
DEBU Running 'systemctl status virtqemud.socket'
DEBU Command failed: exit status 3
DEBU stdout: * virtqemud.socket - Libvirt qemu local socket
   Loaded: loaded (/usr/lib/systemd/system/virtqemud.socket; disabled; vendor preset: disabled)
   Active: inactive (dead)
   Listen: /run/libvirt/virtqemud-sock (Stream)
DEBU stderr:
DEBU virtqemud.socket is neither running nor listening
DEBU Running 'systemctl status libvirtd.socket'
DEBU libvirtd.socket is running
INFO Checking if a supported libvirt version is installed
DEBU Checking if libvirt version is >=3.4.0
DEBU Running 'virsh -v'
INFO Checking if crc-driver-libvirt is installed
DEBU Checking if crc-driver-libvirt is installed
DEBU Running '/home/snikolov/.crc/bin/crc-driver-libvirt version'
DEBU Found crc-driver-libvirt version 0.12.13
DEBU crc-driver-libvirt is already installed
INFO Checking if systemd-networkd is running
DEBU Checking if systemd-networkd.service is running
DEBU Running 'systemctl status systemd-networkd.service'
DEBU Command failed: exit status 4
DEBU stdout:
DEBU stderr: Unit systemd-networkd.service could not be found.
DEBU systemd-networkd.service is not running
INFO Checking if NetworkManager is installed
DEBU Checking if 'nmcli' is available
DEBU 'nmcli' was found in /usr/bin/nmcli
INFO Checking if NetworkManager service is running
DEBU Checking if NetworkManager.service is running
DEBU Running 'systemctl status NetworkManager.service'
DEBU NetworkManager.service is already running
INFO Checking if /etc/NetworkManager/conf.d/crc-nm-dnsmasq.conf exists
DEBU Checking NetworkManager configuration
DEBU NetworkManager configuration is good
INFO Checking if /etc/NetworkManager/dnsmasq.d/crc.conf exists
DEBU Checking dnsmasq configuration
DEBU dnsmasq configuration is good
INFO Checking if libvirt 'crc' network is available
DEBU Checking if libvirt 'crc' network exists
DEBU Running 'virsh --connect qemu:///system net-info crc'
DEBU Checking if libvirt 'crc' definition is up to date
DEBU Running 'virsh --connect qemu:///system net-dumpxml --inactive crc'
DEBU libvirt 'crc' network has the expected value
INFO Checking if libvirt 'crc' network is active
DEBU Checking if libvirt 'crc' network is active
DEBU Running 'virsh --connect qemu:///system net-info crc'
DEBU libvirt 'crc' network is already active
Checking file: /home/snikolov/.crc/machines/crc/.crc-exist
? Image pull secret [? for help] **************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************

INFO Loading bundle: crc_libvirt_4.6.6.crcbundle ...
INFO Verifying bundle crc_libvirt_4.6.6.crcbundle ...
INFO Creating CodeReady Containers VM for OpenShift 4.6.6...
Found binary path at /home/snikolov/.crc/bin/crc-driver-libvirt
Launching plugin server for driver libvirt
Plugin server listening at address <IP_ADDRESS>:36075
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(crc) Calling .GetMachineName
(crc) Calling .DriverName
(crc) Calling .PreCreateCheck
Running pre-create checks...
(crc) DBG | About to check libvirt version
(crc) DBG | Validating network
(crc) DBG | Validating storage pool
(crc) DBG | Activating pool 'crc'
(crc) Calling .GetConfigRaw
(crc) Calling .Create
Creating machine...
(crc) DBG | Preparing /home/snikolov/.crc/machines/crc/crc.qcow2 for machine use
(crc) DBG | image creation took 569.38813ms
(crc) DBG | Verifying executable bit set on /home/snikolov/.crc/machines/crc
(crc) DBG | Verifying executable bit set on /home/snikolov/.crc/machines
(crc) DBG | Verifying executable bit set on /home/snikolov/.crc
(crc) DBG | Verifying executable bit set on /home/snikolov
(crc) DBG | Verifying executable bit set on /home
(crc) DBG | Defining VM...
(crc) DBG | Found x86_64 hypervisor with 'hvm' capabilities
(crc) DBG | Found q35 machine type
(crc) DBG | Adding the file: /home/snikolov/.crc/machines/crc/.crc-exist
(crc) DBG | disk image capacity is already<PHONE_NUMBER>4 bytes
(crc) DBG | Starting VM crc
(crc) DBG | Validating network
(crc) DBG | Validating storage pool
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 0/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 1/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 2/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...

<SNIP>

DEBU retry loop: attempt 288
DEBU About to run SSH command:
exit 0
Cannot read private ssh key /home/snikolov/.crc/machines/crc/id_rsa
DEBU SSH command results: err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain, output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
output  :  - sleeping 1s
DEBU RetryAfter timeout after 289 tries
Making call to close driver server
(crc) Calling .Close
Successfully made call to close driver server
Making call to close connection to plugin binary
Failed to connect to the CRC VM with SSH -- host might be unreachable: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
output  :  (x289)

Please consider posting the output of crc start --log-level debug  on http://gist.github.com/ and post the link in the issue.

@hunter86bg Can you also put the logs what is in  the <SNIP> because first we use the key which is part of bundle for authentication and then generate the new key which is part of .crc/machine/crc/id_rsa .

@hunter86bg Can you also put the logs what is in  the <SNIP> because first we use the key which is part of bundle for authentication and then generate the new key which is part of .crc/machine/crc/id_rsa .

I've run:
[snikolov@openshift1 ~]$ crc delete -f
[snikolov@openshift1 ~]$ crc cleanup
[snikolov@openshift1 ~]$ crc setup
[snikolov@openshift1 ~]$ crc config set pull-secret-file /home/snikolov/secret
[snikolov@openshift1 ~]$ crc config view
- pull-secret-file                      : /home/snikolov/secret
[snikolov@openshift1 ~]$ crc start --log-level debug &> debuglog

debuglog.gz

I've run:
[snikolov@openshift1 ~]$ crc delete -f
[snikolov@openshift1 ~]$ crc cleanup
[snikolov@openshift1 ~]$ crc setup
[snikolov@openshift1 ~]$ crc config set pull-secret-file /home/snikolov/secret
[snikolov@openshift1 ~]$ crc config view
- pull-secret-file                      : /home/snikolov/secret
[snikolov@openshift1 ~]$ crc start --log-level debug &> debuglog

debuglog.gz

For me there is a problem with the VM, as it couldn't detect the IP.

For me there is a problem with the VM, as it couldn't detect the IP.

Any idea what is going on ?

Any idea what is going on ?

It looks like the VM is not starting for some reason. Can you check whether it's running or not with virsh -c qemu:///system list --all? If it's not running, I'd look at the logs in /var/log/libvirt/qemu/crc.log. If it's running, you should be able to connect to it with virt-viewer -c qemu:///system crc to see its display.

It looks like the VM is not starting for some reason. Can you check whether it's running or not with virsh -c qemu:///system list --all? If it's not running, I'd look at the logs in /var/log/libvirt/qemu/crc.log. If it's running, you should be able to connect to it with virt-viewer -c qemu:///system crc to see its display.

Actually you are right, the VM is frozen . I will try to debug it further.

Actually you are right, the VM is frozen . I will try to debug it further.

Something in the VM definition is not OK with the libvirt/qemu on EL8 and it fails to properly boot.
I have removed the VM's disks, created new and reinstalled vanilla CentOS7 and it seems to be working:
[snikolov@openshift1 ~]$ crc start
INFO Checking if running as non-root
INFO Checking if podman remote executable is cached
INFO Checking if admin-helper executable is cached
INFO Checking minimum RAM requirements
INFO Checking if Virtualization is enabled
INFO Checking if KVM is enabled
INFO Checking if libvirt is installed
INFO Checking if user is part of libvirt group
INFO Checking if libvirt daemon is running
INFO Checking if a supported libvirt version is installed
INFO Checking if crc-driver-libvirt is installed
INFO Checking if systemd-networkd is running
INFO Checking if NetworkManager is installed
INFO Checking if NetworkManager service is running
INFO Checking if /etc/NetworkManager/conf.d/crc-nm-dnsmasq.conf exists
INFO Checking if /etc/NetworkManager/dnsmasq.d/crc.conf exists
INFO Checking if libvirt 'crc' network is available
INFO Checking if libvirt 'crc' network is active
? Image pull secret [? for help] **********************************

INFO Loading bundle: crc_libvirt_4.6.9.crcbundle ...
INFO Verifying bundle crc_libvirt_4.6.9.crcbundle ...
INFO Creating CodeReady Containers VM for OpenShift 4.6.9...
INFO CodeReady Containers VM is running
INFO Generating new SSH Key pair ...
INFO Updating authorized keys ...
INFO Copying kubeconfig file to instance dir ...
INFO Starting network time synchronization in CodeReady Containers VM
INFO Check internal and public DNS query ...
INFO Check DNS query from host ...
INFO Adding user's pull secret to instance disk...
INFO Verifying validity of the kubelet certificates ...
INFO Starting OpenShift kubelet service
INFO Adding user's pull secret to the cluster ...
INFO Updating cluster ID ...
INFO Starting OpenShift cluster ... [waiting 3m]
INFO Updating kubeconfig
WARN Skipping the kubeconfig update. Cluster operator authentication still not ready after 2min.
WARN The cluster might report a degraded or error state. This is expected since several operators have been disabled to lower the resource usage. For more information, please consult the documentation

Started the OpenShift cluster

To access the cluster, first set up your environment by following the instructions returned by executing 'crc oc-env'.
Then you can access your cluster by running 'oc login -u developer -p developer https://api.crc.testing:6443'.
To login as a cluster admin, run 'oc login -u kubeadmin -p D4tTL-hJYdy-qe36Y-okTwh https://api.crc.testing:6443'.

You can also run 'crc console' and use the above credentials to access the OpenShift web console.
The console will open in your default browser.

Something in the VM definition is not OK with the libvirt/qemu on EL8 and it fails to properly boot.
I have removed the VM's disks, created new and reinstalled vanilla CentOS7 and it seems to be working:
[snikolov@openshift1 ~]$ crc start
INFO Checking if running as non-root
INFO Checking if podman remote executable is cached
INFO Checking if admin-helper executable is cached
INFO Checking minimum RAM requirements
INFO Checking if Virtualization is enabled
INFO Checking if KVM is enabled
INFO Checking if libvirt is installed
INFO Checking if user is part of libvirt group
INFO Checking if libvirt daemon is running
INFO Checking if a supported libvirt version is installed
INFO Checking if crc-driver-libvirt is installed
INFO Checking if systemd-networkd is running
INFO Checking if NetworkManager is installed
INFO Checking if NetworkManager service is running
INFO Checking if /etc/NetworkManager/conf.d/crc-nm-dnsmasq.conf exists
INFO Checking if /etc/NetworkManager/dnsmasq.d/crc.conf exists
INFO Checking if libvirt 'crc' network is available
INFO Checking if libvirt 'crc' network is active
? Image pull secret [? for help] **********************************

INFO Loading bundle: crc_libvirt_4.6.9.crcbundle ...
INFO Verifying bundle crc_libvirt_4.6.9.crcbundle ...
INFO Creating CodeReady Containers VM for OpenShift 4.6.9...
INFO CodeReady Containers VM is running
INFO Generating new SSH Key pair ...
INFO Updating authorized keys ...
INFO Copying kubeconfig file to instance dir ...
INFO Starting network time synchronization in CodeReady Containers VM
INFO Check internal and public DNS query ...
INFO Check DNS query from host ...
INFO Adding user's pull secret to instance disk...
INFO Verifying validity of the kubelet certificates ...
INFO Starting OpenShift kubelet service
INFO Adding user's pull secret to the cluster ...
INFO Updating cluster ID ...
INFO Starting OpenShift cluster ... [waiting 3m]
INFO Updating kubeconfig
WARN Skipping the kubeconfig update. Cluster operator authentication still not ready after 2min.
WARN The cluster might report a degraded or error state. This is expected since several operators have been disabled to lower the resource usage. For more information, please consult the documentation

Started the OpenShift cluster

To access the cluster, first set up your environment by following the instructions returned by executing 'crc oc-env'.
Then you can access your cluster by running 'oc login -u developer -p developer https://api.crc.testing:6443'.
To login as a cluster admin, run 'oc login -u kubeadmin -p D4tTL-hJYdy-qe36Y-okTwh https://api.crc.testing:6443'.

You can also run 'crc console' and use the above credentials to access the OpenShift web console.
The console will open in your default browser.

Something in the VM definition is not OK with the libvirt/qemu on EL8 and it fails to properly boot.

The libvirtd logs/VM logs would have been useful to try to figure this out :) I have crc running fine on EL8 on my daily test machine.

Something in the VM definition is not OK with the libvirt/qemu on EL8 and it fails to properly boot.

The libvirtd logs/VM logs would have been useful to try to figure this out :) I have crc running fine on EL8 on my daily test machine.

My setup is quite specific:

oVirt VM 4 CPUs and 12 GB or RAM with nested kvm to host the 'crc'
AMD CPU
Springdale 8.3 (fork of RHEL 8.3)

As CentOS 7 works fine (same VM), the VM hosting the 'crc' is OK.
I checked the 'crc' VM is using host-passthrough , so the cpu type is OK.
I will spin a RHEL 8.3 to check if it's reproducable there.

My setup is quite specific:

oVirt VM 4 CPUs and 12 GB or RAM with nested kvm to host the 'crc'
AMD CPU
Springdale 8.3 (fork of RHEL 8.3)

As CentOS 7 works fine (same VM), the VM hosting the 'crc' is OK.
I checked the 'crc' VM is using host-passthrough , so the cpu type is OK.
I will spin a RHEL 8.3 to check if it's reproducable there.

It's definately not a distro issue.
Same behaviour on RHEl 8.3.
After I touched the CPU settings, now the Vm stops at 7th second of the boot process (previously it was 0.3s).

Would be useful to see what's going on in the VM, can you try https://github.com/code-ready/crc/issues/1853#issuecomment-764805370 or https://github.com/code-ready/crc/issues/1853#issuecomment-766761975 ?

It just stucks.
With default xml on 0.3s of the boot and with reduced cpu count it stucks on 7th second

I will try to provide more details once I get any progress

It just stucks.
With default xml on 0.3s of the boot and with reduced cpu count it stucks on 7th second

This doesn't tell much about which step exactly it's stuck on ;) By any chance, is this happening with a ryzen CPU? And your latest tests were on non-nested setups?

I can provide screenshots when I'm back.
Still nested, VM is using host-passthrough (FX-8350) and has all necessary flags for Virtualization.

On AMD, I'd recommend making sure you are using the latest bios version, this has been causing issues on some systems.

On EL7 the following is generated and works without any issues:
<domain type='kvm' id='1'>
  <name>crc</name>
  <uuid>95b9eb62-8d28-4ef8-99c9-7160773e2eaf</uuid>
  <memory unit='KiB'>9000960</memory>
  <currentMemory unit='KiB'>9000960</currentMemory>
  <vcpu placement='static'>4</vcpu>
  <resource>
    <partition>/machine</partition>
  </resource>
  <os>
    <type arch='x86_64' machine='pc-i440fx-rhel7.0.0'>hvm</type>
    <boot dev='hd'/>
    <bootmenu enable='no'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <cpu mode='host-passthrough' check='none'>
    <feature policy='disable' name='rdrand'/>
  </cpu>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <emulator>/usr/libexec/qemu-kvm</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' io='threads'/>
      <source file='/home/snikolov/.crc/machines/crc/crc.qcow2'/>
      <backingStore type='file' index='1'>
        <format type='qcow2'/>
        <source file='/home/snikolov/.crc/cache/crc_libvirt_4.6.9/crc.qcow2'/>
        <backingStore/>
      </backingStore>
      <target dev='vda' bus='virtio'/>
      <alias name='virtio-disk0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </disk>
    <controller type='usb' index='0' model='piix3-uhci'>
      <alias name='usb'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pci-root'>
      <alias name='pci.0'/>
    </controller>
    <interface type='network'>
      <mac address='52:fd:fc:07:21:82'/>
      <source network='crc' bridge='crc'/>
      <target dev='vnet0'/>
      <model type='virtio'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <serial type='pty'>
      <source path='/dev/pts/1'/>
      <target type='isa-serial' port='0'>
        <model name='isa-serial'/>
      </target>
      <alias name='serial0'/>
    </serial>
    <console type='pty' tty='/dev/pts/1'>
      <source path='/dev/pts/1'/>
      <target type='serial' port='0'/>
      <alias name='serial0'/>
    </console>
    <input type='mouse' bus='ps2'>
      <alias name='input0'/>
    </input>
    <input type='keyboard' bus='ps2'>
      <alias name='input1'/>
    </input>
    <graphics type='vnc' port='5900' autoport='yes' listen='<IP_ADDRESS>'>
      <listen type='address' address='<IP_ADDRESS>'/>
    </graphics>
    <video>
      <model type='cirrus' vram='16384' heads='1' primary='yes'/>
      <alias name='video0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <memballoon model='none'/>
    <rng model='virtio'>
      <backend model='random'>/dev/urandom</backend>
      <alias name='rng0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </rng>
  </devices>
  <seclabel type='dynamic' model='selinux' relabel='yes'>
    <label>system_u:system_r:svirt_t:s0:c348,c364</label>
    <imagelabel>system_u:object_r:svirt_image_t:s0:c348,c364</imagelabel>
  </seclabel>
  <seclabel type='dynamic' model='dac' relabel='yes'>
    <label>+107:+107</label>
    <imagelabel>+107:+107</imagelabel>
  </seclabel>
</domain>

Dropping the count of vCPUs of the 'crc' VM to 1 allows me to reach:

Original config stucks at:

As you can see it can't reach the switchroot.

On EL7 the following is generated and works without any issues:

So EL7 + this xml + nested virt works fine, but EL8 + default xml + nested virt fails? Have you tried the el7 xml on the EL8 machine? kernel/qemu will be different between EL7 and EL8, this makes it hard to know if it works because of the XML, or because of the different kernel/qemu.

I already tried theEL7 default config on nested EL8 -> doesn't work.

This looks like a kernel/qemu/hypervisor/cpu related nested virtualization issue, I'm afraid we won't be able to do much for it in crc :-(
Double check https://github.com/code-ready/crc/issues/1853#issuecomment-775252444 in case it magically solves it.

I will try to deploy another VM in that ovirt virtual Hypervisor and double check if it's crc related or nested virt issue.

Sadly you are right, nested virtualization is not working.
According to https://access.redhat.com/solutions/58204 Nested Virtualization for AMD CPUs is in tech preview and requires the Bare metal host to be also working on EL 8

I guess we can leave this issue open for other users.

For what it's worth, I've been having success with RHEL8 host + nested virt on a ryzen 3600 CPU, so it's tech preview, but it can work well :) Check again for bios updates if you haven't done so yet, this has been helping some other people trying crc with nested virt.

Sadly the hardware is too old and has no bios updates .
I believe that it's due to the fact that the Hypervisor is EL7 with netsted Hypervisor is EL 8 ...

Closing, as this is not an issue with CRC.


112315 cherry picks

We are releasing 1.4.1 of DTR
Also changes since 1.9

@thaJeztah @SvenDowideit

yup, LGTM - those changes all look like fixes

This commit shouldn't be in there; it contains changes not in 1.9.1 and changes to vendored files; https://github.com/moxiegirl/docker/commit/e5e64614bb963fa074fb46ee8d985896eabbc95f (There's one typo fix in it for the documentation though, so idk what's best here)

This PR could be considered for inclusion; https://github.com/docker/docker/pull/18029. Looking if there are others

This one is probably nice to have as well; https://github.com/docker/docker/pull/18079

@thaJeztah the PR that merged the vendor files isn't a big deal in here. We don't release product or those files from the docs dir.

@moxiegirl true; this one needs to be fixed though: https://github.com/docker/docker/pull/18182#discussion_r45718710

Thanks! LGTM


[Feature]: Integration with Glide Data Grid

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
Hello Appsmith team.
I've been following the Glideapps platform since several months ago, in fact, I got to Appsmith, looking for an open-source alternative to Glide, and I'm delighted that I found you.
But the reason I'm telling you this is that I realize Glide is offering their fantastic table object as Open source: https://github.com/glideapps/glide-data-grid
Do you think it is possible to integrate this object into the Appsmith Platform?
Thank you guys for the amazing job you are doing.
Oscar
Why should this be worked on?
I think this object can be very useful to work with data, in a very visual way.

This is now possible with our custom widget! https://community.appsmith.com/template/data-grid

Yes, I saw it. Thanks a lot!


fix(ci): use ld_classic on macOS

I hereby agree to the terms of the GreptimeDB CLA.
Refer to a related PR or issue link (optional)
https://github.com/rust-lang/rust/issues/113783
What's changed and what's your intention?
The PR use ld_classic on macOS when releasing macOS artifact.
The latest macOS CI runner image(https://github.com/actions/runner-images/releases/tag/macos-14-arm64%2F20240611.1), its default linker can't get the backtraces properly, which will lead release failed.
thread 'selector::weighted_choose::tests::test_random_reverse_weighted_choose_should_panic' panicked at src/meta-srv/src/selector/weighted_choose.rs:173:41:
called `Result::unwrap()` on an `Err` value: 0: Failed to set weight array, at src/meta-srv/src/selector/weighted_choose.rs:87:18
1: NoItem
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
libunwind: stepWithCompactEncoding - invalid compact unwind encoding

Checklist

[ ] I have written the necessary rustdoc comments.
[ ] I have added the necessary unit tests and integration tests.
[ ] This PR requires documentation updates.

Test releasing: https://github.com/GreptimeTeam/greptimedb/actions/runs/9512299406/job/26220023893

Test releasing: https://github.com/GreptimeTeam/greptimedb/actions/runs/9512565473/job/26220823355


Fix wrong comments

Coverage remained the same at 100.0% when pulling ecf3834787ddb6072e48428092a0211200f80b60 on juanjoDiaz:fix_comments into 3bd9655ebdfecf8ac1dd2235b80fbcb252157a72 on zemirco:master.


Normalize number based on Country's ISO Alpha 3 country code

Is there a way to pass the ISO Alpha 3 country code to normalize to get it to normalize the number as-is if possible, and if not, try prepending the telephone country code that matches the passed Alpha 3 code to the number and attempting to normalize that way?
Thanks

@brentdodell Hi Brent! Is it known whether the passed number already includes the country code or not?

@floere some may, most probably don't. So no, it is not known.

And any country or just e.g. US numbers?
On Sa., 09. Apr. 2016 at 15:06 Brent Odell
<
mailto:Brent Odell<EMAIL_ADDRESS>
wrote:

@floere some may, most probably don't. So no, it is not known.
—
You are receiving this because you were mentioned.
Reply to this email directly or
https://github.com/floere/phony/issues/319#issuecomment-207787843
https://github.com/floere/phony/issues/319#issuecomment-207787843

Any country.

Short answer: sadly no. You have to prepend it yourself before passing it to the normalize method.


Support tokens that "rebase" so we can support oTokens

Methods effected:

depositAndBorrow
Liquidate

Change to the following method of collateral value calculation:
Information we need:

Number of tokens
tokenType
Oracle price of respective token type
wrappedToken Factor

Number of Tokens x wrappedTokenFactor x oracle price of tokenType

The goal is to have a flexible architecture for adding new token types that could be staked versions of tokens, wrapped versions of tokens, tokens that have a rebase (oTokens), etc.

Collateral accounting is more like liquidity pool accounting rather than account-based

Assess whether we can wait on this. What would it cost us to implement this later?


Windows container image missing from entrypoint manifest

Expected Behavior
The manifest for the entrypoint should include a Windows image, such as in the 0.30.0 release: 0.30.0 manifest
This is required for Tekton to run Windows workloads.
Actual Behavior
The manifest for the 0.31.0 release does not include a Windows image: 0.31.0 manifest
Windows workloads fail to pull the entrypoint image when using 0.31.0.
Steps to Reproduce the Problem
This affects all Windows tasks.
Additional Info

Kubernetes version:
Output of kubectl version:

Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.1", GitCommit:"86ec240af8cbd1b60bcc4c03c20da9b98005b92e", GitTreeState:"clean", BuildDate:"2021-12-17T02:23:27Z", GoVersion:"go1.17.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.2", GitCommit:"092fbfbf53427de67cac1e9fa54aaa09a28371d7", GitTreeState:"clean", BuildDate:"2021-06-16T12:53:14Z", GoVersion:"go1.16.5", Compiler:"gc", Platform:"linux/amd64"}

Tekton Pipeline version:
Output of tkn version or kubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'

Client version: 0.20.0
Pipeline version: v0.31.0

/cc @imjasonh

/cc @sbwsg @jerop

It doesn't look like windows image releases are accounted for in our release pipeline? Looking in dashboard the Pipeline we use doesn't include windows/arm64 in the default platform string:
https://dashboard.dogfooding.tekton.dev/#/namespaces/default/pipelines/pipeline-release?view=yaml
    - default: 'linux/amd64,linux/arm,linux/arm64,linux/s390x,linux/ppc64le'
      description: 'Platforms to publish for the images (e.g. linux/amd64,linux/arm64)'
      name: platforms
      type: string

Nor does the release cheatsheet we use include us overriding that param with a different platform string: https://github.com/tektoncd/pipeline/blob/main/tekton/release-cheat-sheet.md#tekton-pipelines-official-release-cheat-sheet
(Step 7 in ^ doesn't mention an extra --param=platforms=).
So I guess my question is: how did we release windows images for 0.30 in the first place?

Addendum to my previous comment: we seem to publish windows images via the publish-release Task. https://dashboard.dogfooding.tekton.dev/#/namespaces/default/tasks/publish-release?view=yaml
This does include the following:
    - default: 'linux/amd64,linux/arm,linux/arm64,linux/s390x,linux/ppc64le,windows/amd64'
      description: 'Platforms to publish for the images (e.g. linux/amd64,linux/arm64)'
      name: platforms
      type: string

(i wonder if the difference that @imjasonh pointed out in https://github.com/tektoncd/pipeline/issues/4059#issuecomment-993103382 might have caused this - referencing these tasks/pipelines in version control - or even OCI - ftw :D )

I'm running the 0.32 release in a day or two and will make sure we push out Windows images. I'll double-check the publish task we're using includes the platform before kicking things off.

I'm going to tentatively close this.  I think the underlying issue preventing the windows entrypoint from being published should be resolved. If we discover future versions missing windows images then let's reopen this one or start anew!


Dashboard toolbar

This PR adds a toolbar to the dashboard and moves actions that were previously in the tasks-widget to the toolbar. The toolbar doesn't show if an extension tab(like SQL Agent) doesn't have a tasks-widget.
Server:

Database:

Extension:

The toolbar doesn't show if an extension tab(like SQL Agent) doesn't have a tasks-widget.

Can you please share a snip for agent as well o show how that looks?


Change behaviour of update and add a replace method

Feature Description
Currently, the update method will replace the entire row  - even for columns not specified in payload. Also, it is based on primary key being present.
I would be better to move the update method to a replace method.  This reflects better what it actually does.
Then change the behaviour of update to do a batch update - allowing to pass in a filter.
This feels more natural and is in line with other ORMS.
Something like this:
db.user.update({
  is_banned: true
}, {
  where: x => x.id.eq(user_id)
})

That's a great change proposal 🎉


[Go Live][30 May 2022]

Docs Build status updates of commit 811ee24:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/get-started/get-started-overview.md
:white_check_mark:Succeeded
View

msteams-platform/get-started/glossary.md
:white_check_mark:Succeeded
View

msteams-platform/overview-explore.md
:white_check_mark:Succeeded
View

msteams-platform/overview-solution.md
:white_check_mark:Succeeded
View

msteams-platform/overview-story.md
:white_check_mark:Succeeded
View

msteams-platform/overview.md
:white_check_mark:Succeeded
View

msteams-platform/whats-new.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Adds SoapUrl as a config setting in ZuoraConfig, and a member of ZuoraSe...

...ssion.  A statically typed SoapUrl was disabling users of the project from hitting the right endpoint, as the hard-coded SoapUrl was overriding the endpoint in the SoapRequestManager.  As a result of this, querying fields in Zuora found in later versions of their WSDL would return errors, the hard-coded version was 54.0 and as of today we are at 64.0

This looks great! It would probably be a good idea to add a default value if SoapUrl is not set. That way we don't hard deprecate anyone else that is currently using it.

Thank you.  You're right, will get that updated soon!

++, love it

Added the update, thanks!

This has been merged and Nuget has been updated. I apologize for the delay, being a new dad takes a lot of time, haha.

Hi Michael,
Thank You, it is much appreciated!
Best regards,
Yousef Elreda
Sent from my iPhone

On Feb 2, 2015, at 8:52 AM, Michael Shattuck<EMAIL_ADDRESS>wrote:
This has been merged and Nuget has been updated. I apologize for the delay, being a new dad takes a lot of time, haha.
—
Reply to this email directly or view it on GitHub.

No worries, thank you!


[zh]Url of minikube is incorrect in task-tutorial-prereqs.md

Signed-off-by: yuandongx<EMAIL_ADDRESS>

/lgtm
/approve

/lgtm
/approve


How to provision taxonomy through code?

Hi, guys. I've read some topics and some classes
https://github.com/GSoft-SharePoint/Dynamite/wiki/How-to-break-up-your-solution-in-many-Visual-Studio-projects-with-their-own-responsibilities
https://github.com/GSoft-SharePoint/Dynamite#c2-initialize-your-term-store
https://github.com/GSoft-SharePoint/Dynamite/tree/91cdefb6a6434afec3130aa8acc759a81550d582/Source/GSoft.Dynamite/Taxonomy
but didn't found how to provision my taxonomy tree to my ManagedMetadata Service through code? I wonna do timer job that would be update and populate my taxonomy from SQL, but dunno how Dynamite can help with this. So, is it possible to do with dynamite?

Is SharePoint Dynamite dead?

No one is adding new features or addressing issues, so in short, yes it's dead. If you wish to work on it, feel free to fork this project.
Thank you

It would be great to understand how I may use Dynamite before fork anything. I found useful the concept and structure sharepoint solutions, but I do same (mostly) without Dynamite. So, most important thing is can I use it like ORM to map my business objects to SharePoint entities like Taxonomy Terms for example?
PS: I found SharePoint Dynamite quite useful in general, but is there any another alternatives to this? For example, SPMeta2 good for provisioning objects, but not for ORM. Linq To SharePoint is deprecated as I know.

Hi, sorry for not getting back to you sooner @VerdonTrigance.
The specific scenario you are looking for isn't supported (i.e. provisioning new term groups & terms sets through C#). The only tools we typically used for initializing the term store (back when this project was active) are PowerShell-based, as you must have gathered by now.
Indeed, one of Dynamite's nicest features is Taxonomy-column-mapped entity properties (the ORM-lite functionality you seem to be using).
When dealing with taxonomy APIs, I would inevitably want to deal with my own TaxonomySession and all the basic SharePoint server-side API therein. These APIs aren't too painful to interact with (in SharePoint land, relatively speaking), but mastering all the Term Store's features and gotcha's takes quite a while. Explore Gary Lapointe's SharePoint Cmdlets codebase to get the hang of it - I'd start here: https://github.com/GSoft-SharePoint/PowerShell-SPCmdlets/blob/master/Lapointe.SharePoint2010.PowerShell/Common/ManagedMetadata/ImportTerms.cs
Hope that kinda helps. Good luck!

Thank you for answer. I guess I may combine SPMeta2 and Dynamite in my solutions because SPMeta2 provisioning is extremely simple and clean in most cases with next interacting and consuming those objects in Dynamite.


Support getbufinfo() as a method

This PR tries to allow getbufinfo() to be used as a method; that's already possible for the similar functions getwininfo() and gettabinfo().  I don't know C; I just copied the PR #6176.

Fixed by https://github.com/vim/vim/commit/6434fc574dfbde11461e70e5a62712370edf38e6.


Support SQL statements that return no results

Adds support for statements such as insert, update etc which do not return any rows.
engine.execute is deprecated and so execution has been updated to use connection.exec_driver_sql as-per:
https://docs.sqlalchemy.org/en/14/core/connections.html#sqlalchemy.engine.Engine.execute

looks good to me, module some of the lint stuff :/


884 error on terraform env var with config file

This is an intent to fix https://github.com/infracost/infracost/issues/884.
The CLI errors if any of the project options (terraform-*, path, and usage-file) are used in conjunction with the --config-file flag independent of the use of environment variables or flags.
This PR fixes another small bug: Do not override env var with empty flags

Old behavior: if a flag is passed to the command all options from env variable were overridden
New behavior: we merge value from flags and env. variables following the documented precedence (https://www.infracost.io/docs/multi_project/config_file#precedence)

Any feedback welcome.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Antoine Joulie seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks @ajoulie 🙌 . This inspired me to add some initial golden tests for these cases in #981 and this PR passes them perfectly!


Adding Tsop752 Infrared Receiver (UART)

Coverage remained the same at 77.109% when pulling 580f3a9f06f903f20bca14bfe4ea94533a266b4d on HuangDave:ir_sensor into b60be9e66b3ec1b904e12f800f22ecae4f8635bb on kammce:master.

Reopen when you update this.


Repos are supposed to be public

@mirzaim is there a reason your repo is private?  The default for cas741 is public.  You need to have a justification if it isn't public.

Hi @smiths.
Thanks for mentioning that. It was just out of habit.
I make the repo public.

Great!


chore: added Nick's valibot blog post

Description
Brings over https://dev.to/opensauced/valibot-a-new-approach-to-data-validation-in-javascript-1mgb to the docs site.
Related Tickets & Documents
Relates to #328
Mobile & Desktop Screenshots/Recordings

Steps to QA

Ensure the blog post loads at https://deploy-preview-331--saucedocs.netlify.app/community-resources/valibot-a-new-approach-to-data-validation-in-javascript/

Tier (staff will fill in)

[ ] Tier 1
[ ] Tier 2
[ ] Tier 3
[x] Tier 4

[optional] What gif best describes this PR or how it makes you feel?

I've updated the Canonical URL on the dev.to blog post.


Error referencing not existing package eslint.config

Issue Type: Bug
I have a project that reference the node package tippy.js.
In VS Code the eslint extension complains about extending a not existent eslint.config in the package:
[Error - 6:24:32 AM] ESLint stack trace:
[Error - 6:24:32 AM] Error: Failed to load config "./.config/eslint.config" to extend from.
Referenced from: D:\Project\node_modules\tippy.js\package.json
    at configMissingError (D:\Project\node_modules\eslint\lib\cli-engine\config-array-factory.js:282:9)
    at ConfigArrayFactory._loadExtendedShareableConfig (D:\Project\node_modules\eslint\lib\cli-engine\config-array-factory.js:858:23)
    at ConfigArrayFactory._loadExtends (D:\Project\node_modules\eslint\lib\cli-engine\config-array-factory.js:763:25)
    at ConfigArrayFactory._normalizeObjectConfigDataBody (D:\Project\node_modules\eslint\lib\cli-engine\config-array-factory.js:702:25)
    at _normalizeObjectConfigDataBody.next (<anonymous>)
    at ConfigArrayFactory._normalizeObjectConfigData (D:\Project\node_modules\eslint\lib\cli-engine\config-array-factory.js:647:20)
    at _normalizeObjectConfigData.next (<anonymous>)
    at ConfigArrayFactory.loadInDirectory (D:\Project\node_modules\eslint\lib\cli-engine\config-array-factory.js:495:28)
    at CascadingConfigArrayFactory._loadConfigInAncestors (D:\Project\node_modules\eslint\lib\cli-engine\cascading-config-array-factory.js:355:46)
    at CascadingConfigArrayFactory.getConfigArrayForFile (D:\Project\node_modules\eslint\lib\cli-engine\cascading-config-array-factory.js:276:18)

The tippy.js module package.json contains the following lines:
  "eslintConfig": {
    "extends": "./.config/eslint.config"
  },

but the subdirectory .config is missing.
Besides the annoying notification, all seems to work.
I opened an issue to the package maintainer to fix the reference, but could eslint extension simply ignore the error?
Thanks for reading!
mario
Extension version: 2.1.5
VS Code version: Code 1.45.1 (5763d909d5f12fe19f215cbfdd29a91c0fa9208a, 2020-05-14T08:27:35.169Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz (8 x 2904)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.81GB (7.79GB free)

Process Argv
D:\Projects\IdeaIgniterEnvironment\IdeaIgniterEnvironment.code-workspace

Screen Reader
no

VM
0%

Running eslint externally show no error.

The issue for tippy.js here states it is not a package problem, but eslintConfig in package.json should be ignored by eslint extension.

The ESLint extension doesn't read any config by itself. It fully relies on the behavior of eslint itself (e.g. https://eslint.org/)
Does the validation happen correctly when you use eslint in the terminal. If this is the case can you please provide me with a GitHub repository I can clone that demos what you are experiencing.

Embarrassing. The error no longer appears. I have only rebooted and restarted VS Code. Anyway, if it reappears, sure I will reopen this issue.
Thanks for the patience!
mario

I'm seeing this locally too:
[Error - 8:22:03 AM] ESLint stack trace:
[Error - 8:22:03 AM] Error: Failed to load config "./node_modules/kcd-scripts/eslint.js" to extend from.
Referenced from<EMAIL_ADDRESS>    at configMissingError (/Users/dave/workspace/pixelbin/node_modules/eslint/lib/cli-engine/config-array-factory.js:282:9)
    at ConfigArrayFactory._loadExtendedShareableConfig (/Users/dave/workspace/pixelbin/node_modules/eslint/lib/cli-engine/config-array-factory.js:858:23)
    at ConfigArrayFactory._loadExtends (/Users/dave/workspace/pixelbin/node_modules/eslint/lib/cli-engine/config-array-factory.js:763:25)
    at ConfigArrayFactory._normalizeObjectConfigDataBody (/Users/dave/workspace/pixelbin/node_modules/eslint/lib/cli-engine/config-array-factory.js:702:25)
    at _normalizeObjectConfigDataBody.next (<anonymous>)
    at ConfigArrayFactory._normalizeObjectConfigData (/Users/dave/workspace/pixelbin/node_modules/eslint/lib/cli-engine/config-array-factory.js:647:20)
    at _normalizeObjectConfigData.next (<anonymous>)
    at ConfigArrayFactory.loadInDirectory (/Users/dave/workspace/pixelbin/node_modules/eslint/lib/cli-engine/config-array-factory.js:495:28)
    at CascadingConfigArrayFactory._loadConfigInAncestors (/Users/dave/workspace/pixelbin/node_modules/eslint/lib/cli-engine/cascading-config-array-factory.js:355:46)
    at CascadingConfigArrayFactory._loadConfigInAncestors (/Users/dave/workspace/pixelbin/node_modules/eslint/lib/cli-engine/cascading-config-array-factory.js:374:20)

In this case kcd-scripts is a dev-dependency of @testing-library/dom and so not installed. Running eslint directly from the command line shows no errors. It looks like simply importing something from @testing-library/dom causes the issue. This is a demonstration repository: https://github.com/Mossop/vscode-eslint-974


Drop EGL from wlr_renderer_autocreate

Fixes #2563, requires https://github.com/swaywm/wlroots/pull/2613

Also, I think we can drop the <wlr/render/egl.h> include from include/wlr/render/wlr_renderer.h.

Also, I think we can drop the <wlr/render/egl.h> include from include/wlr/render/wlr_renderer.h.

I dropped the egl.h header from the wlr_renderer one, but it's required in the backends when getting the wlr_egl from the wlr_gles_renderer.

I dropped the egl.h header from the wlr_renderer one, but it's required in the backends when getting the wlr_egl from the wlr_gles_renderer.


Backport prevector fixes

Merging fixes for prevector (this class is used in serialization) from bitcoin master branch.

utACK


LaunchActivatedEventArgs.Arguments property is always null

This page should say that this property is not supported and always null. (It's only non-null in a UWP app, which is only supported in the 1.0.0-experimental1 release, not 1.0.0-stable).

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

ID: 4b6986a0-a2dc-e277-7b70-5b81a941ea2b
Version Independent ID: 9375bdc8-cf6c-6978-c286-f1ae88f2a64a
Content: LaunchActivatedEventArgs.Arguments Property (Microsoft.UI.Xaml) - WinUI
Content Source: winui-api-build/xml/Microsoft.UI.Xaml/LaunchActivatedEventArgs.xml
Product: reunion
Technology: winui-reference
GitHub Login: @Karl-Bridge-Microsoft
Microsoft Alias: kbridge

Topic has been updated.


shields.io down?

I see no more badges on http://shields.io/
# wget https://img.shields.io/pypi/dm/Django.sv
--2015-06-16 15:06:19--  https://img.shields.io/pypi/dm/Django.sv
Resolving img.shields.io (img.shields.io)... <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>
Connecting to img.shields.io (img.shields.io)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-06-16 15:07:14 ERROR 404: Not Found.

Same here

There was some disruption this morning because of Heroku's requirements, but it should be fine now.

Yes, bades seem to come back, thanks, closing.


[SPARK-5545][STREAMING] DStream#saveAs**Files can fail after app restart...

...s.
This happens when an RDD is partially written when the driver fails. At this point,
the directory that the RDD is being written to gets reused when the app restarts.
This can cause the write to fail, since the underlying MR API does not allow writing
to a directory that already exists.
This PR introduces a new method in RDD.scala that allows overwriting any existing data
in a directory. This method is prive[spark] and is used by Spark Streaming to overwrite
any data present in the directory.

Test build #26581 has started for   PR 4322 at commit dd73fe0.

This patch merges cleanly.

Test build #26581 has finished for   PR 4322 at commit dd73fe0.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26581/
Test FAILed.

Test build #26582 has started for   PR 4322 at commit ea2d490.

This patch merges cleanly.

This seems similar to #3832  / https://issues.apache.org/jira/browse/SPARK-4835.

Test build #26582 has finished for   PR 4322 at commit ea2d490.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26582/
Test FAILed.

Jenkins, test this please

Test build #26606 has started for   PR 4322 at commit ea2d490.

This patch merges cleanly.

Was already fixed by #3832

Test build #26606 has finished for   PR 4322 at commit ea2d490.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26606/
Test PASSed.


Not all files are searchable?

I'm in a rather large monorepo, and it seems the max number of files indexed is 6505.
My monorepo has multiples of tens of thousands of files 🙃
But anywho, I can type in full paths in to the smart-open box, and the file won't show up.

Update:
ah ha, I found this in the README:

max_unindexed (default: 6500)

Stop scanning the current directory when max_unindexed files have been found. This limit is in place to prevent performance problems when run from a directory with an excessive number of files under it.

So I need to make this something like 100_000 🙃

tho, it says max un-indexed. once files are indexed, shouldn't it scan the next batch of 6500?

Files aren't indexed until they've been put into the database, and that doesn't happen unless they've been opened.  I will make a note to make this clearer in the docs.  Thanks for your report.
The 6500 number was (in my tests) a good balance between performance and thoroughness.  The reason for having a limit is that if someone opens the plugin in, say, the root directory, it will scan a huge number of files, tanking performance.
We're sourcing our list of files from two different sources mainly:

a database, which is populated from files you've opened
a recursive file scan of the cwd

There is no background process that indexes your directories, while possible, it's challenging for all the usual reasons.  It would likewise be challenging to update this index while doing a scan and keep everything performant and up to date unfortunately.  If anyone can come up with a way, I'd take that PR of course 😁

could background indexers run while the file search window is open? and then cancel / persist upon close of the window -- doing a final update based on the selection?
I guess, I don't know if lua offers this sort of behavior -- javascript doesn't even have cancellable promises :upside_down_face:
(but there are cancellable abstractions, like https://ember-concurrency.com/docs/introduction/)

The goal of this plugin is primarily speed.  The picker should show quickly.  It should give you the files you're most likely to want with the least amount of typing and moving between items because those things are slow.  Even the idea behind using a single keybinding is so that you can reflexively pop it up and jump to something immediately without having to think about whether it's in your recent files, some list of favorites, your buffer list, or in your project etc.
After a couple experiments, I see a couple issues:

Allowing unlimited numbers of files makes for slow matching.  Neither native_fzy nor fzf are very responsive when you allow file counts over 10 or 20k, and it just gets worse the more that are added.  This is particularly a problem for someone who opens up neovim in their home directory, because it's bound to scan a huge number of files and bog everything down, making the use case of "quickly switching between buffers" just impossible.
With large directories, it can take several seconds to build a file list. While this will vary widely based on disk speeds, I'm seeing ~1sec/100k files.  However, we want the popup to show results in well under a second, so we'd want to figure out something here.  Also, loading a large set of files all at once seems to create enough I/O that telescope's previewer often times out for previewing that initial file.

Does this mean it's impossible to support larger repositories?  Well no, but as it is, the default max_unindexed option value allows the primary goal to still work for the more common cases.  And if you want to open neovim from the base directory of a large monorepo, you can just increase this option and accept that it will bog down the experience in such large repos (as well as in directories higher up such as ~ and /)
It should even be possible to remove the option of max_unindexed altogether.  We'd just have to figure some things out:

We'd want to throttle (but not limit) the directory scan a little, so it allows telescope enough time to display some preliminary results along with a preview.
As more files get scanned, they should be updated "live" in the picker, in proper ranking order.
fzy/fzf are doing too much work on matching strings.  There needs to be some way of cutting down on the number of files that the match algorithm has to work with on each new keystroke.

If someone can solve these 3 problems, we'd have a great solution, but I don't think I'd be up for doing that any time soon.  Looking for a contribution here.

An update on this: I've started working on the problem and I think it's possible to use a combination of performance optimizations and the new multithreading support to scale up the amount of files we can search.  This will probably take some time to get right, but it now appears to be possible to handle at least 100k file entries.

Excitement!

I've just pushed a 0.2.x branch which removes max_unindexed and uses multithreading to support larger directories.  Of course it's still possible for the searching to be somewhat slower, but it no longer feels unresponsive since keystrokes can be registered.
Anyway, there are a lot of changes in this branch, so I'm hoping to get some more usage testing on it before releasing it.  So if you could try it out, I'd appreciate it.
(It has a couple other changes as well that are likewise experimental, such as a different way of formatting entries.)

Thanks for doing that!
So, I finally got around to testing that branch, and one off thing I noticed was that the list of results always seems capped:
https://user-images.githubusercontent.com/199018/226700850-122c350a-3293-45b4-b545-0a34138dd90f.mp4

Thanks for getting back.  I think even in the previous version I was capping the result limit because telescope appeared to be slower with larger result sets.  Would it work if we just increased the cap?  (The way I figure it, if you have to scroll up the 100th item, the search isn't really doing you any favors in the first place...)
Incidentally, one of the biggest (if not the biggest) slowdowns for searching larger amounts of entries was surprisingly the time it takes to sort all items after ranking them.  Largely due to lua's multithreading limitations, sorting has to take place on the main thread, so limiting the amount of results speeds it up.

It seems on the v2 branch I have duplicate results? :upside_down_face:

This is weird behavior.  I'm using the v2 branch myself and haven't experienced this yet so I'm not sure.  Any ideas what might be the cause, such as anything out of the ordinary about the directory you're working in etc.?  Also strange that you have a blank entry there.

Something else I noticed -- I'm getting results  from beyond my CWD/PWD. Is there a config to not allow that? I only want searching to be scoped to my CWD. :thinking:
It feels like the v2 branch is missing functionality from the regular branch.
Here is my config: https://github.com/NullVoxPopuli/dotfiles/blob/main/home/.config/nvim/lua/plugins/finding.lua#L18-L41

Any ideas what might be the cause, such as anything out of the ordinary about the directory you're working in etc.?

not really, just a github repo monorepo with some javascript projects that uses github actions

new computer, new repos to test on -- will keep ya updated on my v2 explorations (I only have the v2 branch specified locally)
Current config:
  use {
    "danielfalk/smart-open.nvim",
    branch = '0.2.x',
    config = function()
      local telescope = require('telescope')

      telescope.load_extension("smart_open")
      -- telescope.load_extension('fzy_native')
      telescope.setup({
        extensions = {
          smart_open = {
            cwd_only = true,
            max_unindexed = 50000,
            ignore_patterns = {
              "*.git/*", "*/tmp/",
              "*/vendor/",
              "*/dist/*",  "*/declarations/*", "*/node_modules/*"
            }
          },
          -- fzy_native = {
          --   override_generic_sorter = false,
          --   override_file_sorter = true,
          -- }
        }
      })
    end,
    requires = {
      -- "nvim-telescope/telescope-fzy-native.nvim",
      "nvim-telescope/telescope.nvim",
      -- sudo apt install sqlite3 libsqlite3-dev
      "kkharji/sqlite.lua",
      "kyazdani42/nvim-web-devicons"
    }
  }

It's on my TODO list to fix what's causing this, assuming we can find a cause.  I think it must be some sort of race, but I'm not sure.  Once this is fixed, I can start recommending 0.2.x for everyone.

I think I figured it out.  The latest 0.2.x branch should have a fix for this, and @NullVoxPopuli  you also should be able to use your config snippet above to configure cwd_only, if you want to check it out and let me know if that works!


Implement constructs extensions

Fixes #191

I love the idea!
I don't have a clear idea of what the ideal solution would be but here are some thoughts to get the discussion started around this.
Do we want to expose Cloudformation properties? Or would it be possible to expose underlying CDK properties? I guess the latter is harder because not everything is a property, some things need to be created as separate objects or as method calls.
From a Lift developer perspective, wouldn't it be more friendly to have a generic way to expose and merge config built in the provider instead of each individual construct?
Would this be as resources.extensions in Serverless framework? I now that in sls, the extensions are only replacing keys at the first level. This would be problematic for Lift as some Cloudformation resources are poorly designed on AWS side like Cloudfront distributions that have a single DistributionConfig key in properties.
Overriding the static website or server-side website would get way harder as you would need to redifine every property to make it work with undermines the benefits of using Lift.

Would this be as resources.extensions in Serverless framework? I now that in sls, the extensions are only replacing keys at the first level. This would be problematic for Lift as some Cloudformation resources are poorly designed on AWS side like Cloudfront distributions that have a single DistributionConfig key in properties. Overriding the static website or server-side website would get way harder as you would need to redifine every property to make it work with undermines the benefits of using Lift.

Thanks for your feedback @t-richard :) I made Lift's API to provide extensions entry point as simple to enrich as possible. I now completed first version of this PR for you and @mnapoli to have a deeper look on the internals. Additional entry point can easily be added for the extensions as use cases pops up.
For exemple, if you want to provide for Lift users at later stage an option to extend the OriginRequestPolicy of the underlying CloudFormation resource within server-side-website construct, you'll "just" have to add the following line in the extend method of the construct :
    extend(): Record<string, CfnResource> {
        return {
            distribution: this.distribution.node.defaultChild as CfnDistribution,
            originRequestPolicy: this.originRequestPolicy.node.defaultChild a CfnCachePolicy
        };
    }

More complex selector that the defaultChild of each CDK node can be used to reference the underlying in depth resources of the CloudFormation template. Would welcome any PR in a second stage implementing those to ensure no extensions requires a whole bunch of Lift best practice to be reimplemented manually ;)


Trigger for Nov 2023

Pushing an empty commit just like https://github.com/reddit/thrift-compiler/commit/1110ef3ee0b21f52be4003890ca8c4d05e8f179e to trigger workflow

ok looks like squash and merge actually works.

It worked! Thank you for looking into it!